Commit Graph

5351 Commits

Author SHA1 Message Date
Jason Short 47e2837a9e ACM Logging - added APM version #, stab_I term logging 2012-08-17 17:03:40 -07:00
Pat Hickey 3772571d28 better commit message for uncrustify 2012-08-17 11:36:07 -07:00
Pat Hickey e34dd62c7d fixes to preprocessor retab settings 2012-08-17 11:36:07 -07:00
Pat Hickey b0b43dfacc real reformat.sh 2012-08-17 11:36:07 -07:00
Pat Hickey 66c59e92d9 add reformatting config files and shell script 2012-08-17 11:36:07 -07:00
Andrew Tridgell 7948b3aee7 AHRS: force an extra read of the compass on startup
the first read from the compass can be bad. This ensures we have a
good value when getting the initial AHRS yaw.

Thanks to Randy and Jason for the bug report!
2012-08-17 17:57:39 +10:00
Andrew Tridgell 8853a104f0 APM: fixed SITL build 2012-08-17 16:28:45 +10:00
Andrew Tridgell 84c39774fa DataFlash: fixed SITL build 2012-08-17 16:27:19 +10:00
Andrew Tridgell 2fb8a13ac6 APM: added parameter FBWB_ELEV_REV
this fixes issue 343
2012-08-17 15:04:53 +10:00
Andrew Tridgell 1ccff12b54 SITL: added SIM_ENGINE_MUL
this allows for simulated engine failures
2012-08-17 14:22:08 +10:00
Jason Short ebd399d11f ACM : APM_Config.h : default removed for toy mixer. 2012-08-16 15:41:35 -07:00
Jason Short cd2cf2e431 ACM: Config.h - added default for toy mixer 2012-08-16 15:40:28 -07:00
Jason Short cbf4870b00 ACM : Made control_roll and pitch global for logging; made yaw towards waypoint use initial angle and not a recalculated angle to deal with wiggles as we approach WP 2012-08-16 15:39:50 -07:00
Jason Short bd17c23e7e ACM : Upped Yaw Limit to 2200 2012-08-16 15:38:46 -07:00
Jason Short 7ac4d06d3f ACM: made target bearing the lead filtered location
Had some major nav trouble from crosstrack if I used the laggy position.
2012-08-16 15:38:25 -07:00
Jason Short ff32718d9b Dataflash fix for missing card error 2012-08-16 15:37:28 -07:00
Jason Short 0e7794336e ACM: added nav_yaw to att logging
Removed unnecessary casting
2012-08-16 12:43:55 -07:00
Michael Oborne 90ccb6f3ef Mission Planner 1.2.6
add tracker location option.
fix current sensor screen
add more right click flight planner options.
make some connecting error messages more detailed.
add partial microdrones protocol output
2012-08-16 21:07:29 +08:00
rmackay9 48b7d26c5d ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
2012-08-16 20:04:46 +09:00
rmackay9 5f2c662fc9 ArduCopter: replaced abs with labs as required in a few places.
Also fixed a small bug in the get_stabilize_pitch function in which it was using the roll (instead of pitch) to decide whether it should let the i term build-up or not.
2012-08-16 17:51:09 +09:00
Andrew Tridgell faeb206239 SITL: make abs() 16 bit in SITL
this will help us find abs() bugs in autotest
2012-08-16 15:18:17 +10:00
Andrew Tridgell 50e2458df0 math: more abs() fixes
abs() is 16 bit
2012-08-16 15:17:42 +10:00
Jason Short e2c3149b2f Location Lib : Abs was overflowing causing bad comparison 2012-08-15 22:01:51 -07:00
Jason Short 67de828bcc ACM Test: Added a return statement 2012-08-15 21:37:23 -07:00
Jason Short 555e26d5fa Location Lib. Potential fix for bad angle and distance calcs.
last_lat changed to int32_t since it can be negative.
2012-08-15 21:36:55 -07:00
Jason Short 93c644fd0f ACM : Test for bearing calc 2012-08-15 21:04:24 -07:00
Jason Short fd76bf7df4 ACM Log : fixed formatting 2012-08-15 21:04:24 -07:00
Jason Short a6b874b591 DataFlash : Removed Chip Erase - relying on Block erase only 2012-08-15 21:04:24 -07:00
Jason Short 44b715af9b Dataflash Logs : Fixed block erase on APM2
Byte order for 512 vs 528 was reversed.
2012-08-15 21:04:24 -07:00
Andrew Tridgell 9c3c1c4f54 APM: fixed hil build 2012-08-16 12:53:37 +10:00
Andrew Tridgell 5ebcf425cf APM: allow telemetry send during parameter and waypoint fetch
this slows down telemetry by a factor of 4 during parameter or
waypoint transmit. That ensures that mode changes and gps position are
still updated during a long parameter fetch
2012-08-16 10:50:12 +10:00
Andrew Tridgell 0a7d8a4933 MAVLink: enable fetching of single parameters
this makes it possible for the GCS to fetch a single parameter by
name, which is useful for parameters that change in flight
2012-08-16 10:14:46 +10:00
Andrew Tridgell 41a974683e Quaternion: we no longer support acceleration in the GPS driver
remove the linear acceleration compensation code
2012-08-15 20:07:53 +10:00
Andrew Tridgell 79aae2114c GPS: support getting raw velocity values from a UBlox
this may give better velocity numbers than the value from COG
2012-08-15 20:06:35 +10:00
Andrew Tridgell a1107602e9 APM: allow for separate calibration of airspeed/barometer
this is useful just before takeoff, to account for temperature changes
2012-08-15 19:49:09 +10:00
Andrew Tridgell efee2b1557 APM: added LAND_FLARE_ALT and LAND_FLARE_SEC
these allow you to configure the altitude and time before touchdown to
flare the plane and lock the heading. Useful on larger planes.
2012-08-15 18:11:16 +10:00
Andrew Tridgell 455e088c9f APM: rename RDRSTEER to WHEELSTEER
thanks to Jon for the suggestion
2012-08-15 16:28:59 +10:00
Andrew Tridgell c652538516 APM: use AHRS position for geo-fence
this allows it to take account of dead-reckoning
2012-08-15 14:31:10 +10:00
Andrew Tridgell 3f76a4cc61 SITL: use rudder steering in APM autotest 2012-08-15 12:53:05 +10:00
Andrew Tridgell 20be77ab32 APM: when land_complete is true, use land_pitch
this gives a flare on final landing
2012-08-15 12:39:35 +10:00
Andrew Tridgell b8521ff9ae APM: reload airspeed and throttle after landing
this allows for restarting a mission after landing with reasonable
airspeed values
2012-08-15 12:39:35 +10:00
Andrew Tridgell f4023d1b44 AP_Airspeed: remove airspeed filter and run at 10Hz
this saves on the filter memory, and gives just as good a result
2012-08-15 12:39:35 +10:00
Andrew Tridgell a361a3aebd AP_AnalogSource: make read_average() return a float
this allows it to take advantage of better than 1 bit resolution by
averaging
2012-08-15 12:39:35 +10:00
Andrew Tridgell 4b5d98e65b APM: added RDRSTEER_ PID for steering on ground
this allows for rolling takeoff with steering, and use of rudder in
landing
2012-08-15 12:39:35 +10:00
Andrew Tridgell ce5f3dcfe2 APM: report speed changes via MAVLink 2012-08-15 12:39:35 +10:00
Andrew Tridgell 1b152ef9e0 APM: implement FENCE_ACTION_REPORT
when FENCE_ACTION is set to FENCE_ACTION_REPORT a fence breach is
reported, but the flight mode is not changed
2012-08-15 12:39:35 +10:00
Andrew Tridgell 7bb8fa1e58 MAVLink: added FENCE_ACTION_REPORT 2012-08-15 12:39:35 +10:00
Andrew Tridgell 44852276da AHRS: added ahrs.yaw_initialised()
this allows the high level code to know if the AHRS driver has a
reliable yaw estimate
2012-08-15 12:39:34 +10:00
Andrew Tridgell 90bf9c62bb SITL: added a test script for starting in Kingaroy
we use this for OBC testing
2012-08-15 12:39:34 +10:00
Andrew Tridgell 8c3b6f471f APM: keep the time of the last heartbeat message
this will be used for failsafe processing
2012-08-15 12:39:34 +10:00