Tom Devito 12.20.2011

Start: 10:00

  • Added a temporary simulation class to act as a placeholder til we have a real one.  This could also be used to process the inputs and outputs for the animation.
  • Trying to figure out the best way to manipulate the data.  Currently what I have is a call to recieveData, which imports the data from the buffer into the appropriate data dictionary entries.  Then I run the simulation so that the data gets updated as needed, it also grabs user inputs.  After that it sends the data to the arduino.  I am starting to think that maybe I should seperate the status struct into two parts so that the arduino sensor data doesn’t get overwritten when the pc sends data.
  • Made sensorData independent from the state struct so it didn’t get overwritten when the comes back from the pc with changes.
  • Took name out of the state.  If I need the name for the output, I can get it from the dd entry name.
  • Fixed collision processing in the SoundController class.  The collision processor accepts integers between 0-900.  These values can be negative because it takes the absolute value of the collision data.
  • Decided to make a simulation base class which all simulations will inherit from, instead of the placeholder I started.  Some common variables all simulations will share is max position, scaling factor, deadzone,  sensorData input, output collisions.

End: 6:00