Possible to decode messages manually?

I’m asking because my takeoff command is answered from time to time by

2022-07-11 16:16:31,036 [INFO] parrot.py: taking off
2022-07-11 16:16:31,899 [WARNING]       olympe.drone.ANAFI-0000000 - _recv_cmd_cb - Unknown message id: 18 in common.CommonState

From that time on I can only restart the simulator…

Any hint?

A CommonState id of 18 is a mystery indeed. Here’s all the CommonState message IDs:

	ARSDK_CMD_COMMON_COMMONSTATE_ALLSTATESCHANGED = 0,
	ARSDK_CMD_COMMON_COMMONSTATE_BATTERYSTATECHANGED = 1,
	ARSDK_CMD_COMMON_COMMONSTATE_MASSSTORAGESTATELISTCHANGED = 2,
	ARSDK_CMD_COMMON_COMMONSTATE_MASSSTORAGEINFOSTATELISTCHANGED = 3,
	ARSDK_CMD_COMMON_COMMONSTATE_CURRENTDATECHANGED = 4,
	ARSDK_CMD_COMMON_COMMONSTATE_CURRENTTIMECHANGED = 5,
	ARSDK_CMD_COMMON_COMMONSTATE_MASSSTORAGEINFOREMAININGLISTCHANGED = 6,
	ARSDK_CMD_COMMON_COMMONSTATE_WIFISIGNALCHANGED = 7,
	ARSDK_CMD_COMMON_COMMONSTATE_SENSORSSTATESLISTCHANGED = 8,
	ARSDK_CMD_COMMON_COMMONSTATE_PRODUCTMODEL = 9,
	ARSDK_CMD_COMMON_COMMONSTATE_COUNTRYLISTKNOWN = 10,
	ARSDK_CMD_COMMON_COMMONSTATE_DEPRECATEDMASSSTORAGECONTENTCHANGED = 11,
	ARSDK_CMD_COMMON_COMMONSTATE_MASSSTORAGECONTENT = 12,
	ARSDK_CMD_COMMON_COMMONSTATE_MASSSTORAGECONTENTFORCURRENTRUN = 13,
	ARSDK_CMD_COMMON_COMMONSTATE_VIDEORECORDINGTIMESTAMP = 14,
	ARSDK_CMD_COMMON_COMMONSTATE_CURRENTDATETIMECHANGED = 15,
	ARSDK_CMD_COMMON_COMMONSTATE_LINKSIGNALQUALITY = 16,
	ARSDK_CMD_COMMON_COMMONSTATE_BOOTID = 17,

I have more of these:

2022-07-14 10:25:05,129 [WARNING]       olympe.drone.ANAFI-G134295 - _recv_cmd_cb - Unknown message id 0xa2000005
2022-07-14 10:25:05,130 [WARNING]       olympe.drone.ANAFI-G134295 - _recv_cmd_cb - Unknown message id 0xa2000004

This message id correspond to the common.CommonState.FlightId event message that has been supported by every Olympe 7.x release. What is your current Olympe version ?

Those event messages id are obsolete and have already been removed from Olympe.
ANAFI drones continue to send those config/state messages for a feature that is not available on the drone. Anyway those “Unknown message id” errors can safely be ignore for those ids 0xa2000004 and 0xa2000005

This topic was automatically closed after 30 days. New replies are no longer allowed.