Pat Hickey
13 years ago
1 changed files with 47 additions and 0 deletions
@ -0,0 +1,47 @@
@@ -0,0 +1,47 @@
|
||||
|
||||
#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" |
||||
|
||||
//
|
||||
//
|
||||
// Output CH mapping for ArduCopter motor channels
|
||||
//
|
||||
//
|
||||
#if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2 |
||||
# define MOT_1 CH_1 |
||||
# define MOT_2 CH_2 |
||||
# define MOT_3 CH_3 |
||||
# define MOT_4 CH_4 |
||||
# define MOT_5 CH_5 |
||||
# define MOT_6 CH_6 |
||||
# define MOT_7 CH_7 |
||||
# define MOT_8 CH_8 |
||||
#elif CONFIG_APM_HARDWARE == APM_HARDWARE_APM1 |
||||
# define MOT_1 CH_1 |
||||
# define MOT_2 CH_2 |
||||
# define MOT_3 CH_3 |
||||
# define MOT_4 CH_4 |
||||
/* XXX Placeholders: These need to be changed XXX */ |
||||
# define MOT_5 CH_5 |
||||
# define MOT_6 CH_6 |
||||
# define MOT_7 CH_7 |
||||
# define MOT_8 CH_8 |
||||
#endif |
||||
|
||||
#endif // __ARDUCOPTER_CONFIG_MOTORS_H__
|
Loading…
Reference in new issue