Randy Mackay
7233a567fb
TradHeli: add accessor for phase_angle
11 years ago
Randy Mackay
c9c803ffd4
TradHeli: move STAB_COL_MIN to main parameter list
11 years ago
Randy Mackay
b71c6bfd76
TradHeli: add RSC_RUNUP_TIME param and rotor speed estimate
11 years ago
Randy Mackay
bc4dba0eea
TradHeli: ext gyro gain range 0 to 1000
11 years ago
Randy Mackay
197fc67897
TradHeli: move pilot desired rotor speed to heli.pde
11 years ago
Randy Mackay
942c14258b
TradHeli: ramp up changes
...
Rewrote tail and main rotor ramp up methods
Moved direct drive ESC speed control into rsc_control method
Pass in ch7 servo as servo_aux to TradHeli motors object constructor
split CH7_SETPOINT parameter into GYR_GAIN and DIRECTDRIVE parameters
replaced RSC_RATE with uint8_t RSC_RAMP_TIME parameter
rename GOV_SETPOINT parameter to RSC_SETPOINT
RSC_MODE parameter description updated to indicate it controls the
source of main rotor speed
11 years ago
Robert Lefebvre
9ac051c56d
TradHeli: BugFix to ColYaw
...
Credit to Jolyon Saunders for finding this bug.
11 years ago
Robert Lefebvre
4426060ccc
TradHeli: COLYAW not applied when the motor is not running
11 years ago
Robert Lefebvre
9ae66c1773
TradHeli: add support for drive tail rotors
...
Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
11 years ago
Randy Mackay
7ae0d3320b
TradHeli: add landing collective min
11 years ago
Randy Mackay
1f65bb537f
TradHeli: add get_pilot_desired_collective
...
Perhaps this should be moved to the main code's heli.pde sketch
11 years ago
Randy Mackay
13a412ee21
TradHeli: make parameters and variables private
...
add accessors for variables and params required in main code
replace tabs with spaces
11 years ago
Randy Mackay
2cc48ffcd6
Copter: formatting and param description changes
11 years ago
Randy Mackay
f5488bc447
HAL: MPU6k and Baro SPI to 8Mhz
11 years ago
Andrew Tridgell
08a6503364
HAL_AVR: force all devices on SPI0 to low speed when one is low speed
...
this forces MS5611 to low speed when MPU6K is low speed
11 years ago
Andrew Tridgell
71bb462ad0
AP_InertialSensor: use fabsf()
11 years ago
Andrew Tridgell
aef9289476
AP_InertialSensor: added INS_PRODUCT_ID values
11 years ago
Randy Mackay
d54b1ea446
CopterMotors: fix example sketch
11 years ago
Randy Mackay
ce045c77a4
Copter: remove unused variable from Single copter
11 years ago
Randy Mackay
bcbf0feff0
GPS Glitch: revert accel max to 10m/s/s
...
This may not be the best real world value but it keeps the autotester
from failing because it recovers from the glitch before the 5second
time-out on the GPS failsafe
11 years ago
Randy Mackay
14dc1a1c88
Copter: add @User and @Increment to motor params description
11 years ago
Randy Mackay
e53c57b0a6
Copter: default SPIN_WHEN_ARMED to zero
11 years ago
Randy Mackay
3bd124eb72
GPS Glitch: radius and accel max to 5m and 5m/s/s
11 years ago
Randy Mackay
81d83f1c55
SingleCopter: formatting changes
...
replace tab with 4-spaces
remove blank lines
11 years ago
ssq870424
07d3f2a3c5
Copter: add support for singlecopter airframe
...
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
11 years ago
Andrew Tridgell
f10a4b04ae
AP_InertialSensor: make PX4 healthy call _get_sample()
...
this prevents a false positive during times like arming where we are
not reading the sensors
11 years ago
Andrew Tridgell
cfad814bfb
AP_L1_Control: fixed switchover from loiter capture to circling
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Paul Riseborough
49fe7fea07
L1_Control : Added hysteresis for rear WP capture
11 years ago
Andrew Tridgell
1393ed58d0
AP_L1_Control: fixed waypoint approach logic
...
this could cause the RTL approach to not break off onto the circle
correctly
11 years ago
Andrew Tridgell
80def01fbe
AP_InertialSensor: fixed semaphore error on startup for MPU6000
11 years ago
Andrew Tridgell
3262022195
DataFlash: print FMT messages for wrapped logs
...
this ensures we have FMT messages in every log, even if the log was
wrapped and the FMT messages were overwritten
11 years ago
Andrew Tridgell
4f871c87f1
AP_AHRS: detect and try to cope with bad accels
11 years ago
Andrew Tridgell
f5299e2e11
AP_InertialSensor: added healthy check for PX4 and HIL
...
used to detect bad accels
11 years ago
Andrew Tridgell
428479b9d5
SITL: added SIM_ACCEL_FAIL option
...
used to test accelerometer failure in flight
11 years ago
Andrew Tridgell
9d7f24f754
AP_Airspeed: added healthy() API
11 years ago
Andrew Tridgell
8a65a729f3
AP_Baro: start MS5611 at high speed
11 years ago
Andrew Tridgell
9ecd889e9d
AP_InertialSensor: detect bad MPU6000 SPI transactions and lower bus speed
...
this uses bad data or bad INT_STATUS values from the MPU6000 to detect
the sensor running too fast and lower bus speed
11 years ago
Andrew Tridgell
d2deee07df
AP_Math: fixed zero function for integer vectors
11 years ago
Andrew Tridgell
b98bcbf715
AP_InertialSensor: automatically lower bus speed on mpu6k bad reads
11 years ago
Andrew Tridgell
bdc40cc7df
AP_InertialSensor: try to lower SPI bus speed on errors
11 years ago
Andrew Tridgell
11e1cf31c4
HAL_AVR: changed to 16 byte bulk transfer on SPI0
11 years ago
Andrew Tridgell
900ea5dde0
DataFlash: make the SITL dataflash log 4x larger
11 years ago
Andrew Tridgell
a86ec8c786
AP_Menu: fixed double display of prompt
11 years ago
Andrew Tridgell
45381e5341
AP_Menu: added check_for_input() API
...
this allows for async use of the menus, so that a main loop can run
while allowing the user to enter menu commands
11 years ago
Andrew Tridgell
46724db144
AP_Menu: zero buffer contents on allocation
11 years ago
Andrew Tridgell
470e5f570d
AP_Menu: dynamically allocate the menu buffers
...
this saves memory when the menus are not used, and allows for the
commandline and argument limits to be changed
11 years ago
Andrew Tridgell
ff73773de4
AP_GPS: try harder to get 5Hz updates from a uBlox
...
check for getting at least one 5Hz update every 15s
11 years ago
Andrew Tridgell
56bcda7252
AP_AHRS: lower default roll and yaw drift correction speed
...
the gyros sustain accuracy over much longer time periods than
previously expected
11 years ago
Andrew Tridgell
24d1cf3bd6
HAL_PX4: don't check USB for data if not connected
11 years ago
Andrew Tridgell
8dc6b758f3
HAL_PX4: switch to delay_microseconds_semaphore() for UART timer
...
this may prevent some timing jitter on the GPS UARTs
11 years ago