demo project
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
Diff: ArmController.cpp
- Revision:
- 18:224289104fc0
- Parent:
- 17:0dbcbd8587fd
- Child:
- 19:2f0ec9ac1238
--- a/ArmController.cpp Fri Jan 22 01:35:07 2016 +0000 +++ b/ArmController.cpp Sat Jan 23 00:08:30 2016 +0000 @@ -3,9 +3,11 @@ #include "threadapi.h" #include <vector> -#include <RobotArm.h> -#include <Sequences.h> -#include <ControllerIo.h> + +#include "RobotArm.h" +#include "Sequences.h" +#include "ControllerIo.h" +#include "ControllerUtil.h" using namespace std; @@ -42,12 +44,6 @@ bool NeedHwReset; -extern void PushPositionAlert(RobotArm& robotArm); -extern void PushLoadAlert(RobotArm& robotArm); -extern void PushTemperatureAlert(RobotArm& robotArm); -extern void PushVoltageAlert(RobotArm& robotArm); -extern void PushHardwareAlert(int partIx, int code); -extern bool PushMeasurements(int partSize, RobotArm& robotArm); // handle commands received from IoT Hub // Add sequence to queue, change state, etc.