Team-1922 / TinMan2016

The year the code works
0 stars 0 forks source link

Procedural Integration: how do we get sensor data? #37

Open KevinMackenzie opened 8 years ago

KevinMackenzie commented 8 years ago

What is the best way to pass sensor data to the procedural integration process? Also, since the accelerometer could receive very spiky results (high-impact), the update time needs to be very fast.

AndrewRPorter commented 8 years ago

Can you pass data through the robo rio?

On Tue, Mar 29, 2016 at 7:34 PM, Kevin Mackenzie notifications@github.com wrote:

What is the best way to pass sensor data to the procedural integration process? Also, since the accelerometer could receive very spiky results (high-impact), the update time needs to be very fast.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Team-1922/TinMan2016/issues/37

Andrew Porter Robotics Programmer Student-Senior John Stark Regional High School Weare, NH 03281

KevinMackenzie commented 8 years ago

the procedural integration process is run on the roborio, but is running asynchronously and needs the data every update period. There might need to be a thread-safe access method for the information we need built into the drive train class for its encoder values (locking). This will complicate other code trying to access the sensor data, but not by much.