Skip to content

ergoCubSim wrong urdf parameters on gz-sim #374

Description

@SimoneMic

I have ported the ergoCub navigation simulation from gazebo classic to gazebo sim and I have faced the following issues:

    1. The lidar parameters in the urdf are wrong:
    • max_distance must be 25.0 meters instead of 5
    • resolution must be 1 instead of 0.5. Otherwise only half lidar will be displayed.
    1. wrappers/motorControl/all-mc_remapper.xml should be enabled by the flag enable_ros2, otherwise the ros2 simulation will not work.
    1. Camera parameters are off, as you can clearly see from these images:

The red dots are the lidar points on the ground, as you can see they are aligned with the robot feet. However the pointcloud goes underneath the ground.
Image

Image

For reference of the scene:

Image

Here the camera depth seen by ros2:

Image

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions