Mid level control code
Dependencies: ros_lib_kinetic
Diff: LLComms.h
- Revision:
- 22:82871f00f89d
- Parent:
- 14:54c3759e76ed
- Child:
- 24:bc852aa89e7a
--- a/LLComms.h Tue Dec 11 15:45:01 2018 +0000 +++ b/LLComms.h Wed Dec 12 08:41:06 2018 +0000 @@ -27,7 +27,10 @@ Mutex mutChannel[N_CHANNELS]; bool isDataReady[N_CHANNELS]; // Flag to indicate path data is ready for transmission to low level. int demandPosition[N_CHANNELS]; // 13-bit value to be sent to the actuator + int demandSpeed[N_CHANNELS]; // 13-bit value to be sent to the actuator char chrErrorFlag[N_CHANNELS]; // 3 error bits from LL + double positionSensor_m[N_CHANNELS]; // The actual chamber lengths in meters given as the change in length relative to neutral (should always be >=0) + double pressureSensor_bar[N_CHANNELS]; // The pressure in a given chamber in bar (1 bar = 100,000 Pa) LLComms(); // Constructor //~LLComms(); // Destructor