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
Gazebo classic supports cameras that only capture images when triggered through ROS, see gazebo_ros_camera. When porting that to Ignition, we should make all cameras "triggerable" via an Ignition topic that can be bridged to a ROS topic with ros_ign.
Desired behavior
Cameras that have <triggered>true</triggered> will only capture an image when they receive a command on an Ignition topic (like taking a photo instead of recording a video).
Alternatives considered
Users may be able to achieve this with a custom plugin, but adding this functionality to all cameras by default should be easier to maintain and extend. We may also consider adding this functionality to all sensors? I can see this being useful for performance when using lidars, contact sensors, etc.
Implementation suggestion
Add a <triggered> parameter to <sensor> on SDF. Or just to <camera>.
Parse that tag in ign-sensors and provide the necessary topic and callbacks that enable triggering
The text was updated successfully, but these errors were encountered:
Gazebo classic supports cameras that only capture images when triggered through ROS, see gazebo_ros_camera. When porting that to Ignition, we should make all cameras "triggerable" via an Ignition topic that can be bridged to a ROS topic with
ros_ign
.Desired behavior
Cameras that have
<triggered>true</triggered>
will only capture an image when they receive a command on an Ignition topic (like taking a photo instead of recording a video).Alternatives considered
Users may be able to achieve this with a custom plugin, but adding this functionality to all cameras by default should be easier to maintain and extend. We may also consider adding this functionality to all sensors? I can see this being useful for performance when using lidars, contact sensors, etc.
Implementation suggestion
<triggered>
parameter to<sensor>
on SDF. Or just to<camera>
.ign-sensors
and provide the necessary topic and callbacks that enable triggeringThe text was updated successfully, but these errors were encountered: