Commit Graph

22 Commits

Author SHA1 Message Date
Devoalda 2b34f8c856 feature(Line sensor Interrupts):
Added Edge Interrupt logic with debounce algorithm
2023-10-23 21:22:12 +08:00
xypoon c093d79256 Updated (Testing Kalman Filter) 2023-10-23 10:37:45 +08:00
xypoon eb6d0c4080 added Ultrasonic Driver 2023-10-23 09:36:46 +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
Devoalda 97730bbb90 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	frtos/rtos_car.c
2023-10-21 14:22:46 +08:00
Devoalda 1aab873c2b feature(Line Sensor + Car Common):
Restructured Line Sensor files
Added test for Line Sensor

Added Car Dir for common functionalities
2023-10-21 14:20:21 +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
Richie 69bb805846 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	frtos/line_sensor/line_sensor.c
2023-10-17 21:45:37 +08:00
Richie b80e3bf7a9 re structured 2023-10-17 21:45:13 +08:00
Devoalda 6d717120b9 Merge remote-tracking branch 'origin/main' 2023-10-14 09:10:39 +08:00
Devoalda 85911aea8e feature(Line Sensor): Line Sensor Modified to timer interrupts. Including Direction + Orientation Change handlers 2023-10-14 09:10:30 +08:00
Richie 376453398a implemented pid for right wheel, pending fine-tuning 2023-10-13 23:29:42 +08:00
Richie 4862fdc23a fixed interrupt issue 2023-10-13 19:19:49 +08:00
Richie 84e22bc488 modified speed function; prep for pid 2023-10-13 17:44:57 +08:00
Richie aeb39084ab interrupt based speed monitoring 2023-10-13 16:41:13 +08:00
Devoalda 7c5b7e819e feature(Line Sensor): Line Sensor init 2023-10-12 21:38:57 +08:00
Richie b226d2a814 init 2023-10-12 10:09:56 +08:00