Skip to content
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

Fix alljoints inertials to work also on gz-sim #250

Merged
merged 3 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions urdf/creo2urdf/data/ergocub1_0/base_1_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_leg_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="controlboard_left_leg" filename="libgazebo_yarp_controlboard.so">
Expand Down Expand Up @@ -1492,6 +1498,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_leg_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="controlboard_right_leg" filename="libgazebo_yarp_controlboard.so">
Expand Down Expand Up @@ -1606,6 +1618,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/FT/gazebo_ergocub_left_arm_ft.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_arm_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo reference="l_shoulder_pitch">
<implicitSpringDamper>1</implicitSpringDamper>
Expand Down Expand Up @@ -1667,6 +1685,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/FT/gazebo_ergocub_right_arm_ft.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_arm_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo reference="r_shoulder_pitch">
<implicitSpringDamper>1</implicitSpringDamper>
Expand Down
26 changes: 25 additions & 1 deletion urdf/creo2urdf/data/ergocub1_1/base_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ XMLBlobs:
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_waist_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
</gazebo>
- |
<sensor name="waist_imu_0" type="accelerometer">
<parent link="torso_1"/>
Expand Down Expand Up @@ -1210,6 +1210,18 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/FT/gazebo_ergocub_right_arm_ft.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_arm_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_arm_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="controlboard_torso" filename="libgazebo_yarp_controlboard.so">
Expand Down Expand Up @@ -1338,6 +1350,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_leg_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="controlboard_left_leg" filename="libgazebo_yarp_controlboard.so">
Expand Down Expand Up @@ -1454,6 +1472,12 @@ XMLBlobs:
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="gzyarp::Imu" filename="gz-sim-yarp-imu-system">
<yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_leg_ft_sensor_inertial.ini</yarpConfigurationFile>
</plugin>
</gazebo>
- |
<gazebo>
<plugin name="controlboard_right_leg" filename="libgazebo_yarp_controlboard.so">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
disableImplicitNetworkWrapper
yarpDeviceName l_arm_ft_sensor_inertial_hardware_device
yarpDeviceName l_arm_ft_sensor_inertial_hardware_device
parentLinkName l_arm
sensorName l_arm_ft_imu
2 changes: 2 additions & 0 deletions urdf/ergoCub/conf/gazebo_ergocub_l_leg_ft_sensor_inertial.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
disableImplicitNetworkWrapper
yarpDeviceName l_leg_ft_sensor_inertial_hardware_device
parentLinkName l_leg
sensorName l_leg_ft_imu
2 changes: 2 additions & 0 deletions urdf/ergoCub/conf/gazebo_ergocub_r_arm_ft_sensor_inertial.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
disableImplicitNetworkWrapper
yarpDeviceName r_arm_ft_sensor_inertial_hardware_device
parentLinkName r_arm
sensorName r_arm_ft_imu
2 changes: 2 additions & 0 deletions urdf/ergoCub/conf/gazebo_ergocub_r_leg_ft_sensor_inertial.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
disableImplicitNetworkWrapper
yarpDeviceName r_leg_ft_sensor_inertial_hardware_device
parentLinkName r_leg
sensorName r_leg_ft_imu
Loading