lobodol / drone-flight-controller

A quadcopter flight controller based on Arduino Uno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still not working (in static simulation?)

f41ardu opened this issue · comments

Hi, its f41ard again.

esc1 and esc2 are constant at 1000 and 2000
esc2 and esc4 around 1500

I've disabled Interrupt routine and set all 4 input channel to 1500 (stick in the middle).
Simulate start and started.

Debugging measures and angle-motion looks fine compared with other MPU code.
Strange, isn't it.

My wokwi simulation works ????
Simulation https://wokwi.com/arduino/projects/324025061980766802
Have look as soom as yaw,roll,pitch active it didn't work.
If I set yaw=pitch=ray=512 -> mapped to (2500-450)/2 (Stick in the middel) servos simulationg esc's receive strange signals.

I would guess that static simulation may not work ;-<
Time to build the hardware ;->