Commit Graph

49 Commits

Author SHA1 Message Date
Richie d31f4b0ef9 format codes 2023-11-28 13:32:13 +08:00
Richie 44459241b2 test+++++++ 2023-11-21 13:33:11 +08:00
linuxes_mojoworld@aleeas.com 8c6512e63f Updated Turning Functions
Signed-off-by: linuxes_mojoworld@aleeas.com <linuxes_mojoworld@aleeas.com>
2023-11-21 10:57:22 +08:00
xypoon 7ffd8d741c obstacle + reverse working 2023-11-20 17:38:44 +08:00
Richie 2410104555 test++++++ 2023-11-20 16:07:58 +08:00
Richie 43a6330ad0 test+++++ 2023-11-20 15:14:19 +08:00
Richie 094928841d test+++++ 2023-11-20 15:11:52 +08:00
Richie d1f99ab781 test+++++ 2023-11-20 15:00:54 +08:00
Richie bd0ec58f06 test++++ 2023-11-20 14:54:15 +08:00
Richie f8f009dd39 test+++ 2023-11-20 14:47:51 +08:00
Richie ef9197d899 test++ 2023-11-20 11:58:50 +08:00
Richie e8cf827088 test+ 2023-11-20 11:56:03 +08:00
Richie c0aa48b58b test 2023-11-20 11:24:11 +08:00
Richie 1def053dc0 update pid 2023-11-20 10:54:19 +08:00
Richie c10e67c9cb update pid 2023-11-20 10:44:59 +08:00
Richie f888568559 changed pid and speed logic with magnetometer 2023-11-20 10:19:11 +08:00
Richie c4908eb6f2 replace magic number 2023-11-10 10:48:45 +08:00
Richie ba2234d380 remove duplicate function codes 2023-11-10 09:37:45 +08:00
Devoalda 9e391da487 Amended Magnetometer to use global struct 2023-11-09 23:24:45 +08:00
Richie 034ccb47e5 pending dodge test 2023-11-09 15:16:50 +08:00
Richie 6ac564ee04 direction update 2023-11-09 14:58:35 +08:00
Richie 546f340f52 everything working, somehow 2023-11-09 14:02:58 +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 b52685d25e add direction calculation 2023-11-08 17:07:35 +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
soapysoltionss 57683829ae Merge branch 'main' of https://github.com/soapysoltionss/freeRTOS-car 2023-11-07 13:08:15 +08:00
Richie b02919bf1b add turn to yaw function (pending test) 2023-11-07 09:35:15 +08:00
Richie c19b665e0b update PWM and PID value 2023-11-06 23:46:47 +08:00
Richie 389c4ecd92 add function to revert wheel direction 2023-11-06 20:45:42 +08:00
Richie 4137d4f350 updated motor with testing codes with line sensor 2023-10-31 21:52:09 +08:00
soapysoltionss 2d0f17a4bc Revert "add direction control"
This reverts commit ed3c440ebc.
2023-10-31 15:45:37 +08:00
Richie ed3c440ebc add direction control 2023-10-30 23:24:58 +08:00
Richie ed516b5ce4 add direction control 2023-10-30 23:20:15 +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
Richie 1a350fcc01 modified pid with test function to change speed 2023-10-21 10:22:12 +08:00
Richie 9a9aac406e merged wheel monitor and control function to use struct for both wheels; removed set_wheel_speed function as it will be controlled by task directly; changed PID function to use more pointers 2023-10-21 01:04:09 +08:00
Richie c7950d3ec6 merged left and right speed sensor isr into one handler 2023-10-21 00:04:13 +08:00
Richie 81e44dbf50 added wheel stop state check; now will start the motor from 0 to desire speed; no enough wire to test both motor at the same time, but tested one by one 2023-10-20 23:48:35 +08:00
Richie ea9318b747 re structured 2023-10-20 21:26:48 +08:00