Commit Graph

7391 Commits

Author SHA1 Message Date
Andrew Tridgell
2294de85ac Rover: removed INPUT_VOLTS parameter
no longer needed
2013-03-08 10:01:51 +11:00
Andrew Tridgell
e0e22b63a7 Plane: removed INPUT_VOLTS parameter
no longer needed
2013-03-08 10:01:33 +11:00
Andrew Tridgell
00e905b025 AP_Airspeed: use new voltage_average() API in Airspeed driver 2013-03-08 10:01:15 +11:00
Andrew Tridgell
bf1944a36d AP_ADC_AnalogSource: fixed reference scaling for APM1 Ch6 ADC
it is not referenced to Vcc
2013-03-08 09:06:40 +11:00
Andrew Tridgell
2fc922a251 AP_Rangefinder: use voltage_average() interface for generic analog rangefinder 2013-03-08 08:27:18 +11:00
Andrew Tridgell
ce46f2f871 AP_ADC: fixed scaling factor for voltage on APM1 Ch6 ADC 2013-03-08 08:26:54 +11:00
Randy Mackay
5380973225 Copter: only start delay timer after reaching wp location and altitude 2013-03-06 12:50:41 +09:00
Randy Mackay
a73f50494c TradHeli: remove duplicate RC_FAST_SPEED definition 2013-03-04 23:45:23 +09:00
Randy Mackay
cb6ffc7acf Copter: minor formatting fix for report_ins 2013-03-04 23:14:14 +09:00
Randy Mackay
998511f506 Copter: use unsigned long for dataflash log for gps time
Updated some formatting of comments in the same file
2013-03-04 23:13:06 +09:00
Randy Mackay
33bd984a91 Copter: remove unused input_voltage parameter 2013-03-03 23:23:54 +09:00
Randy Mackay
cb84ec9d9b Copter: add current based compass compensation 2013-03-03 23:02:36 +09:00
Randy Mackay
b8d492b504 Compass: current based compensation added 2013-03-03 23:02:12 +09:00
Andrew Tridgell
7f1c8fd364 build: fixed cygwin build 2013-03-03 22:22:33 +11:00
Andrew Tridgell
16270ccc47 HAL_AVR_SITL: fixed windows build 2013-03-03 22:22:19 +11:00
Andrew Tridgell
cf2d99847e Rover: use voltage_average() interface 2013-03-03 16:16:01 +11:00
Andrew Tridgell
c2fd1512ff Copter: use voltage_average() so as to avoid INPUT_VOLTS 2013-03-03 16:16:01 +11:00
Andrew Tridgell
2331c84423 Plane: use voltage_average() to not depend on INPUT_VOLTS 2013-03-03 16:16:01 +11:00
Andrew Tridgell
3e2cb92c71 AP_ADC_AnalogSource: added voltage_average() interface 2013-03-03 16:16:01 +11:00
Andrew Tridgell
b1c27407a2 AP_HAL: added voltage_average() interface to AnalogIn
returns voltage in Volts, using averaged reading over samples.

Where possible this should be auto-scaled against a known reference
voltage
2013-03-03 16:16:01 +11:00
Randy Mackay
0d5e731a65 Copter: add compassmot to cli
Allows user to setup compensation for motor's interference on the
compass
2013-03-02 17:54:18 +09:00
Randy Mackay
e113eb526b Compass: add get_motor_compensation
Remove redundant set_motor_compensation call
2013-03-02 17:53:03 +09:00
Andrew Tridgell
987cdaf3e1 DataFlash: make it safe to do DataFlash logging from timers
this uses a non-blocking semaphore take if we are in a timer
process. Useful for logging failsafe events
2013-03-02 17:42:06 +11:00
Andrew Tridgell
fc0b50dd82 Rover: reduce throttle more directly
this gives better throttle control in turns and waypoints
2013-03-02 13:51:50 +11:00
Randy Mackay
476a6d0164 Copter: fix for acro throttle bug 2013-03-02 10:28:44 +09:00
Julian Oes
54fffd1348 ArduPPM: version 2.3.16 for release 2013-03-02 10:00:00 +09:00
Julian Oes
875103fc59 ArduPPM: Versioning cleanup, 2.3.16 should be the next official release 2013-03-02 09:59:56 +09:00
John Arne Birkeland
bcd142ec0b PPMEncoder - bug fix from previous commit 2013-03-02 09:59:14 +09:00
John Arne
4f9b787e04 Update Tools/ArduPPM/Libraries/PPM_Encoder.h
- Small optimization
2013-03-02 09:53:31 +09:00
Julian Oes
a0b0df0252 ArduPPM: Set Ch1-4 to their fail-safe position and leave Ch5-8 at their last value 2013-03-02 09:53:25 +09:00
Julian Oes
8b7c75a700 ArduPPM: Changed the behaviour of the PPM encoder: if a channel is lost retain its last value instead of a fail-safe value (except for Ch3/throttle) 2013-03-02 09:53:21 +09:00
Randy Mackay
bfb29ce22b Compass: remove virtual functions to save RAM 2013-03-02 00:07:32 +09:00
Randy Mackay
886725291c Compass: enable motor compensation for 1280
Expand motor compenstion vector's range limit
2013-03-02 00:03:29 +09:00
Randy Mackay
8093c98cd3 Compass: add motor compensation to HIL library 2013-03-02 00:03:24 +09:00
Randy Mackay
6b2b69535f Copter: Compass log stores/retrieves motor offsets 2013-03-02 00:03:20 +09:00
Randy Mackay
d8515ff85e Compass: basic compensation for motor interference 2013-03-02 00:03:16 +09:00
John Arne Birkeland
fc566096de AVR HAL: RCJitterTest example
Used to test jitter on the PPM R/C input system.
2013-03-01 23:38:30 +09:00
Andrew Tridgell
daa603552b Rover: added new STEERING mode
this makes it easier to tune for auto mode
2013-03-01 22:33:11 +11:00
Andrew Tridgell
e228bbfebf Rover: implement SONAR_TURN_TIME
keep turning for at least that time
2013-03-01 22:33:11 +11:00
Randy Mackay
318a831b57 INS: set default filter to 20hz for APM2.x and PX4 2013-03-01 19:35:34 +09:00
Andrew Tridgell
6dd549dea8 Rover: removed SONAR_TYPE option
now set the values in the object
2013-03-01 12:59:31 +11:00
Andrew Tridgell
d0f27f8830 Rover: comment/maintainer cleanup 2013-03-01 12:32:48 +11:00
Andrew Tridgell
0873f8d00d Rover: cleanup some old code 2013-03-01 12:29:43 +11:00
Andrew Tridgell
3aeb836bc0 Rover: allow sonar test with sonar disabled
useful for initial config
2013-03-01 12:29:29 +11:00
Andrew Tridgell
cbdeb20dad MAVLink: rebuilt with new RANGEFINDER message 2013-03-01 12:01:31 +11:00
Andrew Tridgell
12d73a8662 Rover: use new AP_RangeFinder_analog class 2013-03-01 12:00:48 +11:00
Andrew Tridgell
44768c911f MAVLink: added RANGEFINDER message 2013-03-01 11:59:40 +11:00
Andrew Tridgell
8ed2f7d21c AnalogIn: run the example sketch a bit slower
5Hz is plenty
2013-03-01 11:19:26 +11:00
Andrew Tridgell
e4fb54fcc9 RangeFinder: added new AP_RangeFinder_analog
this is a generic analog rangefinder, supporting 3 types of functions
between voltage and distance.
2013-03-01 11:19:02 +11:00
Andrew Tridgell
be3b2ee9f8 Rover: cleaned up sonar_trigger_cm parameter 2013-03-01 07:47:26 +11:00