User Tools

Site Tools


projects:crazyflie2:expansionboards:zranger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:crazyflie2:expansionboards:zranger [2017-03-14 14:47]
arnaud
projects:crazyflie2:expansionboards:zranger [2017-04-21 12:19]
tobias [Standard usage]
Line 17: Line 17:
 Z-ranger expansion deck {{ :projects:crazyflie2:expansionboards:z-ranger_rev.b.pdf|schematic}} Z-ranger expansion deck {{ :projects:crazyflie2:expansionboards:z-ranger_rev.b.pdf|schematic}}
  
-===== Usage ===== +===== Default usage ===== 
-The Z-ranger deck will be automatically detected when it is mounted. By default the range is available on the log variable "range.rangebut is not used by the firmware internal algorithm.+The Z-ranger deck will be automatically detected when it is mounted. By default the range is available on the log variable "range.zrangeand is used instead of the pressure by internal algorithms.
  
-To enable altitude control using the Z-ranger, the Crazyflie firmware has to be recompiled with the following config.mk:+The best way to use the Z-Ranger deck is to enable the [[doc:crazyflie:client:pycfclient:index#flightcontrol|Height-hold]] mode in the client. This requires at least client and firmware [[https://github.com/bitcraze/crazyflie-release/releases|2017.04]] so make sure to update your Crazyflie. 
 + 
 + 
 +===== Usage with the experimental Kalman filter ===== 
 + 
 +The Kalman filter is a sensor fusion algorithm that is still experimental. You can try it by recompiling the Crazyflie firmware. 
 + 
 +To enable altitude control using the Z-ranger with the kalman filter, the Crazyflie firmware has to be recompiled with the following config.mk:
 <file make config.mk> <file make config.mk>
 ESTIMATOR=kalman ESTIMATOR=kalman
projects/crazyflie2/expansionboards/zranger.txt · Last modified: 2021-06-24 16:13 by kimberly