ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

FlorianSp's profile - activity

2023-06-28 09:23:16 -0500 received badge  Nice Answer (source)
2023-06-27 21:10:53 -0500 marked best answer MoveIt!2 UR Driver: Parameter has invalid type

I have built ROS2 Galactic, Moveit2 and Main Branch of UR Driver https://github.com/UniversalRobots/Un... on Ubuntu. By starting like the tutorial from driver with MoveIt I got the following error on different parameters:

[rviz2-3] [INFO] [1639652465.916282193] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00852234 seconds
[rviz2-3] [INFO] [1639652465.917162913] [moveit_robot_model.robot_model]: Loading robot model 'ur'... 
[rviz2-3] [ERROR] [1639652465.936346953] [moveit_background_processing.background_processing]: Exception caught while processing action 'loadRobotModel': parameter 'robot_description_planning.joint_limits.shoulder_pan_joint.max_position' has invalid type: Wrong parameter type, parameter {robot_description_planning.joint_limits.shoulder_pan_joint.max_position} is of type {double}, setting it to {string} is not allowed.

It comes from a yaml File like this:

joint_limits:   shoulder_pan_joint:
    # acceleration limits are not publicly available
    has_acceleration_limits: false
    has_effort_limits: true
    has_position_limits: true
    has_velocity_limits: true
    max_effort: 330.0
    max_position: !degrees  360.0
    max_velocity: !degrees  120.0
    min_position: !degrees -360.0
       shoulder_lift_joint:
    # acceleration limits are not publicly available
    has_acceleration_limits: false
    has_effort_limits: true
    has_position_limits: true
    has_velocity_limits: true
    max_effort: 330.0
    max_position: !degrees  360.0
    max_velocity: !degrees  120.0
    min_position: !degrees -360.0   elbow_joint: [....]

And loaded in a Launch File:

[....] 
description_package = LaunchConfiguration("description_package") 
[....] 
joint_limit_params = PathJoinSubstitution(   [FindPackageShare(description_package), "config", ur_type, "joint_limits.yaml"]) 
[....] 
robot_description_content = Command(
       [ [....] " ",
           "joint_limit_params:=",
           joint_limit_params,
           " ",[....]   ]) 
robot_description = {"robot_description": robot_description_content} 
[....] 
rviz_config_file = PathJoinSubstitution(    [FindPackageShare(moveit_config_package), "rviz", "view_robot2.rviz"] ) 
rviz_node = Node(    
    package="rviz2",
    condition=IfCondition(launch_rviz),
    executable="rviz2",
    name="rviz2_moveit",
    output="log",
    arguments=["-d", rviz_config_file],
    parameters=[
       robot_description,
       robot_description_semantic,
       ompl_planning_pipeline_config,
       robot_description_kinematics,
       robot_description_planning,
       octomap_config,
       octomap_updater_config,]
    ,)
[....]

Is there anything wrong with the Launch File, Ubuntu, MoveIt!2 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()));

2023-06-16 15:45:43 -0500 marked best answer MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

First my Setup:

  • Ubuntu 20.04
  • ROS2 Foxy from Debian Packages
  • MoveIt!2 ROS2 UR Driver from https://github.com/UniversalRobots/Un...
  • own Node for Launching RViz with moveIt and the Robot Driver connected to the URSimulator for Linux: all working
  • own Node for Receiving a Pointcloud over Network from an RGB-D Camera publishing it as Pointcloud2 in a topic: I can see the Pointcloud in RViz

I would like to use the Pointcloud as "Collision Object" in MoveIt so I tried to use the Perception Pipeline Tutorial from here: https://ros-planning.github.io/moveit... But I can't transfer it from Moveit1 to Moveit2. I tried to find the sensor_manager.launch file or to create it, but got stuck here. Is there another way to give the PointCloud2 the OccupancyMapMonitor?

Thank you for your efforts.

Florian

2022-09-07 06:38:35 -0500 commented answer MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

Sorry, I haven't any Access to the project anymore. But I can just remember you can find it very easy by searching onlin

2022-08-11 12:36:25 -0500 received badge  Taxonomist
2022-07-30 19:30:44 -0500 received badge  Famous Question (source)
2022-07-25 20:50:01 -0500 received badge  Self-Learner (source)
2022-07-25 20:50:01 -0500 received badge  Teacher (source)
2022-07-25 10:03:55 -0500 received badge  Famous Question (source)
2022-07-12 07:18:43 -0500 received badge  Notable Question (source)
2022-07-12 07:18:43 -0500 received badge  Popular Question (source)
2022-07-01 07:46:23 -0500 received badge  Notable Question (source)
2022-03-08 08:56:16 -0500 received badge  Popular Question (source)
2022-01-10 03:05:49 -0500 asked a question Moveit Benchmark Comprehension questions about Units and States

Moveit Benchmark Comprehension questions about Units and States I am able to start Moveit2 Benchmarks with own Scenes, b

2022-01-10 02:53:54 -0500 commented question Moveit benchmark query vs start state

That is still a very good question. I haven't found any documentation on it, the Moveit1 tutorial doesn't provide any mo

2021-12-20 01:40:43 -0500 asked a question MoveIt!2 UR Driver: Parameter has invalid type

MoveIt!2 UR Driver: Parameter has invalid type I have built ROS2 Galactic, Moveit2 and Main Branch of UR Driver https://

2021-12-20 01:23:41 -0500 received badge  Famous Question (source)
2021-11-05 05:44:41 -0500 received badge  Student (source)
2021-11-05 02:23:43 -0500 received badge  Supporter (source)
2021-11-05 02:23:05 -0500 commented question Colladafile (.dae) in RViz2/MoveIt!2 Can't assign material

Thanks for your answer. I have added a Base Color with Principled BSDF in Blender, but the error still exits. Do you hav

2021-11-05 01:49:40 -0500 received badge  Enthusiast
2021-11-04 05:58:51 -0500 received badge  Organizer (source)
2021-11-04 05:57:25 -0500 asked a question Colladafile (.dae) in RViz2/MoveIt!2 Can't assign material

Colladafile (.dae) in RViz2/MoveIt!2 Can't assign material I have tried to add a Colladafile in MoveIt! as Collision Ob

2021-11-04 05:35:42 -0500 received badge  Notable Question (source)
2021-11-04 05:35:42 -0500 received badge  Popular Question (source)
2021-10-29 01:59:04 -0500 answered a question MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

I got a hint on this port of the Perception Tutorial (and others) https://github.com/RoboticsYY/moveit_tutorials and fou

2021-10-24 05:29:29 -0500 asked a question MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

MoveIt!2 add Pointcloud2 to OccupancyMapMonitor First my Setup: Ubuntu 20.04 ROS2 Foxy from Debian Packages MoveIt