mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
ArduCopter: added definition for yaw channels.
APM1 uses channel 11 for camera's yaw servo, APM2 uses channel 8. This should allow all frame types except octacopters to potentially use a 3 axis camera mount.
This commit is contained in:
parent
3b9a1d4305
commit
46a44a6b1b
@ -25,13 +25,13 @@
|
||||
//
|
||||
//
|
||||
#if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
|
||||
/* Camera Pitch and Camera Roll: Not yet defined for APM2
|
||||
* They will likely be dependent on the frame config */
|
||||
# define CH_CAM_PITCH CH_11
|
||||
# define CH_CAM_ROLL CH_10
|
||||
# define CH_CAM_YAW CH_8
|
||||
#elif CONFIG_APM_HARDWARE == APM_HARDWARE_APM1
|
||||
# define CH_CAM_PITCH CH_5
|
||||
# define CH_CAM_ROLL CH_6
|
||||
# define CH_CAM_YAW CH_11
|
||||
#endif
|
||||
|
||||
#endif // __ARDUCOPTER_CONFIG_MOTORS_H__
|
||||
|
Loading…
Reference in New Issue
Block a user