For coursework of group 3 in SOFT564Z
Dependencies: Motordriver ros_lib_kinetic
Diff: main.cpp
- Revision:
- 3:7da9888ac8dc
- Parent:
- 1:6a10e58b3d43
- Child:
- 4:8afc50a3e4ac
diff -r b9a495b330fd -r 7da9888ac8dc main.cpp --- a/main.cpp Thu Nov 28 13:04:30 2019 +0000 +++ b/main.cpp Thu Nov 28 13:36:44 2019 +0000 @@ -6,6 +6,7 @@ ------------------------------------------------------------------------------*/ #include "General.hpp" +#include "Battery_Monitor.hpp" // Threads Thread ROS_Thread(osPriorityRealtime); // Create sample_THREAD with highest priority @@ -24,6 +25,8 @@ ROS_Thread.start(ROS_Handler); //Thread2.start(main3); + initBattCheck(); + /**************************************************************************/ initialize(); //initialize(); only needs to be called once, at the start of the program. //the encoder interrupts should be able to handle themselves from there, and do not require