Subsytem handling localization-related data communication
Classes
Localization
Localization(crazyflie=None)
Handle localization-related data communication with the Crazyflie
Initialize the Extpos object.
Class variables
COMM_GNSS_NMEA
COMM_GNSS_PROPRIETARY
EMERGENCY_STOP
EMERGENCY_STOP_WATCHDOG
EXT_POSE
EXT_POSE_PACKED
GENERIC_CH
LH_ANGLE_STREAM
LH_PERSIST_DATA
LPS_SHORT_LPP_PACKET
POSITION_CH
RANGE_STREAM_REPORT
RANGE_STREAM_REPORT_FP16
Methods
def send_emergency_stop(self)
Send emergency stop
def send_emergency_stop_watchdog(self)
Send emergency stop watchdog
def send_extpos(self, pos)
Send the current Crazyflie X, Y, Z position. This is going to be forwarded to the Crazyflie’s position estimator.
def send_extpose(self, pos, quat)
Send the current Crazyflie pose (position [x, y, z] and attitude quaternion [qx, qy, qz, qw]). This is going to be forwarded to the Crazyflie’s position estimator.
def send_lh_persist_data_packet(self, geo_list, calib_list)
Send geometry and calibration data to persistent memory subsystem
def send_short_lpp_packet(self, dest_id, data)
Send ultra-wide-band LPP packet to dest_id
LocalizationPacket
LocalizationPacket(type, raw_data, data)
localizationPacket(type, raw_data, data)
Ancestors (in MRO)
- builtins.tuple
Instance variables
data
Alias for field number 2
raw_data
Alias for field number 1
type
Alias for field number 0