Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Accelerometer sensor does not load up correctly on startup #45

shahmirj opened this Issue Mar 26, 2014 · 1 comment


None yet
1 participant
Copy link

shahmirj commented Mar 26, 2014

What did you do?
Rebooted the PC, and ran the nightly tests make clean; make

What did you expect?
The tests to pass.

What happened?
The test failed, more specifically the test for Accelerometer failed.

It seems after running the python program manually in playground, the test seems to work. but when using it with C++ the test fails every time on reboot. Maybe a reset step is required on the board.

@shahmirj shahmirj added this to the Sensors milestone Mar 26, 2014

@shahmirj shahmirj added the bug label Mar 26, 2014

@shahmirj shahmirj self-assigned this Mar 26, 2014

@shahmirj shahmirj added test and removed test labels Mar 26, 2014


This comment has been minimized.

Copy link
Member Author

shahmirj commented Mar 27, 2014

The following is the output of playground/bin/dashee-ADXL345 after a fresh reboot

0,          0,          0, 
0,          0,          0, 
0,          0,          0, 

But when running playground/bin/9DOF-ADXL345 (python test program) the values are:

10.000000     0.000000   241.000000
7.000000    -1.000000   241.000000
10.000000    -1.000000   237.000000

After this when using the playgroud/bin/dashee-ADXL345 the values start appearing:

0.306458,          0,    9.30866, 
0.268151,          0,     9.0022, 
0.229843,          0,    9.04051, 

Finally when running the accelerometer tests I get a good output:

pi@test ~/repo/dashee/server> bin/tests/testHardwareAccelerometerADXL345 
OK (15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.