Commit Graph

7308 Commits

Author SHA1 Message Date
Andrew Tridgell
8b87d3643b autotest: fixed mavlink paths 2013-03-12 13:15:41 +11:00
Andrew Tridgell
d06668f1cd build: added support for "make apm1-1280" 2013-03-12 12:45:49 +11:00
Andrew Tridgell
5762a13223 build: add 1280 build for rover and plane 2013-03-12 12:45:21 +11:00
Andrew Tridgell
5db1dbd8d1 autotest: fixed python path for mavtemplate 2013-03-12 11:49:43 +11:00
Andrew Tridgell
ba8d830754 DataFlash: start to fix example build 2013-03-11 13:02:08 +11:00
Andrew Tridgell
cb414fb652 Build: fixed location of latest/ directory 2013-03-10 22:00:03 +11:00
Kevin Hester
9885cc7ed1 Docs: Add XML emit to param_parse.py. See below for more details...
I've refactored the param_parse tool to use various 'emitters'.  An emitter
can take parameter info and output it in a particular format.  Currently the
only supported emitters are the wiki and XML formats.

The goal of these changes is to create a standard machine readable description
of parameters - mainly for use by ground control stations, but it will also
enable spiffy scripting environments where code can refer symbolically to
vehicle parameters (reflectionish).

Open issue: Is there any sort of Ardupilot build id which can be included in
the generated XML?  That would ensure that we select the correct paramdefs
for the load on the target (possibly by asking the target for a SHA or
somesuch).  If that issue is resolved, then the filename for the XML
file should probably be something like:
arduplane-ca5742ac.pdef.xml.

It is worth noting that I've proposed a suffix of ".pdef.xml" for these file
types.  This facilitates automated file handling on Android devices.  On
Android you can register 'handlers' for particular file extensions and if
the user tries to open that extension in email or a web browser your app
will be given a chance to do something about it.  The 'outer' xml extension
will allow naive editors to know that at least this is an xml file.

I will include a sample of the XML format with the pull-request for this CL.
2013-03-10 17:47:42 +11:00
Andrew Tridgell
fcfed2e81d autotest: build all binaries for master on each commit 2013-03-10 17:16:56 +11:00
John Arne Birkeland
9487eb6c1b Examples: Improved compatibility with Mission Planner serial terminal (CLI) 2013-03-09 15:02:56 +11:00
Andrew Tridgell
0a385cc0ff Plane: added TKOFF_THR_MINACC option
this is used for triggering auto takeoff with a hand launched plane
2013-03-09 14:41:04 +11:00
Michael Warren
9697ff5d6d Plane: Added extra parameter to specify at what speed in auto-takeoff throttle should engage
This adds TKOFF_THR_MINSPD in m/s
2013-03-09 14:19:48 +11:00
Andrew Tridgell
87c6545ac6 Plane: don't trigger GCS failsafe if GCS never connected
The we have never received a heartbeat message from the GCS then don't
use the lack of heartbeat to trigger a failsafe event
2013-03-09 13:48:39 +11:00
Andrew Tridgell
e93888dee9 Plane: make a throttle_cruise of 0 mean always zero throttle
this can be used for parachute landing missions

Thanks to Chris Miser for the suggestion
2013-03-09 13:48:39 +11:00
Randy Mackay
0bf6a52f7a Build: fix case of "com3" and add Arduino path override 2013-03-08 16:59:35 +09:00
Randy Mackay
66a4f6a1ec Build: MINGW can be used to build/upload apm hex 2013-03-08 15:53:09 +09:00
Stephen
c4ea89b10a Build: Cygwin Windows build and upload fixes
SITL, HIL and normal builds and uploads work under Cygwin
2013-03-08 15:02:22 +09:00
Andrew Tridgell
26fedc543c AP_Mount: fixed scaling of the joystick speed to give better control
thanks to Chris Miser for reporting this problem
2013-03-08 14:39:32 +11:00
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