Michael Oborne
88840eb759
Send FS state to gcs for AP
12 years ago
Andrew Tridgell
c41b927a15
Plane: added shell command for px4
...
used to launch nsh for PX4IO firmware upgrades
12 years ago
Andrew Tridgell
3913c42183
Plane: fixed bit combination
...
bitwise, not arithmetic
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
Brandon Jones
fa7839941f
After Plane: cleanup driver declaration 4d9a74d
, HIL_MODE_ATTITUDE with MAG_ENABLE=1 set results in continuous reboot/APM crash. Added define for AP_COMPASS_HIL when HIL_MODE_ATTITUDE is enabled.
12 years ago
Michael
b9a5be6c8b
Plane: added secondary elevator support
12 years ago
Andrew Tridgell
e762c43312
Plane: switch to an array for stream rates
...
this saves a couple of hundred bytes of flash.
12 years ago
Pat Hickey
85d783d5a9
ArduPlane: fixed memory unsafe member access in GCS_MAVLINK
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
9178022a73
Plane: don't change trims if radio_in is zero
12 years ago
Andrew Tridgell
7ab3d93ed4
Plane: fixed typo
12 years ago
Andrew Tridgell
49356b790b
Plane: limit number of bytes read per GCS check
12 years ago
Andrew Tridgell
9813468640
Plane: fixed mavlink fetch of 16 character parameter
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
96b87e3b44
Plane: fixed test baro printout
12 years ago
Andrew Tridgell
2e04d4827a
Plane: run PX4 console at 57600
12 years ago
Andrew Tridgell
f9cb9e08ae
Plane: fixed orientation of PX4 compass
12 years ago
Andrew Tridgell
9058949558
Plane: fixed some warnings
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
fa3a4c68b6
Plane: use common log reading function
12 years ago
Andrew Tridgell
28352b3548
Plane: ensure ahrs.init() is called
12 years ago
Andrew Tridgell
92c9a4c1ce
Plane: start update logging for new API
12 years ago
Andrew Tridgell
bfaf91affe
Plane: use an enum for flash log message types
12 years ago
Andrew Tridgell
86f667f6cc
Plane: added new SERIAL0_BAUD parameter
...
this is useful on PX4
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
e0f052dd9a
Plane: update for new AP_Param API
12 years ago
Andrew Tridgell
38f56be2c4
Plane: enable hardware sensors on PX4
12 years ago
Andrew Tridgell
2e2f96d721
Plane: cope with a HIL_STATE packet before GPS init
12 years ago
Andrew Tridgell
9e0096ddb5
Plane: fix handling of sensors HIL startup
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
868269e037
Plane: switch PX4 to attitude HIL for now
...
a bit easier to debug
12 years ago
Andrew Tridgell
e8075b1657
Plane: for HIL_SENSORS for PX4 for now
...
until we have sensor drivers
12 years ago
Andrew Tridgell
07eed60ae4
Plane: use new apm.mk
12 years ago
Andrew Tridgell
2fe77fa6fa
Plane: check for APPDIR to pull in px4 build logic
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
85e4f67e68
Plane: added a note about the dangers of the FS_GCS_ENABL option
12 years ago
Andrew Tridgell
cf8e648558
CLI: fixed accel setup
...
disable mavlink callback in CLI
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
dc2b11704f
Plane: fixed a build warning
12 years ago