Emlid

Community Forum

Getting servos to actually move (Navio2)


(Phil Tomson) #1

Hi,

I’m a bit of a newbie, but I’ve inherited a setup that was said to be working. Running arduplane on a RPi 3 with a NAVIO2 board.

Without arduplane running, I can run the example Servos.py and see servos actually move.

However, when I start up arduplane:

$ sudo /usr/bin/arduplane -A udp:127.0.0.1:14550

And then startup mavproxy.py in a different window:

$ mavproxy.py --master=udp:127.0.0.1:14550
Connect udp:127.0.0.1:14550 source_system=255
MANUAL> Mode MANUAL
Arming checks disabled
APM: ArduPlane V3.8.1 (4216a2c7)

Arm throttle:

MANUAL> APM: Throttle armed
Got MAVLink msg: COMMAND_ACK {command : 400, result : 0}

And then try to do set servo:

MANUAL> servo set 3 1250
MANUAL> Got MAVLink msg: COMMAND_ACK >{command : 183, result : 4}
MANUAL> servo set 2 1250
MANUAL> Got MAVLink msg: COMMAND_ACK {command : 183, result : 4}

I don’t actually observe or hear any movement of the servos.
I’ve also tried unchecking all arm checks:

MANUAL> arm uncheck all

That made no difference either.

Any ideas what’s stopping the servos from responding?


(Sebastian) #2

I might be wrong, but you can not move the primary servos with the “set servo” command. This command is only meant for auxilliary servos/channels.
Move the servos with your RC TX or a Joystick instead.


(Phil Tomson) #3

This is even the case in MANUAL mode?


(Sebastian) #4

It has nothing to do with the flight mode. It is a security meassure. It would be really nasty to accidently set the vehicle to full throttle, because you entered the wrong number for the “set servo” command.