Andrew Tridgell
212728be34
InertialSensor: ensure MPU6000 is out of sleep mode before configuring
...
the MPU6000 starts in sleep mode, and can take a while to wakeup
2012-12-27 21:28:41 +11:00
Andrew Tridgell
edad43611d
Plane: reset last heartbeat time on startup completion
...
this gives more time for the GCS to send its first heartbeat
2012-12-26 08:46:36 +11:00
Andrew Tridgell
85e4f67e68
Plane: added a note about the dangers of the FS_GCS_ENABL option
2012-12-25 21:18:39 +11:00
Andrew Tridgell
cf8e648558
CLI: fixed accel setup
...
disable mavlink callback in CLI
2012-12-24 08:51:33 +11:00
Andrew Tridgell
091c14a33e
SITL: disabled buffering on stdout
...
this fixes the ArduPlane log dump
2012-12-24 08:00:57 +11:00
Andrew Tridgell
0186fabb3b
build: allow building with the "Empty" HAL
...
useful for porting
2012-12-24 07:30:50 +11:00
Andrew Tridgell
02fb938053
Hello: added a trivial test sketch
...
works with APM1/APM2/SITL
2012-12-24 07:20:35 +11:00
Andrew Tridgell
122b8716a7
InertialSensor: added auto reset of MPU6000 on startup failure
...
this works around the problem of the MPU6000 failing to come up on DTR
reset or warm reboot
2012-12-24 07:17:03 +11:00
Andrew Tridgell
44ad850542
InertialSensor: latch the data ready pin high on new data
...
this ensures we don't miss a sample due to another source of delay
2012-12-23 17:46:36 +11:00
Andrew Tridgell
fcb09c3993
InertialSensor: fixed example app for new syntax
2012-12-23 12:49:34 +11:00
Andrew Tridgell
e2edad8a3f
InertialSensor: fixed last sample time in MPU6000
...
we lost this in the final work on the DTR bug
2012-12-23 08:59:35 +11:00
Andrew Tridgell
3fda7bbeac
autotest: fixed log dumping
2012-12-22 14:50:32 +11:00
Andrew Tridgell
feb11f0bc9
PX4: mark example as nobuild for now
2012-12-22 14:40:10 +11:00
Andrew Tridgell
f4d3cd42d7
autotest: enable throttle failsafe for ArduCopter
2012-12-22 13:29:09 +11:00
Andrew Tridgell
fc953588e1
Rover: allow rover to build on APM1-1280
2012-12-22 13:21:34 +11:00
Andrew Tridgell
0c38ba958a
build: default to APM2 build
2012-12-22 13:05:12 +11:00
Andrew Tridgell
f0dfcc1126
build: default to APM2 build
2012-12-22 13:02:42 +11:00
Andrew Tridgell
7b2d65e3e7
autotest: added HAL_BOARD to build config
2012-12-22 12:55:22 +11:00
Andrew Tridgell
e7b915b0f4
AP_Math: fixed error comment
2012-12-22 12:52:42 +11:00
Andrew Tridgell
463a089e5c
InertialNav: fixed example build
2012-12-22 12:50:31 +11:00
Andrew Tridgell
c3dc23d295
AP_HAL: fixed warning in progmem
2012-12-22 09:49:19 +11:00
Andrew Tridgell
1a53bc783c
InertialSensor: poll data ready pin instead of an interrupt for MPU6k
2012-12-22 09:16:31 +11:00
Pat Hickey
563ca3f79b
AP_HAL_AVR: expose gpio pin 70 for mpu6000 interrupt input
2012-12-22 09:11:14 +11:00
Pat Hickey
1678dcc6f0
AP_HAL: GPIO INTERRUPT defines
2012-12-22 09:11:11 +11:00
Andrew Tridgell
93040e5725
AP_HAL: removed the defer_timer_process() function
...
this is now unused
2012-12-21 20:01:42 +11:00
Andrew Tridgell
9548e7e79e
InertialSensor: simplify the data_ready interrupt handling
...
this avoids using the defer process code, and fixes a nasty bug that
caused the APM to lockup on reset
2012-12-21 20:01:19 +11:00
Andrew Tridgell
c5ba33d39a
AP_Baro: fixed MS5611 semaphore handling
2012-12-21 19:33:57 +11:00
Andrew Tridgell
47358929e2
HAL_AVR: fixed attach_interrupt race condition
2012-12-21 19:33:57 +11:00
Andrew Tridgell
d54c6989ab
Plane: fixed the last build warnings
...
we now build with no warnings for APM1, APM2 and SITL. Yay!
2012-12-20 22:46:48 +11:00
Andrew Tridgell
8d47a739a1
SITL: fixed a return value in snprintf functions
2012-12-20 22:46:22 +11:00
Andrew Tridgell
dc2b11704f
Plane: fixed a build warning
2012-12-20 22:42:44 +11:00
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
2012-12-20 22:41:58 +11:00
Andrew Tridgell
cd430cb6a8
RC_Channel: added no_deadzone version of set_pwm()
2012-12-20 22:41:58 +11:00
Andrew Tridgell
f504e2ec67
InertialSensor: removed sample rate in example
...
not needed any more
2012-12-20 15:16:43 +11:00
Andrew Tridgell
9931009db2
Math: use pythagorous2() in some more places
2012-12-20 15:16:18 +11:00
Andrew Tridgell
78d98023f4
Copter: remove use of 'byte'
2012-12-20 14:58:07 +11:00
Andrew Tridgell
1cb4724b7f
Plane: fixes for 1280 build
2012-12-20 14:53:24 +11:00
Andrew Tridgell
13ea0bb5d8
AP_Camera: disable relay on APM2
2012-12-20 14:53:24 +11:00
Andrew Tridgell
4a6b46c661
AP_GPS: fixed multiple GPS detection bug
2012-12-20 14:53:24 +11:00
Andrew Tridgell
fb4540a349
DataFlash: disable some debug code
2012-12-20 14:53:24 +11:00
Andrew Tridgell
f549950a9c
AP_GPS: remove some debug code
2012-12-20 14:53:23 +11:00
Andrew Tridgell
3aa39da6cd
AP_Baro: removed some debug code
2012-12-20 14:53:23 +11:00
Andrew Tridgell
e282554035
AHRS: removed some debug code
2012-12-20 14:53:23 +11:00
Andrew Tridgell
9a2e77b797
Plane: fully disable relay and mount code on APM1-1280
...
this saves some more flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell
a180437028
AP_Compass: disable auto-declination on 1280
...
this saves a few k of flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell
60d3df50ae
AP_HAL: changed delay() to take a uint16_t
...
this allows for up to 32 second delays, and saves a bit of flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell
772f93ea10
Plane: fixed config for 1280
2012-12-20 14:53:23 +11:00
Andrew Tridgell
d8bed0c2aa
AP_Math: fixed get_distance() function
2012-12-20 14:53:23 +11:00
Pat Hickey
087bf380c0
APMrover2: fixes for AP_InertialSensor_UserInteract
2012-12-20 14:53:23 +11:00
Pat Hickey
5231e5a959
ArduPlane: fixes for AP_InertialSensor_UserInteract
2012-12-20 14:53:23 +11:00