Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console gets into stabilize mode and annot switch modes #2

Closed
patrickpoirier51 opened this issue Sep 1, 2016 · 1 comment
Closed

Comments

@patrickpoirier51
Copy link

Hello Daniel
Just started as per your instructions: sim_vehicle.sh --console --map

-map
~/ardupilot/ArduCopter ~/ardupilot/ArduCopter
Building sitl
// BUILDROOT=/tmp/ArduCopter.build HAL_BOARD=HAL_BOARD_SITL HAL_BOARD_SUBTYPE=HAL_BOARD_SUBTYPE_NONE TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="cf6d0db0"
~/ardupilot/ArduCopter
Starting up at CMAC : -35.363261,149.165230,584,353
Starting ardupilot : /home/patrick/ardupilot/ArduCopter/ArduCopter.elf -S -I0 --home -35.363261,149.165230,584,353 --model + --speedup=1
Connect tcp:127.0.0.1:5760 source_system=255
Loaded module console
Loaded module map
DroneAPI loaded
Loaded module droneapi.module.api
DroneAPI loaded
Loaded module droneapi.module.api
Log Directory:
Telemetry log: mav.tlog
MAV> Waiting for heartbeat from tcp:127.0.0.1:5760
STABILIZE> arm Received 555 parameters
Saved 555 parameters to mav.parm
throttle
STABILIZE> mode guided
STABILIZE> setting mode
(4, 0)

STABILIZE>
then I arm throttle == ARMED
but when I try to get mode guided , we get this message on console:
Got MAVLink msg: COMMAND_ACK {command : 176, result : 3}

It cannot switch to any mode

@patrickpoirier51
Copy link
Author

UDDATE: I deinstalled your copy of PYMAVLINK and installed the standard method :
sudo pip install pymavlink
and I could change modes on the simulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant