rmackay9
4e85e545bf
ArduCopter: added NUM_IMU_SAMPLES_FOR_XYZHZ definitions for MPU6000 and Oilpan to allow more syncing of the mainloop with the arrival of data from the IMU.
2012-09-10 11:37:48 +09:00
rmackay9
5a3645d36a
AP_ADC: added num_samples_available to allow main loop to be synced with arrival of new sensor data for Oilpan.
2012-09-10 11:37:43 +09:00
rmackay9
38feee9c61
AP_IMU: added num_samples_available to allow main loop timing to be synced with arrival of new data from IMU.
2012-09-10 11:37:38 +09:00
rmackay9
3901387c8d
AP_InertialSensor: changed read of sensor from MPU6000 to happen immediately
...
This reduces the delay between when data arrives and when it is used
by up to 1ms.
Added num_samples_available method to all InertialSensors to allow
main loop timing to be synced with sensors.
2012-09-10 11:37:33 +09:00
Andrew Tridgell
29344e688d
APM: reboot only works on the APM2
2012-09-10 11:50:48 +10:00
Andrew Tridgell
d08bd4214b
APM: added support for MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN
...
this allows for remote reboot of APM
2012-09-10 11:42:30 +10:00
Andrew Tridgell
57ac3f59f2
APM: fixed fetch of relative altitude waypoints
...
when we fetch relative altitude waypoints from APM to a file, we need
to preserve the altitude
2012-09-10 09:40:29 +10:00
Craig Elder
b667c6eb8c
APM_RC: fixed noisy PWM output on startup for APM2
...
This reduces the number of rubbish pulses on the APM2 PWM output pins
on startup, which should help with booting some cheaper ESCs.
Thanks to Randy for the idea!
2012-09-10 08:09:28 +10:00
rmackay9
8f993cde2b
ArduCopter: bug fix for ROI not working if user did not have a camera mount
...
Changed verify_nav_roi command to attempt to point at the target if our camera mount type is not pan_tilt nor pan_tilt_roll
2012-09-10 02:03:32 +09:00
Michael Oborne
e9fdbfa969
firmware build
2012-09-09 18:09:07 +08:00
Andrew Tridgell
b374f604d6
APM: simplify radio_trim code
...
this removes the duplicate code. Throttle trim is not changed.
2012-09-09 19:39:09 +10:00
Andrew Tridgell
a90182b9d8
APM: fixed throttle nudging
...
The nudge value depended on RC3_TRIM, which is not a reliable
value. It tried to only take effect when the throttle stick was above
50%, but if RC3_TRIM was high for some reason (say 1500) then it would
actually depress the throttle by a large amount, which could cause the
plane to stall.
This also adds a boolean option THROTTLE_NUDGE to allow disabling of
throttle nudging
2012-09-09 19:39:04 +10:00
Andrew Tridgell
966c1988c3
APM: preparing for 2.61 release
2012-09-08 18:36:17 +10:00
Andrew Tridgell
5c8b9bf3c5
Rover: updated for new RC_Channel_aux API
2012-09-08 15:14:41 +10:00
Andrew Tridgell
95e4316c72
APM: updated for new RC_Channel_aux API
2012-09-08 15:14:41 +10:00
Andrew Tridgell
5060b8bd2e
AP_Camera: updated for new RC_Channel_aux API
2012-09-08 15:13:06 +10:00
Andrew Tridgell
540f7894dc
AP_Mount: updated for new RC_Channel_aux API
2012-09-08 15:12:52 +10:00
Andrew Tridgell
89dc79fded
RC_Channel: simplified RC_Channel_aux and fixed issue 725
...
it is perfectly valid to configure two RC channels with the same
function, especially when that function is manual output (ie. copy
input to output)
This removes the g_rc_function[] indirection array
2012-09-08 15:12:28 +10:00
Andrew Tridgell
c50103ac35
APM: added mtk and mtk16 build targets
...
useful for testing non-auto gps detection
2012-09-08 12:43:36 +10:00
Andrew Tridgell
39346eac32
APM: prevent crosstrack from takeoff point after takeoff completion
2012-09-08 11:37:14 +10:00
Andrew Tridgell
4219cb55ce
APM: use ahrs.airspeed_estimate() in two more places
...
this applies the wind constraint
2012-09-08 11:37:11 +10:00
Andrew Tridgell
8f70a24fd4
AHRS: added AHRS_WIND_MAX option
...
this allows APM to cope better with airspeed sensor failure, but
ensuring airspeed stays within AHRS_WIND_MAX of ground speed
2012-09-08 11:37:07 +10:00
Andrew Tridgell
c983de9d8b
APM_OBC: changed termination servo values, and added loop counter
2012-09-08 11:37:00 +10:00
Andrew Tridgell
9ffeecdf2f
APM: fixed some compiler warnings
2012-09-08 10:14:32 +10:00
Andrew Tridgell
63ca982f21
APM: tidy up an if() statement
2012-09-08 10:14:20 +10:00
Andrew Tridgell
9d6bce87dc
APM_OBM: Failsafe board sketch
...
this combines with the OBC failsafe module
2012-09-08 10:07:17 +10:00
Andrew Tridgell
8836851243
APM_OBC: handle separate terminate pin correctly
2012-09-08 10:07:14 +10:00
Andrew Tridgell
6a90b7722a
OBC: added FS_TERM_PIN option
...
this sets a pin for flight termination
2012-09-08 10:07:08 +10:00
Andrew Tridgell
b2a74951d1
APM: added RUDDER_STEER option
...
when enabled, this uses only the rudder to steer during takeoff and
landing, using aileron only for levelling
2012-09-08 10:07:03 +10:00
Andrew Tridgell
9b2a2b2c2e
APM: support DO_SET_SERVO command
2012-09-08 10:06:53 +10:00
Andrew Tridgell
12c5e00db9
APM: added XTRK_MIN_DIST option
...
this allows you to disable crosstrack correction on short legs
2012-09-08 10:06:44 +10:00
Andrew Tridgell
88f4a3bc4a
APM: allow serial buffer size to be configured
...
very useful for packet forwarding setups
2012-09-08 10:06:35 +10:00
Andrew Tridgell
2e7939cbf4
Mavlink: enable MAVLINK_SEPARATE_HELPERS
...
this fixes a seq number problem with SIMSTATE packets
2012-09-08 10:06:19 +10:00
Andrew Tridgell
880404d062
APM: added forwarding of unknown MAVLink types
2012-09-08 10:06:15 +10:00
Andrew Tridgell
1fecd135ef
ACM: use compass.accumulate() in ArduCopter
...
this gives us a much less noisy magnetometer
2012-09-08 10:06:04 +10:00
Andrew Tridgell
a71cee4579
APM: accumulate mag readings during spare cycles in ArduPlane
...
With this change we average over 100 mag readings per compass.read()
call, which means we are reading the compass at over 1kHz instead of
10Hz. The noise reduction is huge.
2012-09-08 10:05:58 +10:00
Andrew Tridgell
b555d86ec0
Compass: added compass.accumulate() API
...
this allows us to accumulate mag readings using spare CPU cycles
2012-09-08 10:05:54 +10:00
Michael Oborne
35a8bf961c
AP fix takeoff alt issue
...
issue 733
2012-09-06 20:19:12 +08:00
Michael Oborne
1d0d45a95f
Fix Approach Altitude min
2012-09-06 17:43:58 +08:00
Pat Hickey
b52738662a
APM_Config.h for ArduCopter/ArduPlane: better descr of APM2_BETA_HARDWARE
2012-09-05 15:36:57 -07:00
Michael Oborne
a8c234c303
Mission Planner 1.2.11
...
Fix ac crosstrack display
tweak ap_mount
speed up Terminal
2012-09-04 06:46:56 +08:00
Michael Oborne
e10829afd7
firmware build
2012-09-02 13:34:03 +08:00
Michael Oborne
5b347a1483
firmware build
2012-09-02 13:05:33 +08:00
rmackay9
af2502c739
ArduCopter: upgraded firmware version to 2.7.3
2012-09-02 12:58:16 +09:00
rmackay9
3e6966c33d
ArduCopter: fixes to allow AP_Mount to work on APM1 with original default channels and fix to reenable support for 3-axis gimbals on APM2.
...
Channels 5 to 11 changed to RC_Channel_aux.
Removed channel 9 because APM_RC doesn't support it in any case.
Updated EEPROM format version to 119 because of the change to RC_Channel_aux and because k_param_rc_11 moved to be after k_param_rc_10.
2012-09-02 12:51:23 +09:00
rmackay9
6c1bd815c1
ArduCopter: remove unnecessary references to CH_CAM_PITCH, CH_CAM_ROLL, CH_CAM_YAW
2012-09-02 12:47:27 +09:00
rmackay9
20936fb87d
RC_Channel_aux: bug fix which could cause channel to be assigned to the wrong function and miss others
2012-09-02 12:46:04 +09:00
Michael Oborne
48bb6d04a2
firmware build
2012-09-01 20:10:02 +08:00
Craig Elder
c83d1402fb
Arducopter: Release 2.7.2
2012-08-31 19:18:10 -07:00
Michael Oborne
a5bd3c67c6
Mission Planner 1.2.10
...
add useritems to HUD
change hdop scale
fix posible follow me bug (, vs .)
fix posible friendly params bug (, vs .)
tweak flightdata log playback timming
fix gridv2 bug. if no waypoint had been done, the grid wold fail
tweak some mission upload potential issues
add ability to get param list from a log (from startup)
add ability to get the first wp list in a log, if wps where received in that log.
tweak video capture library timing
2012-08-30 20:51:29 +08:00