Skip to content

Commit

Permalink
adding documentation for the files
Browse files Browse the repository at this point in the history
  • Loading branch information
akrv committed Dec 20, 2019
1 parent 541f712 commit d6b7dd5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
4 changes: 2 additions & 2 deletions floor_flasher/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@

@parallel
def r():
with cd('~/sensorfloor'):
run('git pull')

run('sudo timedatectl set-timezone Europe/Berlin')


@parallel
Expand Down
30 changes: 28 additions & 2 deletions imu_reader/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
**Latency measurements for looping through the strip**<br/>
**How to start data mesaurement**
using the FLW-NUC or the robot nuc in the hall


`cd ~/sensorfloor`<br />
is where the repo is available <br />

**Collecting Vicon data:** <br />
start vicon data after starting ros core and roslaunch vicon_bridge
cd ~/sensorfloor/imu_reader<br />
python listener.py <br />
this will create a vicon_data.txt file with line delimited json objects which contain a reading with timestamp from the local machine.<br />

**collection imu data**<br />
cd ~/sensorfloor/imu_reader
python live_plotter.py<br />
this will create a file test_data.txt with json per reading per node timestampped at the RPi<br />
it will only start to populate after the next step.

{'interrupt': 0.09613079603026513,<br/>
**starting imu data**<br />
cd ~/sensorfloor/floor_flasher<br />
fab imuread<br />




**Latency measurements for looping through the strip**<br/>
3.8s latency with 7Hz sample rate <br />
{'interrupt': 0.09613079603026513,<br/>
'parsing': 0.000125336809223201,<br/>
'publish': 0.001433641732144518,<br/>
'rs422': 0.006461214208278526,<br/>
Expand Down

0 comments on commit d6b7dd5

Please sign in to comment.