abearman / sparrow-dev

Automatic indoor drone navigation. Go where others can't.
3 stars 2 forks source link

Figure out how to do drone compass calibration indoors #28

Open abearman opened 8 years ago

abearman commented 8 years ago

Can't get it to do compass or level calibration indoors, in the loft or just outside.

abearman commented 8 years ago

Fixed level calibration (that can be done indoors or outdoors) by doing a factory reset of the drone. Compass calibration can be disabled by setting vehicle.parameters['ARMING_CHECK'] = -5 before arming. We need to figure out (a) if we can calibrate the compass indoors, e.g. by putting a piece of cardboard or wood underneath the drone to separate it from metal/concrete. I've seen people flying the Solo indoors, so this seems plausible. (b) We need to figure out if the compass is only used for orientation of the drone. If so, we have the Tango to do this for us, so we can disable the compass, no problem. If it's used for other things (such as stabilization of the drone), then we have to figure out how to use it indoors.