-
Notifications
You must be signed in to change notification settings - Fork 21
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
Migration to Humble #77
Conversation
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Thanks for the fix. I was facing this issue when running with I just tested this on [Processing: rmf_building_sim_gazebo_plugins, rmf_robot_sim_gazebo_plugins]
--- stderr: rmf_robot_sim_gazebo_plugins
/home/youliang/openrmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gazebo_plugins/src/readonly.cpp: In member function ‘virtual void ReadonlyPlugin::Load(gazebo::physics::ModelPtr, sdf::v9::ElementPtr)’:
/home/youliang/openrmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gazebo_plugins/src/readonly.cpp:63:62: error: no matching function for call to ‘gazebo_ros::Node::Get(sdf::v9::ElementPtr&, const string&)’
63 | _readonly_common->init(gazebo_ros::Node::Get(sdf, node_name));
| ^
In file included from /home/youliang/openrmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gazebo_plugins/src/readonly.cpp:21:
/opt/ros/galactic/include/gazebo_ros/node.hpp:53:20: note: candidate: ‘static gazebo_ros::Node::SharedPtr gazebo_ros::Node::Get()’
53 | static SharedPtr Get();
| ^~~
/opt/ros/galactic/include/gazebo_ros/node.hpp:53:20: note: candidate expects 0 arguments, 2 provided
/opt/ros/galactic/include/gazebo_ros/node.hpp:87:20: note: candidate: ‘static gazebo_ros::Node::SharedPtr gazebo_ros::Node::Get(sdf::v9::ElementPtr)’
87 | static SharedPtr Get(sdf::ElementPtr _sdf);
| ^~~
/opt/ros/galactic/include/gazebo_ros/node.hpp:87:20: note: candidate expects 1 argument, 2 provided
/home/youliang/openrmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gazebo_plugins/src/TeleportDispenser.cpp: In member function ‘virtual void rmf_robot_sim_gazebo_plugins::TeleportDispenserPlugin::Load(gazebo::physics::ModelPtr, sdf::v9::ElementPtr)’:
/home/youliang/openrmf_ws/src/rmf/rmf_simulation/rmf_robot_sim_gazebo_plugins/src/TeleportDispenser.cpp:201:42: error: no matching function for call to ‘gazebo_ros::Node::Get(sdf::v9::ElementPtr&, const string&)’
201 | gazebo_ros::Node::Get(_sdf, node_name)); From here, After checking further the SharedPtr Get(
sdf::ElementPtr _sdf,
const std::string & _defaultNamespace); This missing api can be validated by checking the branch new rmf docker img with docker run -it ghcr.io/open-rmf/rmf_deployment_template/rmf-simulation:galactic
cat /opt/ros/galactic/include/gazebo_ros/node.hpp In this case, I believe the apt bin package for |
Thanks for trying this out @youliangtan! I guess the changes in I suspect even when it does get released, namespacing the nodes would lead to other problems. I just checked and there is already a Edit: |
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Dispensers now work 🎉 |
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
.github/workflows/asan.yaml
Outdated
vcs-repo-file-url: | | ||
https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos | ||
https://raw.githubusercontent.com/open-rmf/rmf/humble-image/rmf.repos |
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.
Reminder to self, revert this
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.
Its one of the checkboxes in the PR description.
Signed-off-by: Yadunund <[email protected]>
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.
Alright let's do it! Will make a followup PR to change the github action back to main
once the main RMF repo is updated.
Signed-off-by: Luca Della Vedova <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
Fix #76
🛑 Package renaming 🛑
This PR also switches to unique node names required for
gazebo_ros
nodes inhumble
. It effectively makesmain
compatible withhumble
and breaks behavior withgalactic
builds. A separategalactic-devel
branch has been created which will supportgalactic
builds.humble_plugins.mp4
This should be merged in after all other changes that are compatible with galactic are merged into
main
and then subsequently mergingmain
intogalactic-devel
Merge checklist:
main
intogalactic-devel
Caveat
The changes here should still compile with
galactic
but the behaviour might be different since the node name string passed in will be processed as thenamespace
as seen here. I haven't tested the runtime behavior on galactic but I'd expect the node to now be namespaced and hence also the topics published and subscribed to. If that is the case, then this would break demo behavior and we should consider creating agalactic
tag of this repo before merging into main.Signed-off-by: Yadunund [email protected]