Commit Graph

16 Commits

Author SHA1 Message Date
Richie f888568559 changed pid and speed logic with magnetometer 2023-11-20 10:19:11 +08:00
Richie da028e41b1 update comments 2023-11-09 13:20:36 +08:00
Richie 107a142ef6 remove debug prints 2023-11-09 12:58:10 +08:00
Richie e9511eb8ce updated vtask and init 2023-11-09 12:57:26 +08:00
Richie 0a62f7738c use minimum global variables 2023-11-09 11:38:20 +08:00
Richie a066bd06a6 add redeclare prevent 2023-11-08 15:11:42 +08:00
Richie f284f972d2 PID final 2023-11-08 14:00:47 +08:00
Richie c19b665e0b update PWM and PID value 2023-11-06 23:46:47 +08:00
Richie 4137d4f350 updated motor with testing codes with line sensor 2023-10-31 21:52:09 +08:00
Richie f176192dce PID 99%, suspect wheel issue as if I swap the wheels the car slants opposite direction, for a bit; but generally straight for about 1m, should be enough for the map 2023-10-29 20:26:13 +08:00
Richie e8f8d31b85 pending PID tuning; now car moves in S shape 2023-10-29 17:54:33 +08:00
Richie 8cd0cd9571 update struct names 2023-10-27 13:11:41 +08:00
Richie a40fa548c3 update struct and pid for both wheels 2023-10-27 13:07:55 +08:00
Richie 3b7831297a update pid 2023-10-24 14:02:20 +08:00
Richie baa7914f30 moved global variables to struct 2023-10-21 17:35:23 +08:00
Richie ef965e0f2f separate speed control and monitor 2023-10-21 17:14:49 +08:00