Unable to move properly with DroneShell after taking off
I tried to make the drone fly with DroneShell, but after the drone taking off, any following command will make it go crazy. Win10 HIL
The following is what I did:
- Pixhawk is blue blinking and I hit "play" in UE4, the drone shows up in simulator.
- I then open the DroneShell termial, it successfully find the GPS location. I then type "arm", purple blinking. When I type "takeoff" afterwards, pixhawk LED turns to be solid green and the drone takes off as expected.
- I then tried a few commands: e.g. "movetoposition -x 1" and "rotate -duration 1" and many others. The drone will move a little bit and then gradually land (or go crazy). Pixhawk starts purple blinking and the screen shows "Failsafe mode enabled".
Anyone has an idea? Thanks!
I just found the link: https://github.com/Microsoft/AirSim/issues/201. I tried to set the "NAV_RCL_ACT=0" in QGroundControl->Vehicle Setup->Parameters by making it disabled. Is it a right way to do so? The problem still seems to exist....
Hello,
The LED on the Pixhawk should not be purple at any point. When you spawn the quad it is supposed to be green (slow flashing). Please make sure there's no warnings when you open your Pixhawk on QGroundControl.
This can also be caused by computer issues. Please check this link: https://github.com/Microsoft/AirSim/blob/master/docs/hard_drive.md
Thanks!
One other thing to try is also reset the parameters in QGC to default after you flush new firmware. Usually you don't have to but when I upgraded to new versions, sometime drone would behave erratically or just won't takeoff. I reset all params to default, re calibrate RC and set flight modes, things start working again.
hello! I have the same problem as you. I tried to move the drone after taking off with DroneShell(HIL) , but failed . Nothing happened after I entered the "MoveToZ -z -10" or "MoveToPosition -z -10 -x -100 -y -100". Another thing is when I use DroneShell (HIL) to run the drone, it's position didn't change even after taking off ,but when I use RC to run the drone , it's position can reflect the true . Anyone knows why?