Quantcast
Viewing all articles
Browse latest Browse all 45792

How to code motor commands?

@RCvertt wrote:

Hi. In what file will I find motor commands for ArduCopter?

I have looked in (AP_MotorsMatrix.cpp) and other files but don't see where the motor commands are.

I am coming from MultiWii development. Multiwii has a file (Output.cpp) where all motor commands are such as...
motor[0]= rcCommand[THROTTLE] -rcCommand[PITCH]+rcCommand[ROLL];
motor[1]= rcCommand[THROTTLE];+rcCommand[PITCH]-rcCommand[ROLL];
motor[2]= rcCommand[THROTTLE] +rcCommand[PITCH];
servo[0]= 1500 -rcCommand[YAW];

Where can I find such motor commands for ArduCopter? Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 45792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>