Andrew Tridgell
2f677acf3b
Plane: update firmware version to 2.69
12 years ago
Andrew Tridgell
9f70c6c70d
Plane: make CIRCLE mode hold altitude
...
this will prevent us losing a lot of altitude during the initial
failsafe phase
12 years ago
Jochen Tuchbreiter
c5f19f5df8
Plane: Implement issue 80: counterclockwise loiter
...
- libraries/AP_Common/AP_Common.h: Use bit 2 of Location.options to store
loiter direction
- ArduPlane/defines.h: New bitmask MASK_OPTIONS_LOITER_DIRECTION for struct
Location bit 2
- ArduPlane/ArduPlane.pde: New variable loiter_direction
- ArduPlane/GCS_Mavlink.pde: For mavlink loiter-commands use sign of param3 to
detemine direction. Set Location.option flag accordingly
- ArduPlane/commands.pde: Make sure loiter-directions get saved into EEPROM
correctly
- ArduPlane/commands_logic.pde: Set loiter_direction on all loiter-actions
as well as RTL/instant loiter
- ArduPlane/navigation.pde: Yield loiter_direction in update_loiter
12 years ago
Andrew Tridgell
ebb7f27962
Plane: minor signed/type fixups
12 years ago
Andrew Tridgell
3caaa27526
Plane: fixed build errors in logging
12 years ago
Randy Mackay
7297a1ff83
Plane: renamed RAW dataflash message to IMU
12 years ago
Randy Mackay
e674626fd6
Plane: rename CUR and CURR to CURRENT for logging
...
Based on user complaint that log was enabled/disabled using CUR while
message that appeared in log was CURR.
12 years ago
Randy Mackay
6f46f4a7d0
Plane: logging changes to use new faster packet method
...
also RAW message renamed to IMU
12 years ago
Randy Mackay
d2767b911c
AP_Math: switch get_distance_cm to return uint32_t
...
Includes changes required on ArduCopter and ArduPlane side as well
12 years ago
Andrew Tridgell
4d9a74d742
Plane: cleanup driver declaration
...
remove a lot of the #if nesting
12 years ago
Andrew Tridgell
4deee014d6
Plane: setup PX4 airspeed analog port
12 years ago
Andrew Tridgell
92c9a4c1ce
Plane: start update logging for new API
12 years ago
Andrew Tridgell
bea9a9d558
Plane: move memcheck_init() earlier in setup()
12 years ago
James Bielman
ab37f833db
MS5611: Fix CONFIG_MS5611_SERIAL definitions.
...
- Make sure the values are defined as integers. We were always using
SPI rather than using I2C when desired.
12 years ago
Andrew Tridgell
38f56be2c4
Plane: enable hardware sensors on PX4
12 years ago
James Bielman
264db3670e
AP_Baro: Add CONFIG_MS5611_SERIAL option to choose between SPI and I2C.
...
- Update ArduCopter and ArduPlane modules to pass the correct serial
driver to the MS5611 driver.
- Update barometer examples, assuming SPI.
12 years ago
Andrew Tridgell
4cdb3cd390
Plane: use GRAVITY_MSS
12 years ago
Andrew Tridgell
1a49549e3e
Plane: start port of main ArduPlane code to AP_HAL_PX4
12 years ago
Andrew Tridgell
b6295c12e1
Plane: fixes for new AP_Relay interface
12 years ago
Craig@3DR
0ed25cf719
Global change all references from
...
GPS_PROTOCOL_MTK16
to
GPS_PROTOCOL_MTK19
12 years ago
Andrew Tridgell
edad43611d
Plane: reset last heartbeat time on startup completion
...
this gives more time for the GCS to send its first heartbeat
12 years ago
Andrew Tridgell
d54c6989ab
Plane: fixed the last build warnings
...
we now build with no warnings for APM1, APM2 and SITL. Yay!
12 years ago
Andrew Tridgell
feca411943
Plane: added new TRAINING mode
...
this mode gives manual control when the roll or pitch is within the
set limits (the same limits as FBW mode), and prevents the pilot from
flying beyond those limits, essentially a "attitude limited manual"
mode
12 years ago
Andrew Tridgell
9a2e77b797
Plane: fully disable relay and mount code on APM1-1280
...
this saves some more flash space
12 years ago
Andrew Tridgell
cf18534163
Plane: use new functions
12 years ago
Andrew Tridgell
62d7fd1a26
Plane: fixed HIL builds
12 years ago
Andrew Tridgell
761ab5c3e8
Plane: use AP_HAL_BOARD_DRIVER
12 years ago
Andrew Tridgell
73f70cc596
Plane: moved to new GPS init syntax
12 years ago
Andrew Tridgell
678947c65d
Plane: more fixes for SITL and new AP_Param startup
12 years ago
Andrew Tridgell
e82deca305
Plane: updates to support AP_HAL SITL
12 years ago
Pat Hickey
f8dec9ae4a
ArduPlane: fixes to use CONFIG_HAL_BOARD instead of CONFIG_APM_HARDWARE
12 years ago
Pat Hickey
a14621534c
ArduPlane: port from hal.dataflash to old DataFlash api
12 years ago
Pat Hickey
92b0c302f2
ArduPlane: Ported to AP_HAL
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
Andrew Tridgell
e4949291e5
Plane: preparing for 2.68 release
12 years ago
Andrew Tridgell
805a340350
Plane: enable attitude and raw logging in HIL modes
12 years ago
Andrew Tridgell
24e1af1c82
Plane: fixed sensors and attitude HIL
...
we now use the Stub version of the InertialSensor driver. In sensors
HIL we can now correctly drive the AHRS code.
12 years ago
Andrew Tridgell
1104287aa2
Plane: use enum FlightMode in more places
12 years ago
Andrew Tridgell
a6d8dbeac2
Plane: update ArduPlane for new ins interface
12 years ago
Andrew Tridgell
f8a95e4084
APM: preparing for 2.67 release
12 years ago
Andrew Tridgell
84300c85d6
APM: make it possible to run the CLI on any serial port
12 years ago
rmackay9
2df7a407da
ArduPlane: fix HIL build
12 years ago
rmackay9
ef727bbb3c
ArduPlane: move to use new INS library instead of IMU library
12 years ago
Andrew Tridgell
8652bfee8d
APM: added RSSI_PIN option for receiver RSSI
...
this allows you to configure the pin for receiver RSSI without
recompiling
12 years ago
Andrew Tridgell
aa236c43f8
APM: prepare for 2.66
12 years ago
Pat Hickey
d4bb8a10d7
Update ArduCopter and ArduPlane dependencies on AP_Menu
12 years ago
rmackay9
f695db61ea
ArduPlane: added AP_Semaphore.h to list of includes
13 years ago
rmackay9
41fbb19cf5
AP_InertialSensor_MPU6000: replaced _cs_pin parameter with #define and saved 1 byte of memory
...
Updated ArduCopter, ArduPlane and example sketches in AP_InertialSensor, AP_IMU and AP_AHRS libraries because they no longer need to pass in cs_pin to the constructor
13 years ago
Andrew Tridgell
51aeb2dd4c
APM: prepare for 2.65
13 years ago