Commit Graph

8269 Commits

Author SHA1 Message Date
Randy Mackay
98732ae4e8 Copter: remove redundant init of controllers when auto is started
individual do_* commands are responsible for setting roll-pitch, yaw and
throttle modes.  Removing this redundant setting of the controllers
removes the short period (10th second max) where loiter and waypoint
controller's desired roll and pitch were used even before the
controllers have been run once.
2013-05-10 10:51:13 +09:00
Randy Mackay
870b9b0fbb Copter: only run nav controllers when auto-armed
This stops run-up in target position and nav controller I terms ahead of
throttle being raised
2013-05-10 10:46:17 +09:00
Andrew Tridgell
5296e858b6 build: fixed build_all_px4.sh for new PX4 build 2013-05-10 09:40:29 +10:00
Andrew Tridgell
ad9d3360da PX4: fixed px4io build in build_binaries.sh 2013-05-10 06:43:29 +10:00
Andrew Tridgell
1248a49284 PX4: need led driver in build for latest upstream changes 2013-05-10 06:16:54 +10:00
Andrew Tridgell
3a66d304af PX4: changed EXTRAFLAGS to EXTRADEFINES for PX4 2013-05-10 06:16:54 +10:00
Andrew Tridgell
0acceb04ff build: added px4-archives target 2013-05-10 06:16:54 +10:00
Andrew Tridgell
06cf9def98 PX4: auto-build the archives if needed 2013-05-10 06:16:54 +10:00
Andrew Tridgell
2b8ea4db43 build: fixed build_binaries.sh for new PX4 build 2013-05-10 06:16:54 +10:00
Andrew Tridgell
73250efc01 build: added support for the new PX4 build system 2013-05-10 06:16:54 +10:00
Andrew Tridgell
9b752f5d2a PX4: added in remaining example mixers 2013-05-10 06:16:54 +10:00
Andrew Tridgell
947297f0cd PX4: added base ROMFS files from upstream 2013-05-10 06:16:54 +10:00
Andrew Tridgell
172faeea26 HAL_PX4: moved rc.APM to new ROMFS directory 2013-05-10 06:16:54 +10:00
Andrew Tridgell
b3e21c6add HAL_PX4: include visibility.h
needed for new nuttx structure
2013-05-10 06:16:53 +10:00
Randy Mackay
1b52ee211a Copter: bug fix for RTL yaw control
Nose was only pointing home if your initial altitude was above the
RTL_ALT
2013-05-09 21:44:46 +09:00
Andrew Tridgell
220e7b019c SITL: use PACKED attribute in fdm structure 2013-05-09 20:10:31 +10:00
Andrew Tridgell
416fef73a8 AP_Param: use PACKED attribute in examples 2013-05-09 20:10:31 +10:00
Andrew Tridgell
ed918dc6bc SITL: use PACKED attribute instead of pragma pack 2013-05-09 20:10:31 +10:00
Andrew Tridgell
06b6f4b04e AP_GPS: use PACKED attribute instead of pragma pack 2013-05-09 20:10:31 +10:00
Andrew Tridgell
62b9a580e8 AP_Common: make PACKED depend on architecture
this will remove lots of warnings when building with arduino
2013-05-09 20:10:31 +10:00
Randy Mackay
ed5ddfd9db WPNav: initialise desired roll, pitch
bug-fix to resolve 1/10th second twitch when loiter or waypoint
controller are first engaged
2013-05-09 18:32:02 +09:00
Randy Mackay
d0fb332e9f Copter: init_rc_out in cli's compassmot setup
Bug fix to allow cli's compass motor compensation to be run from the
mission planner's terminal window
2013-05-09 13:30:08 +09:00
Andrew Tridgell
6269b8029c VARTest: fixed build 2013-05-09 09:29:27 +10:00
Andrew Tridgell
b940c4b28e Plane: use library gcs_severity 2013-05-09 09:28:57 +10:00
Andrew Tridgell
95120ed43d Copter: use library gcs_severity 2013-05-09 09:28:49 +10:00
Andrew Tridgell
3438316288 Rover: use library gcs_severity 2013-05-09 09:28:42 +10:00
Andrew Tridgell
fefbeacf86 AP_InertialSensor: use SEVERITY_USER_RESPONSE for accel cal messages
thanks to the suggestion from Kevin
2013-05-09 09:28:25 +10:00
Andrew Tridgell
11bf6f40f7 GCS_MAVLink: moved gcs_severity to library header 2013-05-09 09:27:58 +10:00
Andrew Tridgell
9a87b3f3c1 AP_Compass: use const on more functions and remove old calculate_heading()
the calculate_heading() based on roll/pitch is not needed anywhere
2013-05-09 09:24:06 +10:00
Andrew Tridgell
f78de63a09 AP_Compass: more efficient calculate_heading() implementation
Thanks to piersh for this improvement. See

b5f0635455 (commitcomment-3171806)
2013-05-09 09:24:06 +10:00
Randy Mackay
1b2d8636ca Copter: set wp to "fast" if they have no delay 2013-05-09 00:18:36 +09:00
Randy Mackay
9f735c8d03 WPNav: add fast waypoints flag
Waypoint is considered "reached" when the intermediate point reaches the
destination
2013-05-09 00:18:02 +09:00
Randy Mackay
4704b729c2 WPNav: reduce max acceleration to 2.5m/s
Also includes bug fix to ramp up of speed of intermediate point
2013-05-08 23:20:29 +09:00
Andrew Tridgell
635b3fabda Plane: fixed APM1-1280 build 2013-05-08 21:44:45 +10:00
Randy Mackay
9824f6c223 Copter: add flight mode strings to Parameter info 2013-05-08 16:41:45 +09:00
Randy Mackay
0a148cce19 Copter: log target alt in meters 2013-05-08 16:41:16 +09:00
Andrew Tridgell
095505129c DataFlash: hopefully fixed cause of frequent dataflash erase
Wait for 0.1s after erase and before we start writing parameters to
the log

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-05-08 17:00:36 +10:00
Andrew Tridgell
7fdf1b6f78 DataFlash: fixed example build 2013-05-08 16:45:40 +10:00
Andrew Tridgell
8f57b72e3f AP_InserialSensor: fixed example build 2013-05-08 16:45:31 +10:00
Andrew Tridgell
c3738ed344 AP_InertialNav: fixed example build 2013-05-08 16:45:21 +10:00
Andrew Tridgell
ed93f80ba9 AP_Baro: fixed example build 2013-05-08 16:45:07 +10:00
Andrew Tridgell
55d148abdd AC_WPNav: fixed example build 2013-05-08 16:44:59 +10:00
Andrew Tridgell
56694fd9b1 AC_Fence: fixed example build 2013-05-08 16:44:50 +10:00
Andrew Tridgell
81c1fd5fc4 Plane: support 3D accel calibration over MAVLink 2013-05-08 16:25:35 +10:00
Andrew Tridgell
9feb46c834 Copter: use new accel cal interact over MAVLink 2013-05-08 16:19:26 +10:00
Andrew Tridgell
2ddeaa7f4d AP_InertialSensor: show calibration offsets for success and failure
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-05-08 16:19:06 +10:00
Andrew Tridgell
f3f4b7205c AP_InsertialSensor: added support for MAVLink user interaction
allows APM to ask user to print enter to continue via MAVLink messages
during accel calibration
2013-05-08 16:18:40 +10:00
Andrew Tridgell
4bc53acbda SITL: support vsnprintf with %S on SITL 2013-05-08 16:17:36 +10:00
Andrew Tridgell
9cd0af1132 HAL_PX4: make PX4 snprintf support %S format
just maps it to %s for normal printf
2013-05-08 16:17:06 +10:00
Andrew Tridgell
223dfe4de5 AP_Rangefinder: added units for settle time 2013-05-08 14:21:32 +10:00