Did anyone get the Cylon Crazyflie adapter to work?

Firmware/software/electronics/mechanics
orcinus
Member
Posts: 36
Joined: Thu Jan 23, 2014 11:03 pm

Re: Did anyone get the Cylon Crazyflie adapter to work?

Post by orcinus »

Hah, i was actually intending to do the same (visualization using d3).
For some reason, though, i got no control ever and telemetry only sometimes.

Still haven't tried Kikill's depo, though (too much stuff going on at work).
sansoy
Beginner
Posts: 1
Joined: Sat Jul 26, 2014 1:48 pm

Re: Did anyone get the Cylon Crazyflie adapter to work?

Post by sansoy »

I'm having the exact same issue with the exact same sporadic results listed below. Motors spin fine on power up and i see the green lights on both Crazyflie and Crazyradio but the motors never spin up. I was able to confirm that the telemetry from the onboard instrumentation is working thru cfclient.

any ideas?


orcinus wrote:Cylon uses aerogel.

Anyways, no luck there either, it's aerogel that actually hangs waiting for (something).
Didn't have much time to debug, unfortunately.

It finds the cf, gets the URI, then something in the connect method hangs.
The weird part is, the output/behaviour are not always the same.

Sometimes i just get:

Code: Select all

STATE: setup --> connected
Sometimes i get:

Code: Select all

STATE: setup --> connected
starting telemetry
telemetry ready; elapsed= 439
{ 'pm.state': 
   { id: 1,
     type: 4,
     group: 'pm',
     name: 'state',
     fullname: 'pm.state' },
  'sys.canfly': 
   { id: 2,
     type: 4,
     group: 'sys',
     name: 'canfly',
     fullname: 'sys.canfly' },
  'acc.x': { id: 3, type: 7, group: 'acc', name: 'x', fullname: 'acc.x' },
  'acc.y': { id: 4, type: 7, group: 'acc', name: 'y', fullname: 'acc.y' },
  'acc.z': { id: 5, type: 7, group: 'acc', name: 'z', fullname: 'acc.z' },
  'acc.zw': { id: 6, type: 7, group: 'acc', name: 'zw', fullname: 'acc.zw' },
  'acc.mag2': 
   { id: 7,
     type: 7,
     group: 'acc',
     name: 'mag2',
     fullname: 'acc.mag2' },
  'baro.asl': 
   { id: 8,
     type: 7,
     group: 'baro',
     name: 'asl',
     fullname: 'baro.asl' },
  'baro.aslRaw': 
   { id: 9,
     type: 7,
     group: 'baro',
     name: 'aslRaw',
     fullname: 'baro.aslRaw' },
  'baro.aslLong': 
   { id: 10,
     type: 7,
     group: 'baro',
     name: 'aslLong',
     fullname: 'baro.aslLong' },
  'baro.temp': 
   { id: 11,
     type: 7,
     group: 'baro',
     name: 'temp',
     fullname: 'baro.temp' },
  'baro.pressure': 
   { id: 12,
     type: 7,
     group: 'baro',
     name: 'pressure',
     fullname: 'baro.pressure' },
  'motor.m4': 
   { id: 13,
     type: 6,
     group: 'motor',
     name: 'm4',
     fullname: 'motor.m4' },
  'motor.m1': 
   { id: 14,
     type: 6,
     group: 'motor',
     name: 'm1',
     fullname: 'motor.m1' },
  'motor.m2': 
   { id: 15,
     type: 6,
     group: 'motor',
     name: 'm2',
     fullname: 'motor.m2' },
  'motor.m3': 
   { id: 16,
     type: 6,
     group: 'motor',
     name: 'm3',
     fullname: 'motor.m3' },
  'stabilizer.roll': 
   { id: 17,
     type: 7,
     group: 'stabilizer',
     name: 'roll',
     fullname: 'stabilizer.roll' },
  'stabilizer.pitch': 
   { id: 18,
     type: 7,
     group: 'stabilizer',
     name: 'pitch',
     fullname: 'stabilizer.pitch' },
  'stabilizer.yaw': 
   { id: 19,
     type: 7,
     group: 'stabilizer',
     name: 'yaw',
     fullname: 'stabilizer.yaw' },
  'stabilizer.thrust': 
   { id: 20,
     type: 2,
     group: 'stabilizer',
     name: 'thrust',
     fullname: 'stabilizer.thrust' },
  'altHold.err': 
   { id: 21,
     type: 7,
     group: 'altHold',
     name: 'err',
     fullname: 'altHold.err' },
  'altHold.target': 
   { id: 22,
     type: 7,
     group: 'altHold',
     name: 'target',
     fullname: 'altHold.target' },
  'altHold.zSpeed': 
   { id: 23,
     type: 7,
     group: 'altHold',
     name: 'zSpeed',
     fullname: 'altHold.zSpeed' },
  'altHold.vSpeed': 
   { id: 24,
     type: 7,
     group: 'altHold',
     name: 'vSpeed',
     fullname: 'altHold.vSpeed' },
  'altHold.vSpeedASL': 
   { id: 25,
     type: 7,
     group: 'altHold',
     name: 'vSpeedASL',
     fullname: 'altHold.vSpeedASL' },
  'altHold.vSpeedAcc': 
   { id: 26,
     type: 7,
     group: 'altHold',
     name: 'vSpeedAcc',
     fullname: 'altHold.vSpeedAcc' },
  'gyro.x': { id: 27, type: 7, group: 'gyro', name: 'x', fullname: 'gyro.x' },
  'gyro.y': { id: 28, type: 7, group: 'gyro', name: 'y', fullname: 'gyro.y' },
  'gyro.z': { id: 29, type: 7, group: 'gyro', name: 'z', fullname: 'gyro.z' },
  'vpid.pid': 
   { id: 30,
     type: 7,
     group: 'vpid',
     name: 'pid',
     fullname: 'vpid.pid' },
  'vpid.p': { id: 31, type: 7, group: 'vpid', name: 'p', fullname: 'vpid.p' },
  'vpid.i': { id: 32, type: 7, group: 'vpid', name: 'i', fullname: 'vpid.i' },
  'vpid.d': { id: 33, type: 7, group: 'vpid', name: 'd', fullname: 'vpid.d' },
  'mag.x': { id: 34, type: 7, group: 'mag', name: 'x', fullname: 'mag.x' },
  'mag.y': { id: 35, type: 7, group: 'mag', name: 'y', fullname: 'mag.y' },
  'mag.z': { id: 36, type: 7, group: 'mag', name: 'z', fullname: 'mag.z' } }
STATE: connected --> waiting
I'll play a bit more with it the next weekend (hopefully that one will be free unlike the past few :( ).
Post Reply