Commit Graph

2291 Commits

Author SHA1 Message Date
Pat Hickey
cae931a93a AP_HAL_AVR UARTDriver does basic hello world printing
* will import more complex tests next
2012-12-20 14:51:20 +11:00
Pat Hickey
83887cfc87 AP_HAL_APM: basic LiquidCrystal based sketch to test hal gpio & scheduler 2012-12-20 14:51:20 +11:00
Pat Hickey
e9c5f07db2 AP_HAL: Working GPIO interface & implementation
* actually, tested the output only... gotta do input next
2012-12-20 14:51:20 +11:00
Pat Hickey
474f57a90a AP_HAL_AVR: Blink sketch - first working code on coreless 2012-12-20 14:51:20 +11:00
Pat Hickey
ea8242ace1 AP_HAL: Add scheduler interface, move Arduino init code to implementation 2012-12-20 14:51:19 +11:00
Pat Hickey
59a94d5aac AP_HAL_AVR: implement ::init method in derived HAL_AVR class.
* Implementation of ::init taken from Arduino core. Not tested yet
2012-12-20 14:51:19 +11:00
Pat Hickey
18329b1a5d AP_HAL: add virtual init method to HAL class 2012-12-20 14:51:19 +11:00
Pat Hickey
3b2719dd8c AP_HAL_AVR: build APM1 example sketch with no Arduio core via nocore.inoflag 2012-12-20 14:51:19 +11:00
Pat Hickey
75279dfa43 AP_HAL_AVR: header include fixups 2012-12-20 14:51:19 +11:00
Pat Hickey
0d342a3293 AP_Common: use EXCLUDECORE macro to hack some debug messages away 2012-12-20 14:51:19 +11:00
Pat Hickey
7854c54880 Arduino.mk: when core is excluded, add -DEXCLUDECORE to flags 2012-12-20 14:51:19 +11:00
Pat Hickey
4493dbb4d2 Arduino.mk: support nocore.inoflag to do coreless builds of each sketch 2012-12-20 14:51:19 +11:00
Pat Hickey
8eb9b39a44 AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace 2012-12-20 14:51:19 +11:00
Pat Hickey
afd1f36400 AP_HAL: add BetterStream, Stream, and Print interfaces
* BetterStream Means AP_HAL depends on AP_Common, for now, in order to have
  the AVR specific pgm_char_t defined.
  I'll need to factor that out in the future but for now it can stay
2012-12-20 14:51:19 +11:00
Pat Hickey
b34d4cdb17 Remove empty AP_Var_menufuncs.cpp 2012-12-20 14:51:19 +11:00
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.
2012-12-20 14:51:19 +11:00
Pat Hickey
c4dbe8c627 AP_Param: move from AP_Common to its own library 2012-12-20 14:51:19 +11:00
Pat Hickey
e82d1402ef AP_Loop: moved to APO library, which is the only code that uses it 2012-12-20 14:51:19 +11:00
Pat Hickey
29a425c0dd AP_HAL: import utility Print, Stream, and BetterStream headers 2012-12-20 14:51:18 +11:00
Pat Hickey
00920b0483 AP_HAL_AVR: Stub implementations of AP_HAL_AVR concrete classes 2012-12-20 14:51:18 +11:00
Pat Hickey
dc03b1190f AP_HAL: Stub implementations of pure virtual AP_HAL classes 2012-12-20 14:51:18 +11:00
Craig@3DR
2586c7a32a Updated the MediaTek configuration
to set the minimum speed the GPS must be moving to update the position to 0 m/s.
to enable SBAS / WAAS / DGPS position fixes.
2012-12-11 15:35:52 -08:00
rmackay9
24317e721b AC_PID, AP_AHRS: added descriptions to some parameters 2012-12-10 22:28:39 +09:00
rmackay9
a38db6744f AP_Motors: add comments for parameters 2012-12-10 21:37:20 +09:00
rmackay9
6cf94e20e7 AP_InertialNav_test: small change to #include in example sketch 2012-12-10 00:49:09 +09:00
rmackay9
395eb25041 ThirdOrderCompFilter: delete because now combined with AP_InertialNav library 2012-12-10 00:48:43 +09:00
rmackay9
154e3c33f7 ArduCopter, AP_InertialNav: consolidated ThirdOrderComplementaryFilter into AP_InertialNav to save about 200bytes of RAM 2012-12-10 00:43:11 +09:00
rmackay9
a84d9110bd AP_Buffer: add size 5 float fifo buffer to predeclared types 2012-12-10 00:41:59 +09:00
rmackay9
49619b15dd RC_Channel: move RC_CHANNEL_ANGLE, RANGE, ANGLE_RAW type definitions to .h file so they can be used by the main sketch 2012-12-09 16:42:58 +09:00
rmackay9
b4e5176e2a ArduCopter, AP_InertialSensor: restore mpu6k sample rate to 200hz but keep default filtering at 42hz. 2012-12-09 14:27:33 +09:00
Robert Lefebvre
0eb57bf93d ACM: TradHeli
Fix to make update_throttle_cruise work with stab_throttle scaling.
2012-12-08 15:12:39 -05:00
rmackay9
35f94a6f71 AP_InertialNav: increase Z axis default time constant to 3.0 (was 1.5) 2012-12-07 12:57:12 +09:00
rmackay9
d11ee04888 AP_Camera: add three new parameters DURATION, SERVO_ON and SERVO_OFF to allow better shutter control when using servo.
Removed unused variables to save 4 bytes.
Renamed some variables and functions to make more consistent with existing code base.
2012-12-06 17:46:09 +09:00
rmackay9
eac26b2313 RC_Channel_aux: immediately send output to servos when set_radio, set_radio_to_min, set_radio_to_max, set_radio_to_trim or set_servo_out functions are called. 2012-12-06 17:41:42 +09:00
rmackay9
e6686dcab8 ThirdOrderCompFilter: remove last_time_constant_xy and _z static variables to save 8 bytes. 2012-12-06 10:24:58 +09:00
rmackay9
06d1c6b0c1 AP_Buffer: bug fix to allow buffer to completely fill up.
Also removed redundant _tail parameter which saves 1 byte.
2012-12-06 10:18:00 +09:00
rmackay9
8b5f66255e AP_InertialSensor: add comments to give credit for accel calibration method to Rolfe Schmidt 2012-12-05 09:35:55 +09:00
rmackay9
a92b7f3477 AP_InertialSensor: add comments to give credit for accel calibration method to Rolfe Schmidt 2012-12-05 09:20:31 +09:00
Robert Lefebvre
a5c4e65cdf ACM: TradHeli
Fix for Rotor Speed Controller to switch on/off with Ch8 as opposed to the old way (throttle).
2012-12-04 15:09:27 -05:00
Andrew Tridgell
3b18c57691 AP_InertialSensor: removed axis getters for accel/gyro
these were only being used in one place, and in that place were used
incorrectly!
2012-12-04 09:11:55 +11:00
Andrew Tridgell
d2f9a705ea MAVLink: clarify frame of reference for HIL_STATE 2012-12-03 23:31:34 +11:00
Andrew Tridgell
15abc784ec MAVLink: use a smaller maximum payload to reduce memory
this limits the sizes of the MAVLink buffers. It doesn't make a big
difference now, but it will matter when we update to the latest
mavlink code which has some very large packets
2012-12-03 23:28:23 +11:00
Andrew Tridgell
5e77119377 AP_InertialSensor: fixed stub driver to work correctly with sensors HIL 2012-12-03 23:27:21 +11:00
Andrew Tridgell
b237c0583d AP_InertialSensor: Added INS_MPU6K_FILTER option
this allows the user to select the MPU6000 filtering frequency
2012-11-30 07:15:19 +11:00
Andrew Tridgell
4f868e04cc AP_InertialSensor: return the example sample count in Oilpan 2012-11-30 07:15:19 +11:00
Andrew Tridgell
c7dd042909 InertialNav: update example for new interface 2012-11-30 07:15:19 +11:00
Andrew Tridgell
51080d3e9e AHRS: update example for new ins interface 2012-11-30 07:15:19 +11:00
Andrew Tridgell
089ae0f9f3 AP_InertialSensor: allow specification of sample rate in init() call
this lets the caller not need to know the underlying sample rate. They
just ask for what rate updates happen. 

This also changes the MPU6k filtering to be less than half the sample
rate
2012-11-30 07:15:18 +11:00
Andrew Tridgell
951e764442 SITL: prevent the GPS pipe filling up and delaying GPS readings 2012-11-28 14:23:53 +11:00
Andrew Tridgell
471ed9429a SITL: cleanup RC control for rover support
added vehicle type, and setup right initial throttle
2012-11-28 09:35:42 +11:00