I have an Iris+ (https://store.3dr.com/products/IRIS) connected to a raspberry pi companion board. My goal is to fly the drone autonomously, without a remote controller. Here are my drone specs:
>>> ArduCopter V3.2 (c8e0f3e1)
>>> PX4: dea2cfd1 NuttX: 7a62e351
>>> Frame: QUAD
>>> PX4v2 0033002C 33334703 36303030
I wrote some Python code to do a simple takeoff using dronekit (http://python.dronekit.io/) and tested it with dronekit's SITL (http://python.dronekit.io/develop/sitl_setup.html) and everything worked as expected.
I tried my code on the physical drone and noticed that I could never get vehicle.is_armable to be True. After some debugging, I found that the ekf private attributes (https://github.com/dronekit/dronekit-python/blob/master/dronekit/__init__.py#L1164) were not being updated. I then tried to log EKF_STATUS_REPORT messages using some custom code, and found that they were not being published at all.
Does anyone know why EKF_STATUS_REPORT aren't being published? Do I need to configure my drone a certain way? My Iris is pretty much factory configured, aside from adding on the companion board for dronekit.
Edit #1:
When I tested on the physical drone, I did not have the remote controller on. For some reason I could not have the remote controller on and connect to the drone via the companion board at the same time.
Replies