Added Car config (#16)

* Ultrasonic Sensor + Car init obs struct

* Line sensor update for integration

* ultrasonic update for integration

* Integrate Line and Ultraman

* Added Car config

---------

Co-authored-by: xypoon <2837264P@student.gla.ac.uk>
This commit is contained in:
Devoalda 2023-11-09 13:26:35 +08:00 committed by GitHub
parent b7a0f60d8d
commit 4761893cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
frtos/config/car_config.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef CAR_CONFIG_H
#define CAR_CONFIG_H
typedef struct s_obs_struct {
bool line_detected;
bool ultrasonic_detected;
} obs_t;
typedef struct
{
obs_t *obs;
} car_struct_t;
#endif //CAR_CONFIG_H