jiahan / atrias

Automatically exported from code.google.com/p/atrias
0 stars 0 forks source link

Revise logging scheme. #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the RT controller logs at 1 kHz while the GUI grabs a single clump 
of data at around 30 Hz (just enough to update the graphical display).

wireless_kern_interface runs two threads: msg_thread and datalogging_thread.

msg_thread... I'm not sure what this does. It might be the messenger between 
user space and kernel space.

datalogging_thread opens a logfile and logs an entry every loop.

The change: datalogging_thread should store 50 to 100 lines of log data at a 
time to send to the GUI in bursts (i.e., 20 to 10 Hz). Bandwidth could be saved 
by storing the values as floats instead of strings. This would be an addition 
to the local logging that is already performed on the nettop.

Original issue reported on code.google.com by yoos117@gmail.com on 28 Oct 2011 at 3:15

GoogleCodeExporter commented 8 years ago
Created data logging publisher and subscriber in package atrias_controllers. 
Getting all 1000 datapoints per second over the wireless connection is handled 
by ROS.

Original comment by yoos117@gmail.com on 3 Nov 2011 at 8:56