Randy Mackay
87126c9b71
Common: remove id and p1 from Location structure
...
id and p1 are now part of AP_Mission's Mission_Command structure
11 years ago
Randy Mackay
9ef27955b5
Common: add location options masks
11 years ago
Andrew Tridgell
77e8061170
AP_Common: added product ID for L3G4200D
12 years ago
Andrew Tridgell
86b58314c4
AP_Common: pack the RallyLocation structure
...
so it can be written as a single binary block
12 years ago
Michael Day
823a40c203
AP_Common: Added RallyLocation struct.
12 years ago
Andrew Tridgell
f1e120113c
AP_Common: added OPTIMIZE() macro
...
this can be used to change the compiler optimization level of
individual functions
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
13cdc56a5a
AP_Common: removed SMACCM support
12 years ago
Andrew Tridgell
c1d56f74b5
AP_Common: change flymaple product ID to 0x100
...
keep it well away from the Invensense product IDs for the MPU6000
12 years ago
Mike McCauley
8f61a36e58
AP_Common: Flymaple compatibility
12 years ago
Andrew Tridgell
8b80beadc4
PX4: make FMUv2 identify itself differently
...
so we can tell which is which in logs
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
933088b95a
AP_Common: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
62b9a580e8
AP_Common: make PACKED depend on architecture
...
this will remove lots of warnings when building with arduino
12 years ago
Andrew Tridgell
3659b532be
AP_Common: added BIT_IS_SET() macro
...
makes bit mask testing safer on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
4fe5ce8a09
AP_Common: added a define for PACKED
...
neater than a pragma
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
cf5d102912
AP_Common: added board ID for PX4
12 years ago
James Bielman
a4af314b57
Add AP_HAL_SMACCM implementation.
...
- Add a board definition for SMACCMPilot.
- Support the SMACCM HAL in required utility libraries.
12 years ago
Andrew Tridgell
456e8bfb6e
AP_Common: include stdlib.h for abs()
12 years ago
Andrew Tridgell
ac8fcd5b23
AP_Common: include stdbool.h for ARM
12 years ago
Andrew Tridgell
57bf6531b4
Progmem: use right CONFIG_HAL_BOARD #ifdefs
12 years ago
Andrew Tridgell
3c0440b0b4
Math: use common degrees() and radians() functions
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
28f0ce6185
Build: use -O0 for SITL
12 years ago
Andrew Tridgell
475496cee2
Revert "Arduino.mk: use target variables rather than recursive make for apm1, apm2.."
...
This reverts commit fcd58cc1d7892bb8b45db75c35e1bdccaa2d47bb.
still doesn't work ...
12 years ago
Andrew Tridgell
975506c840
Build: add debugging in SITL build
12 years ago
Pat Hickey
8fe3c5e5d6
Arduino.mk: use target variables rather than recursive make for apm1, apm2..
12 years ago
Andrew Tridgell
6a56f72918
Build: added empty Arduino.h
12 years ago
Andrew Tridgell
d473203737
Build: added global board targets
12 years ago
Pat Hickey
d93d932831
ArduCopter: defines fixes
...
Conflicts:
libraries/AP_Common/Arduino.mk
12 years ago
Andrew Tridgell
9b15d0e714
Build: update makefile for SITL build
12 years ago
Pat Hickey
da99f5f283
Arduino.mk: compile with CONFIG_HAL_BOARD define from the user's config.mk
12 years ago
Pat Hickey
fff4e87619
Arduino.mk: allow user avrdude flags
12 years ago
Pat Hickey
f490f2432d
Arduino.mk: norelax.inoflag will disable -Wl,--relax on a per sketch basis
...
* Some weird avr-ld bug that hits on 4.6.2 Fedora. Didn't have time to
investigate further.
12 years ago
Andrew Tridgell
3a2e138994
AP_Common: no c++ magic for PX4 build
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
5c738810e2
AP_Progmem created: progmem macros per specific platform
...
* derived from AP_Common
12 years ago
Pat Hickey
a2f97ac7c7
AP_Common.cpp: Delete empty cpp file
12 years ago
Pat Hickey
f58935d1e7
AP_Common c++ lib: eliminate freeMemory and displayMemory
...
* also, no more error message in pure virtual call
12 years ago
Pat Hickey
9f9c183a4d
remove AP_Vector.h as deprecated
12 years ago
Pat Hickey
6a59ad143e
AP_Curve: made into its own library
12 years ago
Pat Hickey
f8047f158d
Arduino.mk: Changes to asm opts for compatibility with avr-gcc4.6
...
* Need to make sure these are compatible with older toolchains
before pushing to master
12 years ago
Pat Hickey
0d342a3293
AP_Common: use EXCLUDECORE macro to hack some debug messages away
12 years ago
Pat Hickey
7854c54880
Arduino.mk: when core is excluded, add -DEXCLUDECORE to flags
12 years ago
Pat Hickey
4493dbb4d2
Arduino.mk: support nocore.inoflag to do coreless builds of each sketch
12 years ago
Pat Hickey
b34d4cdb17
Remove empty AP_Var_menufuncs.cpp
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
Pat Hickey
c4dbe8c627
AP_Param: move from AP_Common to its own library
12 years ago
Pat Hickey
e82d1402ef
AP_Loop: moved to APO library, which is the only code that uses it
12 years ago
Andrew Tridgell
3c88b0d204
AP_Param: fixed Vector3f elements with 16 character names
12 years ago