mirror of https://github.com/ArduPilot/ardupilot
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
|
|
#ifndef __ARDUCOPTER_CONFIG_MOTORS_H__
|
|
#define __ARDUCOPTER_CONFIG_MOTORS_H__
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
|
//
|
|
// DO NOT EDIT this file to adjust your configuration. Create your own
|
|
// APM_Config.h and use APM_Config.h.example as a reference.
|
|
//
|
|
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
|
///
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
#include "config.h" // Parent Config File
|
|
#include "APM_Config.h" // User Overrides
|
|
|
|
//
|
|
//
|
|
// Output CH mapping for Aux channels
|
|
//
|
|
//
|
|
#if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
|
|
# 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__
|