Products
-
-
- Accessories
- Breakout boards
This is an old revision of the document!
This port groups various packets related to localization. It exposes two channels:
Port | Channel | Name |
---|---|---|
6 | 0 | External Position |
6 | 1 | Generic localization |
This packet is used to send the Crazyflie position as acquired by an external system. The main use it to send the position acquired by a motion capture system to push it in the Extended Kalman Filter to allow the Crazyflie to calculate an estimate and control its state.
The packet format is:
struct CrtpExtPosition { float x; // in m float y; // in m float z; // in m } __attribute__((packed));
This channel intends to host packets useful for the localization subsystem. It has been created to serve the Loco Positioning System packets but can be used for more general things like GPS NMEA or binary streams. The format of the packet is:
Byte | Value | Note |
---|---|---|
0 | ID | ID of the packet |
1.. | Payload | Packet payload. Format defined per ID |
ID | Packet |
---|---|
3 | LPP Short packet tunnel |
Packet used to send LPP short packet to the loco positioning system. The payload is sent to the sytem as an LPP Short Packet.