Closed srmainwaring closed 7 months ago
It's really great to see this, thanks so much!
If you are still interested to get this merged, let me know! I think it's a great feature addition.
If you are still interested to get this merged, let me know! I think it's a great feature addition.
Thanks @Ryanf55, let me re-test on Harmonic. IIRC there was an issue in Gazebo Garden that could cause crashes and I need to remind my self what it was and whether it has been fixed.
If you are still interested to get this merged, let me know! I think it's a great feature addition.
Hi @Ryanf55 - tested on Harmonic and appears to now be working fine. I can not longer see a segmentation fault on exit, so I assume the issue (which was connected to the physics libraries unloading IIRC) has been resolved upstream.
Add a 3 axis gimbal and system plugin that attaches to a camera sensor and allows the camera to be zoomed.
Details
msgs::Double
) and allows an existing camera sensor to be zoomed.The plugin SDF has a single parameter setting the maximum zoom factor.
Testing
https://github.com/ArduPilot/ardupilot_gazebo/assets/24916364/57dd7fb5-3db1-4ab1-b8ed-ea516f9caa96
The gimbal is position controlled and responds to roll, pitch and yaw commands.
The camera zoom is similarly commanded.
Tasks
#include <gz/sim/Sensor.hh>
is not available in the released version ofgz-sim7
on Ubuntu.