szmoore / MCTX3420

2013 MCTX3420 UWA Team 4
7 stars 7 forks source link

Update control code #37

Closed jtanx closed 11 years ago

jtanx commented 11 years ago

It probably works...

All the Start/Stop/* functions for Actuator/Sensor have been removed and replaced with Sensor_SetMode/Actuator_SetMode. They shouldn't be called except from Control_SetMode, because Control_SetMode keeps track of the current state and prevents certain stupidities (like stopping an already stopped experiment).

Still to add:

I've been staring at this code for too long =.=

jtanx commented 11 years ago

Usage: