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
Port moveit_ros_warehouse #273
Port moveit_ros_warehouse #273
Conversation
e1beb14
to
cc982c0
Compare
Codecov Report
@@ Coverage Diff @@
## main #273 +/- ##
=======================================
Coverage 47.64% 47.64%
=======================================
Files 154 154
Lines 14844 14844
=======================================
Hits 7073 7073
Misses 7771 7771 Continue to review full report at Codecov.
|
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION} | ||
TARGETS ${MOVEIT_LIB_NAME} | ||
EXPORT ${MOVEIT_LIB_NAME} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on this page - https://index.ros.org/doc/ros2/Tutorials/Ament-CMake-Documentation -- I think you are supposed to use "export_${MOVEIT_LIB_NAME}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the export
prefix is necessary. This has been corrected. Thanks for pointing out!
ros::AsyncSpinner spinner(1); | ||
spinner.start(); | ||
rclcpp::executors::StaticSingleThreadedExecutor executor; | ||
executor.add_node(node); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so - just a note - this changes the threading behavior from ROS1 - there would be 2 threads in ROS1, not sure if this leads to any blocking/deadlock at runtime.
rclcpp::init(argc, argv); | ||
rclcpp::NodeOptions node_options; | ||
node_options.allow_undeclared_parameters(true); | ||
node_options.automatically_declare_parameters_from_overrides(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
long term, it would be good to move away from needing this - the introspection of parameters is very useful.
a5090ba
to
234131e
Compare
f928711
to
8491891
Compare
@lilustga This adds a dependency to https://github.com/ros-planning/warehouse_ros/tree/ros2. Could you check if this works on Windows, or how we could fix this? Exporting |
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test worked for me, thank you.
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_context.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_context.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_context.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_objects.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_states.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_states.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_states.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_states.cpp
Outdated
Show resolved
Hide resolved
1bd7905
to
f7fb724
Compare
f7fb724
to
275c0ee
Compare
Co-authored-by: Tyler Weaver <squirrel428@protonmail.com> Co-authored-by: Jack <jack.center@picknik.ai> Co-authored-by: Cassidy Elliott <cassidy@picknik.ai> Co-authored-by: Mike Lautman <mikeblautman@gmail.com>
Description
This PR intends to port moveit_ros_warehouse to ROS2.
Depends on warehouse_ros PR#48 and warehouse_ros_mongo PR#38.
Run tests:
ros2 launch run_move_group run_move_group.launch.py
Context
tab of motion planning rviz panel, clickconnect
button to connect to the mongodb server.Checklist