Closed NebuDa closed 2 years ago
The problem is in your parameters, here:
max_position: !degrees 360.0
That is definitely a string, and it looks like MoveIt is declaring that as a double. With Galactic and later, that won't work; we automatically check the types now. My guess is that MoveIt changed between Foxy and Galactic, and something else in your configuration has to change.
Given that this is almost certainly not a problem in rviz2, I'm going to close this. I'll suggest asking a question on https://answers.ros.org about this, tagged with MoveIt, or opening an issue on the MoveIt repository at https://github.com/ros-planning/MoveIt2
I have built ROS2 Galactic, Moveit2 and Main Branch of UR Driver https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver on Ubuntu. By starting like the tutorial from driver with MoveIt I got the following error on different parameters:
It comes from a yaml File like this:
And loaded in a Launch File:
Is there anything wrong with the Launch File, Ubuntu or ROS2 configuration, that it tries to load it as string?
Perhaps it could have something to do with it: I am not allowed now to publish a double with to_string to the RCLCPP Logger. It was absolutely working under Foxy on the same Machine.
RCLCPP_INFO(LOGGER, std::to_string(q.x()));
This Issue is also posted in the UR Driver Repository here https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/issues/265 but I thought it could be a problem in RViz.