Andrew Tridgell
5643c371b9
AP_InertialSensor: removed unused new_data_available() and temperature() APIs
12 years ago
Andrew Tridgell
7b1245937c
AP_InertialSensor: always sample at 200Hz in MPU6000
...
this changes the sampling to 200Hz regardless of requested rate, and
it is downsampled inside num_samples_available() using a shift. This
gives better noise resistance in ArduPlane.
This patch also makes it possible to update the filter frequency while
running, which is very useful for bench testing with a vibration
source
12 years ago
Andrew Tridgell
9c65e98dc2
autotest: expand the comment a bit more
12 years ago
Andrew Tridgell
deb825b575
autotest: added some hints to sim_arduplane.sh
12 years ago
Michael Oborne
0fd9337067
Mission planner moved notice
12 years ago
Andrew Tridgell
3913c42183
Plane: fixed bit combination
...
bitwise, not arithmetic
12 years ago
Jochen Tuchbreiter
c5f19f5df8
Plane: Implement issue 80: counterclockwise loiter
...
- libraries/AP_Common/AP_Common.h: Use bit 2 of Location.options to store
loiter direction
- ArduPlane/defines.h: New bitmask MASK_OPTIONS_LOITER_DIRECTION for struct
Location bit 2
- ArduPlane/ArduPlane.pde: New variable loiter_direction
- ArduPlane/GCS_Mavlink.pde: For mavlink loiter-commands use sign of param3 to
detemine direction. Set Location.option flag accordingly
- ArduPlane/commands.pde: Make sure loiter-directions get saved into EEPROM
correctly
- ArduPlane/commands_logic.pde: Set loiter_direction on all loiter-actions
as well as RTL/instant loiter
- ArduPlane/navigation.pde: Yield loiter_direction in update_loiter
12 years ago
Brandon Jones
fa7839941f
After Plane: cleanup driver declaration 4d9a74d
, HIL_MODE_ATTITUDE with MAG_ENABLE=1 set results in continuous reboot/APM crash. Added define for AP_COMPASS_HIL when HIL_MODE_ATTITUDE is enabled.
12 years ago
Michael
b9a5be6c8b
Plane: added secondary elevator support
12 years ago
Michael
5d91b06de3
RC_Channel: added secondary elevator support
12 years ago
Andrew Tridgell
e762c43312
Plane: switch to an array for stream rates
...
this saves a couple of hundred bytes of flash.
12 years ago
Pat Hickey
02518ec95f
import FollowMe into new repo
12 years ago
Andrew Tridgell
db8da71f65
Revert "AP_HAL_AVR: Improved AVRTimer micros() and millis()"
...
This reverts commit 527dcdf3b9
.
This was causing the MPU6000 startup code to fail, due to time running
backwards.
12 years ago
Pat Hickey
85d783d5a9
ArduPlane: fixed memory unsafe member access in GCS_MAVLINK
12 years ago
Pat Hickey
d418197898
ArduCopter: fixed memory unsafe member access in GCS_MAVLINK
...
* Smokey, this is not 'Nam. this is bowling. there are rules
12 years ago
John Arne Birkeland
527dcdf3b9
AP_HAL_AVR: Improved AVRTimer micros() and millis()
...
- More efficient code by using 16-bit timer
- micros() now has proper 1 us resolution and less overhead
- millis() has less overhead
- removed unneeded/unwanted initializatin of timers in AVRTimer::init()
pull request 62, approved and merged by pat
12 years ago
Randy Mackay
9d34ead486
Copter: fix up some casting issues for wp_distance
12 years ago
Randy Mackay
df1c0d92bd
Copter: manual throttle scaling fix
...
Scaling of bottom half of throttle was changed from THR_MIN ~ 500.
Previously it was from 0 ~ 500.
12 years ago
Randy Mackay
a0b65a262b
Copter: use scaled throttle for accel-throttle's I term
...
Accel throttle's I term is taken from scaled manual throttle
12 years ago
Randy Mackay
06a71af12f
Copter: THR_MID used to scale manual throttle
12 years ago
Randy Mackay
4813526725
Copter: bug fix for autotrim's roll axis backwards
12 years ago
rmackay9
9c3b9907dd
Copter: bug fix to set sonar_alt_health to zero when disabled
12 years ago
Randy Mackay
70371be4a1
Copter: use AP_Math's longitude_scale
...
bug fix to base scaling on home location instead of next_WP which may
not have been initialised
12 years ago
Randy Mackay
7729ec950e
AP_Math: longitude_scale function made public
...
Added LATLON_TO_M and LATLON_TO_CM #defines
12 years ago
Andrew Tridgell
4fd7630ec9
HAL_PX4: IO_SET_FEATURES is not needed any more
12 years ago
Andrew Tridgell
8375abdd99
HAL_PX4: fixed max storage write size
12 years ago
Andrew Tridgell
e4a204d2f6
HAL_PX4: reopen storage file on any IO error
12 years ago
Randy Mackay
6f5050a8b9
Copter: minor casting fixup for wp_distance
12 years ago
Randy Mackay
bad81a5113
AP_InertialSensor_MPU6k: remove unnecessary check of sign when receiving fifo packet from dmp
12 years ago
Andrew Tridgell
ebb7f27962
Plane: minor signed/type fixups
12 years ago
Andrew Tridgell
32d702e912
Rover: fixed logging build errors
12 years ago
Andrew Tridgell
3caaa27526
Plane: fixed build errors in logging
12 years ago
Andrew Tridgell
90e264d56a
HAL_PX4: disable manual override in PX4 for now
12 years ago
Andrew Tridgell
02b4ecc273
HAL_PX4: get RC input from PX4IO board
...
this allows us to support DSM and SBUS receivers
12 years ago
Randy Mackay
72414085b2
Rover: logging changes to use new faster packet method
12 years ago
Randy Mackay
bb21194fd7
Rover: CUR and CURR renamed to CURRENT in dataflash
...
Based on user complaint re inconsistency of disabling/enabling and
output in dataflash
12 years ago
Randy Mackay
648caff1c6
Rover: make dataflash output all csv format
12 years ago
Randy Mackay
7bfe659626
Rover: rename RAW dataflash message to IMU
12 years ago
Randy Mackay
7297a1ff83
Plane: renamed RAW dataflash message to IMU
12 years ago
Randy Mackay
ce370bab0c
Copter: rename CUR and CURR to CURRENT for logging
...
Based on user complaint that enable/disable was using CUR while message
was appearing as CURR
12 years ago
Randy Mackay
e674626fd6
Plane: rename CUR and CURR to CURRENT for logging
...
Based on user complaint that log was enabled/disabled using CUR while
message that appeared in log was CURR.
12 years ago
Randy Mackay
6f46f4a7d0
Plane: logging changes to use new faster packet method
...
also RAW message renamed to IMU
12 years ago
Randy Mackay
fb1358a629
Copter: make all message output csv
12 years ago
Randy Mackay
d2767b911c
AP_Math: switch get_distance_cm to return uint32_t
...
Includes changes required on ArduCopter and ArduPlane side as well
12 years ago
Randy Mackay
0056bfadd7
Copter: rename ROLL_PITCH_LOITER
...
new name ROLL_PITCH_LOITER_INAV makes it more clear that it should only
be used with the new inertial nav loiter controllers
12 years ago
Andrew Tridgell
d7409b6a25
HAL_PX4: startup in low priority to fix CLI
...
this ensures that tight sensor loops in setup() can run without
sleeping
12 years ago
Andrew Tridgell
7359348e2c
HAL_PX4: added support for /fs/microsd/APM/nostart
...
prevents APM startup
12 years ago
Andrew Tridgell
8f2f4b1bc5
HAL_PX4: use write() to /dev/pwm_output for servo output
...
this lowest the cost of PWM output a lot, but relies on the new I2C
based IO firmware
12 years ago
Andrew Tridgell
9178022a73
Plane: don't change trims if radio_in is zero
12 years ago
Andrew Tridgell
9b4c75c66b
RC_Channel: don't change trim if radio in is zero
12 years ago