90% of functionality I want is already implemented, of course things like RC input (pwm, ppm), motor/servo output,
uart comms, flash loading/saving, i2c, sensors (used on that board), etc. There's stuff I don't care about like I2C LCDs and other marginally useful (t0 me) junk which I havent bothered with.
First stupid question of the day:
The gyro is MPU3050.
I configure it in 2000dps mode, 8khz sampling, no lowpass filter. The values look sane in GUI.
i followed this for graph orientation:
.Pitch forward and the gyro pitch numbers should go positive (up on the graph).
Pitch back and the gyro pitch numbers should go negative (down on the graph)
Roll right and the gyro roll numbers should go positive (up on the graph)
Roll left and the gyro roll numbers should go negative (down on the graph)
Yaw right and the yaw gyro numbers should go positive (up on the graph)
Yaw left and the yaw gyro numbers should go negative (down on the graph)
I can examine gyroADC and accADC values while running, and those also follow the pattern above.
However, gyro response is almost non-existent.
Once I tilt the board in pitch or roll axises, it slowly rolls there, then stays at an angle.
So something tells me gyro data is either not being used as good as it should be or I'm failing something.
The only thing is different would be cycle time which is around 1300 now.
In the screenshot below, i rolled the board hard to the left, but you see the 'roll' diagram tilting to the right f irst, then it would slowly float over to say 45" left or wahtever I tilted it to.
Where did I fail?
Using latest released -dev (0203)