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
Devoalda
585f797460
Merge branch 'L4ncelot-R:main' into main
2023-11-07 10:03:11 +08:00
Devoalda
d0553b6ddb
fix(Magnetometer):
...
Added filter for magnetometer outliers
2023-11-07 10:02:09 +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
Devoalda
f933d8ea91
fix(Magnetometer):
...
Removed Com Filter
2023-11-04 13:38:47 +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
soapysoltionss
2a38789890
barcode
2023-10-31 14:34:45 +08:00
Richie
ed3c440ebc
add direction control
2023-10-30 23:24:58 +08:00
Richie
e8f8d31b85
pending PID tuning; now car moves in S shape
2023-10-29 17:54:33 +08:00
soapysoltionss
19d6512639
barcode update
2023-10-29 15:46:20 +08:00
Devoalda
c3b7647422
Merge remote-tracking branch 'origin/main'
2023-10-27 19:54:30 +08:00
Devoalda
9ae974deab
fix(Magnetometer):
...
Fixed Yaw Calculation
2023-10-27 19:54:22 +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
Devoalda
237e370875
feature(LSM303DLHC): Added Temperature Compensation
...
Added:
- Temperature reading
- Temperature compensation for yaw
- Modified Alpha to put more weight on magnetometer
2023-10-26 07:55:43 +08:00
Devoalda
0f0b0a9886
refactor(LSM303DLHC): Converted functions to static functions
2023-10-25 21:11:35 +08:00
Devoalda
e0c85ce2ce
feature(LSM303DLHC Sensor):
...
Using both Accelerometer and magnetometer to do a complementary filter to calculate the compass direction.
Added more fine-grained directions (NW, NE, SE, SW)
2023-10-25 20:46:13 +08:00
Devoalda
972cd4240d
Merge remote-tracking branch 'origin/main'
2023-10-25 17:02:48 +08:00
Devoalda
32bad31564
feature(LSM303DLHC Sensor):
...
Added:
- Accelerometer Sensor Data
- Magnetometer Sensor Data
- Compass Direction
2023-10-25 17:02:38 +08:00
Richie
3b7831297a
update pid
2023-10-24 14:02:20 +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
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