AP_Scripting: add SITL RealFlight gimbal driver#27752
AP_Scripting: add SITL RealFlight gimbal driver#27752robertlong13 wants to merge 1 commit intoArduPilot:masterfrom
Conversation
0f54005 to
2f0df45
Compare
|
Perhaps it's a silly question, but: What makes this driver targeted to RealFlight? Isn't it applicable to any PWM gimbal? |
No, you're right, it would be applicable to any PWM gimbal that stabilizes roll pitch and yaw internally, takes PWM commands for earth-frame pitch angle command and body-frame yaw angle command, and has a servo channel for zooming the camera (though that last part is optional). If there are any of that kind of gimbal still on the market (I feel like they all dried up in 2017) then this would be a nice backend for that. The only reason this has RealFlight written all over it is that I made it for RealFlight and it works well with it. |
|
Then if it's not too much trouble, I'd prefer seeing this be turned into such a generic PWM driver. Especially since it's placed in the Of course, staying a RealFlight script (and perhaps moving it to |
If someone has one they want to flight test for me, then I'd happily make it generic. I can't even find one to buy that isn't STorM32 based, which wouldn't need this driver. |
2f0df45 to
466dd27
Compare
466dd27 to
f2cb2c6
Compare
f2cb2c6 to
79d258b
Compare
Hi @robertlong13 |
Useful for testing this PR: ArduPilot/MissionPlanner#3386
Goes along with this SITL Models PR: ArduPilot/SITL_Models#140