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
Andrew Tridgell
4de635aa48
Rover: change sonar_dist to sonar_dist_cm
...
make units clearer
2013-03-01 07:43:51 +11:00
Andrew Tridgell
44a279811d
Rover: removed old LITE mode
...
this will be replaced with a AHRS_Lite backend later
2013-03-01 07:40:47 +11:00
Andrew Tridgell
efd2da3eb8
DataFlash: started on file interface
2013-03-01 07:18:26 +11:00
Andrew Tridgell
637ecd5279
Copter: updates for new dataflash API
2013-03-01 07:18:26 +11:00
Andrew Tridgell
de55e19eec
Plane: updates for new dataflash API
2013-03-01 07:18:26 +11:00
Andrew Tridgell
c4e9d0961a
Rover: updates for new dataflash API
2013-03-01 07:18:26 +11:00
Andrew Tridgell
66abee5544
Rover: added more sonar parameters
...
better control over obstacle avoidance
2013-03-01 07:18:25 +11:00
Andrew Tridgell
06dd6c2790
Rover: always build sonar code
...
can use enabled/disabled parameter for runtime control
2013-03-01 07:18:25 +11:00
Andrew Tridgell
7b524d15fa
DataFlash: added log_num to dump interface
...
this will be used by the file oriented logging code
2013-03-01 07:18:25 +11:00
Andrew Tridgell
c52ef80f06
DataFlash: added Block layer in classes
...
this will allow the addition of a DataFlash_File implementation of the
DataFlash API which will store logs in a traditional filesystem. That
will align better with the PX4 design, and be more useful for fast
transfer of logs to a host computer
2013-03-01 07:18:25 +11:00
Andrew Tridgell
36da75aacd
Rover: fixes for new DataFlash API
2013-03-01 07:18:25 +11:00
Andrew Tridgell
9a3bd17cfb
Copter: fixes for new DataFlash API
2013-03-01 07:18:25 +11:00
Andrew Tridgell
b3213b7113
Plane: fixes for new DataFlash API
2013-03-01 07:18:25 +11:00
Andrew Tridgell
0ffcffa81c
DataFlash: fixed signed/unsigned errors in API
2013-03-01 07:18:25 +11:00
Andrew Tridgell
9b551f162c
DataFlash: make the public interface much narrower
...
make many variables private, to simplify interface ready for PX4
2013-03-01 07:18:25 +11:00
Andrew Tridgell
5a55fd9a2f
AP_HAL: added HAL_BOARD_NAME define
2013-03-01 07:18:25 +11:00
Andrew Tridgell
20825cc903
DataFlash: removed the byte and word based interfaces
...
simplifing ready for PX4 flash logging
2013-03-01 07:18:25 +11:00
Andrew Tridgell
74439b4f17
Tools: removed unused/unmaintained ArduTracker
...
this has not compiled for a long time.
2013-03-01 07:18:25 +11:00
Randy Mackay
e0506bd622
Copter: inav circle initial implementation
2013-02-26 11:35:35 +09:00
Randy Mackay
c8f09ac219
Copter: fix compile error for PX4 re Compass logging
2013-02-25 13:26:58 +09:00
Randy Mackay
d6ff5ae261
Copter: add roll-pitch slew for auto modes
...
Added reporting of roll, pitch inputs for ACRO, AUTO
2013-02-24 14:42:04 +09:00
Randy Mackay
e297ba7d18
Copter: update default loiter gains for inertial nav
2013-02-24 14:42:00 +09:00
Randy Mackay
102b5da59d
Copter: remove unnecessary #defines from APM_Config.h
2013-02-24 14:41:56 +09:00
Randy Mackay
cbde042ec5
Copter: remove non-inav loiter and wp controllers
...
lon_speed, lat_speed changed to float
do_takeoff, do_land now set roll-pitch, yaw and nav modes specifically
removed fast_corners functionality (may need to be reimplemented with
new inertial nav controllers)
2013-02-24 14:41:52 +09:00
Randy Mackay
609676e26c
Copter: add logging of compass values
...
Removed rarely used ITERM because we didn't have enough bits in the log
mask
2013-02-24 14:41:48 +09:00
Randy Mackay
6f27bc7ae5
Copter: remove filters from inav loiter
2013-02-24 14:41:44 +09:00
Randy Mackay
1410063a14
Copter: new ROLL_PITCH_WP_INAV roll-pitch mode
...
small corrections to allow waypoints to work with new inertial nav wp
controller
2013-02-24 14:41:40 +09:00
Randy Mackay
574756908d
Copter: set wpinav controller targets in nav calls
...
All navigation commands now properly set wpinav controller targets
except CIRCLE related commands.
2013-02-24 14:41:36 +09:00
Randy Mackay
00bc28adcc
Copter: take-off code cleanup
...
remove redundant setting of loiter target.
explicitely set throttle mode to THROTTLE_AUTO
2013-02-24 14:41:32 +09:00
Randy Mackay
67c69a19ee
Copter: remove baro-only alt hold
...
Saves 8 bytes of memory and more importantly simplifies the alt hold
calculations
2013-02-24 14:41:29 +09:00
Randy Mackay
37d3e1d7e4
Copter: add zero slope checks to wpinav
...
also added RTL fix to set wpinav target explicitly
2013-02-24 14:41:25 +09:00
Randy Mackay
b74da54c98
Copter: enable inav xy by default
2013-02-24 14:41:21 +09:00
Randy Mackay
53ab1d5d9b
Copter: add advance track call to actually move towards waypoint
...
Also added unrelated check that waypoint is valid before updating
waypoint distance.
2013-02-24 14:41:17 +09:00
Randy Mackay
766ccdf6f8
Copter: add selection of inertial nav wp controller to APM_Config.h
2013-02-24 14:41:13 +09:00
Randy Mackay
fcf102b2cf
Copter: inertial nav waypoint controller
...
#define added to allow compile time selection of traditional or inav
based loiter and wp controllers
2013-02-24 14:41:09 +09:00
Pat Hickey
e0457f21de
AP_HAL_PX4: fix off-by-one error in RCOutput channel sending
2013-02-23 15:04:17 -08:00
Jason Short
4c3ee76900
AC: Moving flip speed back to 400°/s to prevent oscillation around change in speed.
...
Would like to add a more gradual speed change in the finish. Might require a new state as the copter passes -90°
2013-02-23 13:14:15 +09:00