mirror of
https://github.com/peter-tanner/des-car-2022.git
synced 2024-11-30 03:50:15 +08:00
Peter
e65b30830e
http://github.com/Alphurious007/DES. Copy of the `peterus` branch which has my code. Original was adapted from MoBot but I have added many changes and replaced many parts so it is almost completely different.
20 lines
553 B
C
20 lines
553 B
C
#ifndef _USER_CONFIG_H
|
|
#define _USER_CONFIG_H
|
|
/*
|
|
* ADD YOUR TARGET LATITUDE AND LONGITUDE IN THE DEFINE.
|
|
* AS A FLOATING POINT NUMBER REPRESENTING THE COORDINATE IN DEGREES
|
|
*
|
|
* ADD A NEW LINE WITH "#define DEBUG" (NO QUOTES) TO ENABLE DEBUG MESSAGES
|
|
*/
|
|
|
|
#define TARGET_POSITION [LAT], [LON] // FORMAT [LAT], [LON] AS float OR int32_t
|
|
|
|
// COMPASS CALIBRATION PARAMETERS
|
|
#define COMPASS_CAL_MIN -470, -1083, +837
|
|
#define COMPASS_CAL_MAX +79, -495, +946
|
|
|
|
// DEBUG PRINTER
|
|
#define DEBUG
|
|
#define PRINTER_BAUD_RATE 115200
|
|
|
|
#endif |