Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
devs_config.h
Go to the documentation of this file.
1 
2 /*
3  * devs_config.h
4  *
5  * Created : 11/9/2018
6  * Author : n-is
7  * email : 073bex422.nischal@pcampus.edu.np
8  */
9 
10 #ifndef _DEVS_CONFIG_H_
11 #define _DEVS_CONFIG_H_
12 
13 #include "a4988.h"
14 #include "arduino.h"
15 #include "freewheel.h"
16 #include "hmc5883.h"
17 #include "mpu6050.h"
18 
19 #include "encoder.h"
20 #include "lidar.h"
21 
22 extern const uint32_t gMax_Robo_Velocity;
23 extern const uint32_t gRated_Robo_Velocity;
24 
26 
27 // These are the main IMU and the Compass Of the Robot
28 extern struct MPU6050 Body_IMU;
29 extern struct HMC5883 Body_HMC;
30 extern struct A4988 IMU_Stepper;
31 
32 extern struct Enc gXEnc;
33 extern struct Enc gYEnc;
34 
35 extern Encoder gXEncoder;
36 extern Encoder gYEncoder;
37 extern Lidar gXLidar;
38 extern Lidar gYLidar;
39 
40 
41 void IMU_Init();
42 void Stepper_Init();
43 void Encoders_Init();
44 void Lidars_Init();
45 
46 #endif // !_DEVS_CONFIG_H_
struct Enc gYEnc
Definition: devs_config.cpp:31
Definition: encoder.h:16
void Stepper_Init()
Definition: devs_config.cpp:50
struct A4988 IMU_Stepper
Definition: devs_config.cpp:20
struct HMC5883 Body_HMC
Definition: devs_config.cpp:19
void Lidars_Init()
Definition: devs_config.cpp:82
Definition: arduino.h:16
const uint32_t gMax_Robo_Velocity
Definition: game_field.cpp:38
Lidar gYLidar
struct Enc gXEnc
Definition: devs_config.cpp:30
Definition: lidar.h:16
Definition: a4988.h:15
Encoder gXEncoder
struct MPU6050 Body_IMU
Definition: devs_config.cpp:18
Lidar gXLidar
Definition: freewheel.h:14
void Encoders_Init()
Definition: devs_config.cpp:62
Definition: mpu6050.h:34
Arduino_Device gLED_Strip
Encoder gYEncoder
Definition: hmc5883.h:17
void IMU_Init()
Definition: devs_config.cpp:35
const uint32_t gRated_Robo_Velocity
Definition: game_field.cpp:39