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:
parent
b7a0f60d8d
commit
4761893cd9
|
@ -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
|
Loading…
Reference in New Issue