65 Commits

Author SHA1 Message Date
f9745a2e44 filter clear function 2018-09-23 14:29:19 +02:00
50df1cf9d2 New Madgwick filter library 2018-09-23 14:28:51 +02:00
fb4e197439 integral flush for control loops 2018-09-23 14:28:17 +02:00
aafc43e230 C implementation of Madgwick filter 2018-09-20 21:25:08 +02:00
3890bc8c4f Checksum added to remote packet 2018-09-20 21:24:29 +02:00
cd0d81c72a PID controller added with gain scaling 2018-09-20 21:23:15 +02:00
a3a83ea6f9 OSC bridge in AP mode
Default gw ip 192.168.4.1
2018-09-17 22:19:52 +02:00
e99e8e3211 OSC Wifi to UART bridge
Mix of the two earlier sketches

TODO: Switch this sketch to AP mode
2018-09-17 22:08:32 +02:00
3d30a668c7 Touch OSC and NodeMCU
1) A layout for the mobile phone
2) A sketch to receive the data on a NodeMCU over Wifi
3) A sketch to send a RC package to the stm32 from the NodeMCU

TODO: Merge these two sketches later
2018-09-17 21:20:29 +02:00
6f5fbc1ce5 RC Parser on UART implemented
The receiving end on the stm32.
TODO: Send back data to the NodeMCU
2018-09-17 21:09:21 +02:00
935911fd2c Small fixes to stepper driver 2018-09-11 16:28:07 +02:00
220de9612c Some simple serial test
Just write back the serial data that comes in
2018-09-11 16:27:49 +02:00
fcb2359914 Adding pin definitions
USART 2 works great
2018-09-09 22:40:27 +02:00
d9ce797cae dT as zero crash prevention
Should not happen, but just in case.
2018-09-09 22:38:58 +02:00
e1de1ac99f Bugfix in MPU6000 driver
acceleration exceeds 1G and makes arcsin fail
2018-09-09 22:37:20 +02:00
3f2c9f7003 Corrected include in Utilities.cpp 2018-09-02 20:30:15 +02:00
ec0f0ee37e Deployment of control loops
Find the bug! Needs fixing. Not tuned! And something crashes the board.
When vibrating a lot (probably high gains or high d-term / d-term noise) or when the robot leans a lot to one side everything freezes. Both loops blinking leds stop completely and steppers stay at last command.

I've tried electronic fixes and lastly put the controller on its own power supply.
Can be triggered even without any power electronics connected (rocking the robot by hand). So it seems to be software related!
2018-09-02 20:21:58 +02:00
124eabf17d Acceleration limit for stepper motors 2018-09-02 20:18:39 +02:00
1fd690b3f5 IMU changes. Calibration options
Disable standby mode at init
Can now calculate offset on acc and gyro
Fifo reset function
2018-09-02 19:12:46 +02:00
15dd8e6bc7 IMU acc and gyro fusion
Needs tweaking to get the right amount of acc data
2018-09-02 19:06:20 +02:00
443c441279 Some controllers implemented PD and PI 2018-09-02 19:04:44 +02:00
5bd9945e95 Constrain range helper function 2018-09-02 19:02:49 +02:00
cc7b3a97d5 pt1 filter 2018-09-02 19:01:31 +02:00
f9396e54d6 Gyro and Flash documentation 2018-09-02 19:00:12 +02:00
8afd59a84e Prettier way of driving the control loop 2018-08-31 18:11:32 +02:00
76496540fa Merge branch 'master' of https://github.com/philsson/RCNoster 2018-08-31 17:50:09 +02:00
cce67f7659 Fix stop function in Servo driver 2018-08-31 17:49:59 +02:00
f2693a4c88 Travis file 2018-08-31 17:39:50 +02:00
2985c0c5cf
Fix Includes in servo 2018-08-31 14:01:42 +02:00
b775ebd883
Fixed includes for Baro 2018-08-31 13:54:40 +02:00
9cc6db625b
Update .travis.yml 2018-08-31 13:45:27 +02:00
652d924b45
Update .travis.yml 2018-08-31 13:44:01 +02:00
5d27a10eff
Update .travis.yml 2018-08-31 13:39:52 +02:00
03aae12c15
Update .travis.yml 2018-08-31 13:31:47 +02:00
362b787a45
Update .travis.yml 2018-08-31 13:28:19 +02:00
7ef1dcb03b
Update .travis.yml 2018-08-31 13:24:45 +02:00
e6127e90a4
Update .travis.yml 2018-08-31 13:12:57 +02:00
0f8af3c4d7
Update .travis.yml 2018-08-31 13:07:55 +02:00
b7a7481127
Update .travis.yml 2018-08-31 10:27:38 +02:00
c4b0b24f6b
Update submodules format 2018-08-31 10:24:01 +02:00
4f1b5f357a
Travis file 2018-08-31 10:17:10 +02:00
74e0d97986 Main file test for motors, servos and other drivers 2018-08-29 22:52:38 +02:00
a509b29348 Simple Incremental LPF filter 2018-08-29 22:45:59 +02:00
fe69b7764d Fix to stepper driver 2018-08-29 22:45:00 +02:00
85b95999a5 Subrepo updated to latest master 2018-08-29 22:44:43 +02:00
652f24532a Servo driver to drive an Arm. Some fixes needed for threads 2018-08-29 22:43:10 +02:00
5076ec7446 Updated submodule 2018-08-28 20:16:13 +02:00
aeb09eb879 Datasheet and schematics for revo/stm32f4 2018-08-26 19:09:08 +02:00
5b3adbf65d Stepper driver draft 2018-08-25 19:51:22 +02:00
5f0099f390 MPU Interrupt added
Sends interrupt on pin INT when there is data to read
2018-08-25 13:55:01 +02:00