[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Quest about :ROTORCRAFT_COMMANDS_YAW_ALWAYS_ENABLED
From: |
Eltonwu |
Subject: |
[Paparazzi-devel] Quest about :ROTORCRAFT_COMMANDS_YAW_ALWAYS_ENABLED |
Date: |
Sun, 7 Jun 2015 00:24:13 -0700 (MST) |
Actually, It's question about Yaw control.
I read the source code. I found there is no yaw control when in_flight is
false.
#ifndef ROTORCRAFT_COMMANDS_YAW_ALWAYS_ENABLED
#define SetRotorcraftCommands(_cmd, _in_flight, _motor_on) { \
*if (!(_in_flight)) { _cmd[COMMAND_YAW] = 0; } * \
if (!(_motor_on)) { _cmd[COMMAND_THRUST] = 0; } \
commands[COMMAND_ROLL] = _cmd[COMMAND_ROLL]; \
commands[COMMAND_PITCH] = _cmd[COMMAND_PITCH]; \
commands[COMMAND_YAW] = _cmd[COMMAND_YAW]; \
commands[COMMAND_THRUST] = _cmd[COMMAND_THRUST]; \
}
I was confused, Why do this? and My rotorcraft is spined when taking off,
namely no yaw control when in_flight is false.
Thanks in advance.
--
View this message in context:
http://lists.paparazziuav.org/Quest-about-ROTORCRAFT-COMMANDS-YAW-ALWAYS-ENABLED-tp17057.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.
- [Paparazzi-devel] Quest about :ROTORCRAFT_COMMANDS_YAW_ALWAYS_ENABLED,
Eltonwu <=