"I did not use the Arducopter code, my team and I wrote all of our own code from scratch, the ground up, but loaded much of the same libraries. This made it so we knew exactly what was being initialized and how everything was being used.
The…"
"Thank you for the help, I got it to work, though if you want to write to A10, since the index for the digital pins starts at 0, the command is
hal.rcout->write(9, pwm)
and then I needed to enable the channel beforehand in the setup() with…"
"Thanks for help, How do i tell the APM to write to A10 or A11 pins? I am using the libraries for ardupilot, but have been writing all the code myself, and not using the standard Ardrucopter/Arduplane firmware. I'm not too familiar with the coding…"
I've been researching this for a while now and I can't find anything conclusive on how to do what I want to do. BackgroundIm using the APM 2.6, which has the ATmega2560Im working on a drone copter/plane hybrid, it will be an airplane with tilt…
"I am working on a project of a quadcopter/airplane hybrid. We have the APM 2.6, and we have 4 motors that can be tilted individually by a servo each. So, thats 4 motors and 4 servos that are being controlled by the 8 PWM output pins. Since i have…"
"Hey, Im a senior in engineering, working on a project very similar to this. Need to get it working for in order to graduate, so its crunch mode. The method of controls that you described :
Also, the controls for yaw and roll basically switch as the…"