I am trying to get a plane to take off in sitl. I start up sitl with sim_vehicle.py and connect to it with my dronekit script. After figuring out the first command in a mission gets ignored I was able to get the plane moving. The only problem is MavProxy shows a negative altitude (~-10) for about a minute before the plane starts going up. During this time I get repeated messages that the plane has crashed at a certain speed but it keeps on moving on the map. After it has reached it's desired altitude and goes into RTL mode, it starts spinning in 1 point and keeps climbing??
I'm very confused here, does anybody know what the problem might be?
Hi all. I'm interested in automating compass and accelerometer calibration via drone-kit python. I've already automated parameter writing through drone-kit and its already saving time.
send_calibrate_magnetometer and a similar function for accel calibration exists in the API. But I'm unsure how I would measure progress of the compass calibration or know that it succeeded. Similarly for accelerometer calibration, I'm not sure how I would prompt the user of my script to turn the vehicle to the next orientation, etc.
I can't find any examples of someone executing sensor calibration via mavlink on a real vehicle rather than a SITL. I would love to be free from the tyranny of Mission Planner, I appreciate any help in advance!
condition_yaw()from "Guided Mode Movement" but I don't think you can condition yaw on rover. It also seems PIVOT_ANGLE doesn't have any affect while in GUIDED mode. Any suggestions on how I can get a rover (configured to skid steer on tracks) to rotate in place?