Temp checkin
This commit is contained in:
parent
e559cbc9fb
commit
3200feaa26
@ -42,9 +42,9 @@ typedef struct gps_data_t {
|
||||
* INFORMATION: Contains the whole ping sensor data message *
|
||||
***********************************************************************/
|
||||
typedef struct ping_data_t {
|
||||
uint8_t header;
|
||||
uint16_t distance_mm;
|
||||
uint8_t crc;
|
||||
uint8_t header __attribute__((packed));
|
||||
uint16_t distance_mm __attribute__((packed));
|
||||
uint8_t crc __attribute__((packed));
|
||||
}ping_data_t;
|
||||
|
||||
/* An instance of the GPS data read from Arduino Com */
|
||||
|
11
UAV-ControlSystem/inc/drivers/compass.h
Normal file
11
UAV-ControlSystem/inc/drivers/compass.h
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef DRIVERS_COMPASS_H
|
||||
#define DRIVERS_COMPASS_H
|
||||
|
||||
|
||||
|
||||
bool initialize_compass();
|
||||
|
||||
void calibrate_compass();
|
||||
|
||||
|
||||
#endif //DRIVERS_COMPASS_H
|
14
UAV-ControlSystem/src/drivers/compass.c
Normal file
14
UAV-ControlSystem/src/drivers/compass.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include "drivers/compass.h"
|
||||
|
||||
#include "drivers/arduino_com.h"
|
||||
|
||||
|
||||
bool initialize_compass()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void calibrate_compass()
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user