Skip to content

Instantly share code, notes, and snippets.

@jmorrell
Created July 26, 2013 13:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmorrell/6088975 to your computer and use it in GitHub Desktop.
Save jmorrell/6088975 to your computer and use it in GitHub Desktop.
Crazyflie aerogel test
scripts $ node telemetry.js
just connecting & sitting to log some telemetry info...
radio://1/10/250KPS
Using copter at radio://1/10/250KPS
STATE: setup --> connected
starting telemetry
CONSOLE: SYS: Build 31:ba1d111112ad (20
CONSOLE: 13.4) CLEAN
CONSOLE: SYS: I am 0x872036575552864966
CONSOLE: K].
CONSOLE: IMU: HMC5883 I2C connection [O
CONSOLE: K].
CONSOLE: IMU: MS5611 I2C connection [OK
CONSOLE: ].
CONSOLE: MPU6050: Self test [OK].
CONSOLE: HMC5883L: Self test [OK].
CONSOLE: MS5611: Self test [OK].
telemetry ready; elapsed= 321
// hangs a long time here
entered bail()
scripts $
scripts $
scripts $
scripts $ node telemetry.js
just connecting & sitting to log some telemetry info...
radio://1/10/250KPS
Using copter at radio://1/10/250KPS
STATE: setup --> connected
starting telemetry
telemetry ready; elapsed= 265
// hangs a long time here
entered bail()
scripts $
@ceejbot
Copy link

ceejbot commented Jul 26, 2013

Yeah, this is exactly the bug I need to fix this weekend. Mine sometimes hangs too. Rebooting the crazyflie & re-running can help. Also, running tip-of-tree master might help, because I have done some work on this. The root of the problem is that packets are getting dropped (not sure why yet) and I need to timeout fast & retry.

Sometimes it'll just work perfectly. No clue what's the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment