how to upgrade launch_ros
Hi there, I am new to ros and i am learning ros2 following the tutorials, i failed to reproduce the tutorial "Building a Visual Robot Model with URDF from Scratch" on "https://docs.ros.org/en/foxy/Tutorial...", and the reason is the version of launch_ros i am using is 0.11.4 but it seems this tutorial is based on version 0.15.0 (https://github.com/ros2/launch_ros/tags), actually the specific reason is ParameterValue is not defined in version 0.11.4. I am wondering how to solve this? thanks
The tutorial should probably be adapted to Foxy. You can try building
launch_ros
from source using thegalactic
ormaster
branch (you'll probably need to buildlaunch
as well), but you shouldn't have to do that. I opened an issue on the ROS 2 documentation repo: https://github.com/ros2/ros2_document...thanks chris, i tried every previous tutorials and they are working fine. i didn't build launch_ros from source manually because i am worrying about the dependencies might be corrupted, am i right? or should i just wait for the feedback from the issue you post?
yeah, usually, it's a very bad idea, but in this case
launch
andlaunch_ros
are kind of separate from the actual ROS 2 code, so it might just work. Just make sure you build bothlaunch
andlaunch_ros
from source.The feature (
ParameterValue
) was just backported to Foxy in https://github.com/ros2/launch_ros/pu..., so this should be fixed whenever the next Foxy patch is released (possibly early December 2021). In the meantime, you can buildlaunch
andlaunch_ros
from source using thefoxy
branch and it should work.that's great, thanks so much, chris!