Andrew Tridgell
5827c710e2
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.
2012-12-03 23:26:39 +11:00
Andrew Tridgell
050f2e6ddb
Plane: fixed GPS course in HIL
2012-12-03 17:38:55 +11:00
Andrew Tridgell
cd19cb6cc2
Plane: fixed SERVO_OUTPUT_RAW for HIL
2012-12-03 17:38:31 +11:00
Andrew Tridgell
81660d07fd
Plane: use enum FlightMode in more places
2012-12-01 08:15:48 +11:00
Andrew Tridgell
4864d162d0
Plane: switch to an enum for flight modes
2012-12-01 08:08:54 +11:00
Andrew Tridgell
bcef536f64
Plane: update ArduPlane for new ins interface
2012-11-30 07:15:18 +11:00
Andrew Tridgell
b2985de682
Plane: fixed throttle slew limit code
...
starting at 1000 is a very bad idea - a petrol engine could cut out
2012-11-28 12:13:09 +11:00
Andrew Tridgell
4254e88084
Plane: use correct throttle range in slewrate
2012-11-28 11:42:05 +11:00
Andrew Tridgell
940b057765
Plane: make THR_SLEWRATE docs clearer
2012-11-28 11:41:39 +11:00
Andrew Tridgell
2446b986c5
Plane: added THR_PASS_STAB parameter
...
this allows direct passthru of throttle in STABILIZE and FBWA, which
is useful for nitro planes wher you have a throttle cut switch that
drops the throttle below normal minimum.
2012-11-26 23:33:05 +11:00
Andrew Tridgell
d33d884f69
Plane: fixed secondary aileron and manual aux servos in failsafe
...
the servo value wasn't being written to APM_RC while in failsafe for
these aux channels
2012-11-26 23:32:57 +11:00
Andrew Tridgell
ea39219532
Plane: don't do accel calibration in HIL mode
...
this should fix the hang on startup
2012-11-25 21:53:37 +11:00
Andrew Tridgell
e5e6131085
Plane: allow reboot on APM1, and add reboot to main CLI menu
2012-11-24 18:20:37 +11:00
Andrew Tridgell
db357c932c
APM: preparing for 2.67 release
2012-11-21 22:28:30 +11:00
Andrew Tridgell
937c485f91
APM: make it possible to run the CLI on any serial port
2012-11-21 21:41:34 +11:00
Andrew Tridgell
7436974e2f
MAVLink: make it possible to enter the CLI over the radio
...
this only works on the APM2, where UART0 is also the radio port
2012-11-21 14:11:05 +11:00
Andrew Tridgell
68ae91a729
APM: added AMP_OFFSET option
...
thanks to Alexey Kozin!
2012-11-21 13:34:27 +11:00
Andrew Tridgell
1232075f83
APM: allow ailerons to move fully during servo demo
2012-11-21 13:34:27 +11:00
Andrew Tridgell
3cf492a637
APM: added a new type of auxilary aileron, with rc input
...
a AileronWithInput assumes you have setup your RC transmitter to give
the right trim and input on the secondary aileron
2012-11-21 13:34:26 +11:00
Michael Oborne
9ba3dd735b
remove cli planner mode - no longer used
2012-11-21 07:45:45 +08:00
Andrew Tridgell
c13b6f3359
APM: support 16 character parameter names
2012-11-20 21:36:13 +11:00
Andrew Tridgell
e3f94963d8
APM: set MANUAL_LEVEL to 1 on successful accel calibration
2012-11-20 19:27:52 +11:00
Andrew Tridgell
4174cfd4a7
INS: disable accel calibration on the 1280
...
this would put us well over 128k in sketch size
2012-11-20 18:41:04 +11:00
Andrew Tridgell
c2910df935
APM: don't use mavlink msgs for accel cal in cli
2012-11-20 18:32:27 +11:00
Andrew Tridgell
81f7e2defd
APM: k_param_imu is now unused
2012-11-20 18:32:27 +11:00
Andrew Tridgell
202513e327
MAVLink: fixed accel and gyro sensor offsets in MAVLink
2012-11-20 18:32:26 +11:00
Andrew Tridgell
e6f322d88a
APM: fixed throttle display to always be between 0 and 100
...
when rc3 is below RC3_MIN, don't give an invalid value
2012-11-20 13:50:19 +11:00
Andrew Tridgell
73a4dbf650
APM: fixed altitude_filter for new LowPassFilter syntax
2012-11-19 08:09:44 +11:00
Andrew Tridgell
85b87b752a
APM: change WIND direction to match convention
...
Thanks to Leo Hogg for pointing this out
2012-11-19 07:16:47 +11:00
Andrew Tridgell
604ec021ec
MAVLink: improve usefulness of logged GPS velocities
...
we need them to align with time to use them for accelerations
2012-11-17 17:45:30 +11:00
rmackay9
6a2cca3610
ArduCopter, ArduPlane: rename ap variable in GCS_Mavlink.pde to resolve compiler warning re shadowing of variable 'ap'
...
Changed ArduPlane to keep function consistent with ArduCopter
2012-11-12 13:30:04 +09:00
Andrew Tridgell
b556ebf8b2
MAVLink: update compass health in SYS_STATUS
...
this will make it easier to tell if a I2C error occurred in flight
2012-11-12 11:26:54 +11:00
rmackay9
0907650456
ArduPlane: fix HIL build
2012-11-07 21:23:07 +09:00
rmackay9
e2b1cb7e8d
AP_InertialSensor: changes after review with Tridge.
...
sanity checking added to accelerometer calibration routine.
user feedback is sent using gcs_send_text_fmt instead of Serial.printf.
moved ins parameters to new eeprom number to avoid conflicts with older parameters.
other small changes including renaming of functions and parameters.
2012-11-07 19:21:15 +09:00
rmackay9
9e3ae301b1
ArduPlane: move to use new INS library instead of IMU library
2012-11-07 19:21:03 +09:00
Andrew Tridgell
efc2324666
APM: added RSSI_PIN option for receiver RSSI
...
this allows you to configure the pin for receiver RSSI without
recompiling
2012-11-06 22:04:41 +11:00
Andrew Tridgell
7d4be62906
APM: allow for arbitrary ranges and reversal on 2nd aileron
...
this ensures you can setup a 2nd aileron with different reversal from
main aileron
2012-11-05 23:37:58 +11:00
Andrew Tridgell
f6ff6d8054
APM: remove unused variable
2012-11-05 15:22:56 +11:00
Andrew Tridgell
44e44b8c99
APM: use raw GPS velocity in GLOBAL_POSITION_INT
...
a much more useful value to log
2012-11-05 14:58:40 +11:00
Andrew Tridgell
67ba1a6068
APM: prepare for 2.66
2012-10-31 13:25:19 +11:00
Andrew Tridgell
189b984400
APM: fixed differential spoilers in manual mode
...
make them follow the elevons
2012-10-31 12:43:53 +11:00
Andrew Tridgell
d5a04215bb
APM: fixed additional aileron channels in manual mode
2012-10-31 12:43:53 +11:00
Xichen Shi
f1fd7479bd
APM: Added functionality to use differential spoilers in elevon mode
...
spoiler 1 and 2 are connected to 2 auxiliary channels, functions are
set to 16 on left wing and 17 om right wing respectively. Worked in
FBW + mode (auto etc.). No manual mode supported yet (need more
channels in my case).
2012-10-31 12:43:42 +11:00
Andrew Tridgell
110a2b8af6
APM: fixed loiter radius docs to reflect new limit
2012-10-30 16:19:24 +11:00
Pat Hickey
0dd0bd131a
Update ArduCopter and ArduPlane dependencies on AP_Menu
2012-10-18 20:53:39 -07:00
Andrew Tridgell
d52a8b146b
APM: fixed a comment typo
2012-10-16 17:21:04 +11:00
Andrew Tridgell
33d9ae23ff
battery: use set_pin() to allow pins to be changed at runtime
2012-10-16 17:20:49 +11:00
rmackay9
e151d3735a
ArduPlane: added BATT_VOLT_PIN and BATT_CURR_PIN parameters to allow support for new 3DR IV battery monitor
2012-10-13 20:51:41 +09:00
Andrew Tridgell
9226d94902
APM: fixed typo
2012-10-11 15:03:52 +11:00
Andrew Tridgell
6de0566404
APM: fixed auto-takeoff with zero lat/lng
...
consider a non-zero altitude to mean that we should use the relative
altitude specified
2012-10-11 15:03:00 +11:00