APM Planner for X-Plane camera control

In X-Plane's "Data Input & Output" dialog, item 127 "Camera Location" allows the position and angle of the view to controlled. Would it be possible, with the new camera tracking Arduplane and Arducopter code, to use APM Planner to control the view in X-Plane via the commanded outputs of the pan and tilt servos? If this could be done it would transform the simulator into a pretty capable training device.

 

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    the only issue is how does one convert the rcout pwm to an angle?

  • Yeah, just map one of the channels to send view angles to Xplane. Maybe ch6 for tilt and ch7 for pan. I've read through the Xplane documentation, and it seems it would be similar to sending pitch angles, etc. I'd like to learn how you implemented this in Planner. I assume as the camera tracking algorithm gets more advanced this will become a more sought after feature for simulation.
  • Developer

    can you give me an example of the intened use/output.

     

    from what i can tell.

    map say channel 6 pwm to a 45 to -45 degree output, or similar.

  • That sounds highly plausible. You going to do it? ;p

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…