-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
follow joint trajectory action #403
Comments
Same issue here. Did you find any solution? |
I didn't find any quick solution, so I decided to port all my code in ROS2 and not use ros1_bridge |
#256? |
I assumed it was merged with the main repo. But apparently it is not. I tried cloning the fork repo from here https://github.com/ipa-hsd/ros1_bridge.git. --- stderr: ros1_bridge
In file included from /home/mfi/repos/ros2_ws/src/ros1_bridge/src/dynamic_bridge.cpp:38:
/home/mfi/ros2_humble/install/rclcpp/include/rclcpp/rclcpp/scope_exit.hpp:24:2: warning: #warning rclcpp/scope_exit.hpp has been deprecated, please use rcpputils/scope_exit.hpp instead [-Wcpp]
24 | #warning rclcpp/scope_exit.hpp has been deprecated, please use rcpputils/scope_exit.hpp instead | ^~~~~~~
In file included from /home/mfi/repos/ros2_ws/src/ros1_bridge/src/dynamic_bridge.cpp:40:
/home/mfi/ros2_humble/src/ros2/rcutils/include/rcutils/get_env.h:25:2: warning: #warning rcutils/get_env.h has been deprecated, please include rcutils/env.h instead [-Wcpp]
25 | #warning rcutils/get_env.h has been deprecated, please include rcutils/env.h instead
| ^~~~~~~
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__ComplexIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__BasicIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/parameter_bridge.dir/build.make:507: parameter_bridge] Error 1
make[1]: *** [CMakeFiles/Makefile2:342: CMakeFiles/parameter_bridge.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__ComplexIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__BasicIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/static_bridge.dir/build.make:507: static_bridge] Error 1
make[1]: *** [CMakeFiles/Makefile2:316: CMakeFiles/static_bridge.dir/all] Error 2
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__ComplexIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: libros1_bridge.so: undefined reference to `ros1_bridge::get_factory_rosbag2_storage_mcap_testdata__msg__BasicIdl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/dynamic_bridge.dir/build.make:507: dynamic_bridge] Error 1
make[1]: *** [CMakeFiles/Makefile2:368: CMakeFiles/dynamic_bridge.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
---
Failed <<< ros1_bridge [2min 49s, exited with code 2]
Summary: 0 packages finished [2min 49s]
1 package failed: ros1_bridge
1 package had stderr output: ros1_bridge |
If I pull the changes made in the PR 256, I still am not able to compile. |
The signature of goal_response_callback changed in humble. I'm working on a PR and still need to do a proper test. Something like the following worked in a brief test with noetic/humble on 22.04, with noetic in a conda env.
|
I've gotten the action bridge working well enough with Noetic/Humble to execute motions on a motoman HC10. (I know there's a ros2 motoman driver, but it is currently set up for ros1). It's still a wip and I wouldn't trust it for anything serious. https://github.com/smith-doug/ros1_bridge/tree/action_bridge_humble |
Hi all,
is there anyone that has tried to use a server action on ros2 to communicate with client action on ros1?
I'm trying to use ros2_control framework with follow joint trajectory action server. I would connect to the same action with move_group client on ros1.
Have you got any ideas?
Any suggestions will be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: