You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @S-Dafarra, as far as I remember (unfortunately) the plugins in gazebo-yarp-plugins are not ready to simulate more then one IMU exposed in as a single multipleanalogserver device, as it happens on the robot. Recently @Nicogene worked in adding support to the gazebo_yarp_imu device robotology/gazebo-yarp-plugins#443 .
To actually support this case there are different possible routes, the fastest at the moment to me seems to create (or modify starting from either the gazebo_yarp_inertialMtb or gazebo_yarp_inertialMtbPart plugins) a model plugin called gazebo_yarp_multipleimugazebo_yarp_distributedinertial that retrieves the measure of multiple IMU Gazebo sensors, and expose it over the network via multipleanalogsensorsserver . Note that in this case you would not use directly a multipleanalogsensorsremapper device, but you would basically emulate it via the configuration file of this gazebo_yarp_distributedinertial device, in which you would pass the IMUs to use.
Other most advanced strategies (but that may be trickier to implement) would create a plugin to reuse the existing gazebo_yarp_imu implementation, and then access the pointer of the existing YARP devices to combine them in a multipleanalogsensorsremapper that then publishes its measures via a multipleanalogsensorsserver. The most radical example of this strategy is robotology/gazebo-yarp-plugins#391 .
@S-Dafarra I am availabe to discuss about this directly if you think someone can commit work on it.
Other most advanced strategies (but that may be trickier to implement) would create a plugin to reuse the existing gazebo_yarp_imu implementation, and then access the pointer of the existing YARP devices to combine them in a multipleanalogsensorsremapper that then publishes its measures via a multipleanalogsensorsserver. The most radical example of this strategy is robotology/gazebo-yarp-plugins#391 .
Recently, on the robot, we started using the
multipleanalogsensorsremapper
: https://github.com/robotology/robots-configuration/tree/master/iCubGenova04/wrappers/inertialsThe corresponding plugin seems also available in
GazeboYarpPlugins
: https://github.com/robotology/gazebo-yarp-plugins/blob/master/plugins/imu/include/gazebo/IMU.hhHow should I modify the
urdf
and the configuration files in order to have a parallel setup also in Gazebo?@prashanthr05 @nunoguedelha @traversaro
The text was updated successfully, but these errors were encountered: