@@ -805,50 +805,6 @@ forceTorqueSensors:
805
805
806
806
807
807
sensors :
808
- - frameName : SCSYS_L_ANKLE_2_FT_FRONT
809
- linkName : l_ankle_2
810
- exportFrameInURDF : No # This is not since the frame is already exported in the forceTorqueSensors
811
- sensorName : l_foot_front_ft_imu
812
- sensorType : " accelerometer"
813
- updateRate : " 100"
814
- sensorBlobs :
815
- - |
816
- <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
817
- <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_front_ft_sensor_inertial.ini</yarpConfigurationFile>
818
- </plugin>
819
- - frameName : SCSYS_L_ANKLE_2_FT_REAR
820
- linkName : l_ankle_2
821
- exportFrameInURDF : No # This is not since the frame is already exported in the forceTorqueSensors
822
- sensorName : l_foot_rear_ft_imu
823
- sensorType : " accelerometer"
824
- updateRate : " 100"
825
- sensorBlobs :
826
- - |
827
- <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
828
- <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
829
- </plugin>
830
- - frameName : SCSYS_R_ANKLE_2_FT_FRONT
831
- linkName : r_ankle_2
832
- exportFrameInURDF : No # This is not since the frame is already exported in the forceTorqueSensors
833
- sensorName : r_foot_front_ft_imu
834
- sensorType : " accelerometer"
835
- updateRate : " 100"
836
- sensorBlobs :
837
- - |
838
- <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
839
- <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_front_ft_sensor_inertial.ini</yarpConfigurationFile>
840
- </plugin>
841
- - frameName : SCSYS_R_ANKLE_2_FT_REAR
842
- linkName : r_ankle_2
843
- exportFrameInURDF : No # This is not since the frame is already exported in the forceTorqueSensors
844
- sensorName : r_foot_rear_ft_imu
845
- sensorType : " accelerometer"
846
- updateRate : " 100"
847
- sensorBlobs :
848
- - |
849
- <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
850
- <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
851
- </plugin>
852
808
- frameName : SCSYS_HEAD_IMU
853
809
linkName : head
854
810
sensorName : head_imu_0
@@ -1092,6 +1048,74 @@ reverseRotationAxis:
1092
1048
r_pinkie_dist
1093
1049
1094
1050
XMLBlobs :
1051
+ # left foot IMU (front)
1052
+ - |
1053
+ <gazebo reference="l_ankle_2">
1054
+ <sensor name="l_foot_front_ft_imu" type="imu">
1055
+ <always_on>1</always_on>
1056
+ <update_rate>100</update_rate>
1057
+ <pose>0.13525 0 -0.07019999999999993 0.0 -0.0 -2.0943952105869315</pose>
1058
+ <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
1059
+ <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_front_ft_sensor_inertial.ini</yarpConfigurationFile>
1060
+ </plugin>
1061
+ </sensor>
1062
+ </gazebo>
1063
+ - |
1064
+ <sensor name="l_foot_front_ft_imu" type="accelerometer">
1065
+ <parent link="l_ankle_2" />
1066
+ <origin rpy="0.0 -0.0 -2.0943952105869315" xyz="0.13525 0 -0.07019999999999993" />
1067
+ </sensor>
1068
+ # left foot IMU (rear)
1069
+ - |
1070
+ <gazebo reference="l_ankle_2">
1071
+ <sensor name="l_foot_rear_ft_imu" type="imu">
1072
+ <always_on>1</always_on>
1073
+ <update_rate>100</update_rate>
1074
+ <pose>0.016000000000000004 0 -0.07019999999999993 0.0 -0.0 -2.0943952105869315</pose>
1075
+ <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
1076
+ <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_l_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
1077
+ </plugin>
1078
+ </sensor>
1079
+ </gazebo>
1080
+ - |
1081
+ <sensor name="l_foot_rear_ft_imu" type="accelerometer">
1082
+ <parent link="l_ankle_2" />
1083
+ <origin rpy="0.0 -0.0 -2.0943952105869315" xyz="0.016000000000000004 0 -0.07019999999999993" />
1084
+ </sensor>
1085
+ # right foot IMU (front)
1086
+ - |
1087
+ <gazebo reference="r_ankle_2">
1088
+ <sensor name="r_foot_front_ft_imu" type="imu">
1089
+ <always_on>1</always_on>
1090
+ <update_rate>100</update_rate>
1091
+ <pose>0.13525 0 -0.07019999999999993 0.0 -0.0 -2.0943952105869315</pose>
1092
+ <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
1093
+ <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_front_ft_sensor_inertial.ini</yarpConfigurationFile>
1094
+ </plugin>
1095
+ </sensor>
1096
+ </gazebo>
1097
+ - |
1098
+ <sensor name="r_foot_front_ft_imu" type="accelerometer">
1099
+ <parent link="r_ankle_2" />
1100
+ <origin rpy="0.0 -0.0 -2.0943952105869315" xyz="0.13525 0 -0.07019999999999993" />
1101
+ </sensor>
1102
+ # right foot IMU (rear)
1103
+ - |
1104
+ <gazebo reference="r_ankle_2">
1105
+ <sensor name="r_foot_rear_ft_imu" type="imu">
1106
+ <always_on>1</always_on>
1107
+ <update_rate>100</update_rate>
1108
+ <pose>0.016000000000000004 0 -0.07019999999999993 0.0 -0.0 -2.0943952105869315</pose>
1109
+ <plugin name="ergocub_yarp_gazebo_plugin_IMU" filename="libgazebo_yarp_imu.so">
1110
+ <yarpConfigurationFile>model://ergoCub/conf/gazebo_ergocub_r_foot_rear_ft_sensor_inertial.ini</yarpConfigurationFile>
1111
+ </plugin>
1112
+ </sensor>
1113
+ </gazebo>
1114
+ - |
1115
+ <sensor name="r_foot_rear_ft_imu" type="accelerometer">
1116
+ <parent link="r_ankle_2" />
1117
+ <origin rpy="0.0 -0.0 -2.0943952105869315" xyz="0.016000000000000004 0 -0.07019999999999993" />
1118
+ </sensor>
1095
1119
# imu waist (workaround since simmechanics was not updated)
1096
1120
- |
1097
1121
<link name="waist_imu_0"/>
0 commit comments