Andrew Tridgell
6d11940ada
AHRS: removed Quaternion build support from APM/ACM/rover
13 years ago
rmackay9
36f947acb9
ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
...
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
13 years ago
Andrew Tridgell
103b02fe94
ACM: removed pointless load() calls
13 years ago
Andrew Tridgell
0a12b6ad6f
ACM: fixed HIL build with new accel setup code
13 years ago
Jason Short
c9d3ab5413
Oilpan ADC parameters added
...
including a function that configures each Accel Axis
Defaults matching old behavior
Added param group
13 years ago
Andreas M. Antonopoulos
d4a0cb5db1
Added Michael Pursifull's Maxsonar HRLV model support
13 years ago
Andrew Tridgell
33440567e6
ACM: ArduCopter updates for new compass interface
13 years ago
rmackay9
4aa40bdf10
ArduCopter - setup.pde - changed cli for helicopter to call the new AP_Motors class's parameters instead of the global parameters.
...
changed init_esc to call the AP_Motor's class's "throttle_pass_through" function.
13 years ago
Andrew Tridgell
7a9b3d3388
Quaternion: show "Quaternion test" on startup if enabled
13 years ago
Andrew Tridgell
12327eb2a9
Heli: fixed some 'used before initialised' warnings
13 years ago
Randy Mackay
232359186e
TradHeli - fixed small parameter bug affecting helis. The servo parameters were declared as GSCALAR instead of GGROUP in Parameters.pde.
...
also renamed heli parameters from _coll_ to the more descriptive _collective_
13 years ago
Jason Short
a43ee36bee
CH 6 Range setup
13 years ago
Jason Short
73591a0ca5
Added lengthy note about motor testing
13 years ago
Andrew Tridgell
d55a0c3a71
added AP_Param::show_all()
...
this moves the logic into common code
13 years ago
Andrew Tridgell
0f9adbdae0
token size for first()/next() is now 16 bits
13 years ago
Andrew Tridgell
3b4cae3cc3
adapted main ACM code for AP_Param
13 years ago
Pat Hickey
739317276d
ArduCopter setup motors: print basic instructions.
13 years ago
Jason Short
d1fcebb5ca
Cosmetic changes
...
GPS LED lock waits for home_is_set to be true
13 years ago
Pat Hickey
98a90d0352
ArduCopter: Call motors_output_enable at correct spot during init
13 years ago
Doug Weibel
ed9f7cb1b6
Update battery monitoring code for ArduCopter
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
changed
13 years ago
Jason Short
6b836d1a09
Fixed Type Error
13 years ago
Pat Hickey
6a4442557c
ArduCopter setup.pde: translate from CH_ to MOT_ notation
13 years ago
Randy Mackay
bbe6dea980
OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
...
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
13 years ago
Jason Short
73a73fbf35
moved some defines around
13 years ago
Andrew Tridgell
483bef35e5
IMU: update ACM and APM for flash_leds change in IMU init
13 years ago
Pat Hickey
8d878a2cae
ArduCopter CLI: Add imu.init before imu.init_accel for "level"
...
* Depending on when you entered the CLI, the imu might not be
initialized yet, and init_accel would hang.
13 years ago
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
13 years ago
Jason Short
d9347290a4
Added notes to Imu.ax, ay, az
13 years ago
Jason Short
89e014c06a
Added alternate alt hold,
...
New ESC Calibration Routine
13 years ago
Jason Short
8e509b63a7
shortened strings for mem
13 years ago
Jason Short
ea57fad80c
WP counting update
13 years ago
unknown
a7038cbaf9
TradHeli - new parameter HSV_MAN to allow better set-up from APMissionPlanner. Also changed swash movement to use radio_out which fixes some setup bugs
13 years ago
Jason Short
c8304114a3
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
13 years ago
Jason Short
6a5aefd0ec
Added gains to adjust travel of camera.
14 years ago
rmackay9
b5ea05698e
TradHeli - added servo averaging to allow support of analog servos
...
- moved heli parameters to 80 because they were causing flight modes to overlap with waypoints
14 years ago
Jason Short
d29cfbcee3
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
14 years ago
Jason Short
1ce2308d11
Removed Simple Mode
...
Added Simple option to mode switch positions
removed unused OptFlow code
added reset lat and lon error
removed unused init_auto
Fixed log formatting
Added simple mode bitmask
removed pitchmax
added CLI setup for enabling Simple mode to any switch position
14 years ago
Jason Short
02bfd43390
Fixes Alt hold mistake
...
Moves tuning into runtime definable param
Added more IMax to throttle
Signed-off-by: Jason Short <jasonshort@gmail.com>
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
3ad21cc236
2.0.40
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
f868cd90e4
we should not be calling mavlink_delay() in the CLI
...
(this reverts svn 3050 from Jason)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3167 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
8715ed3bd7
2.0.39
...
added callback to the test functions… not sure if this is the correct thing to do.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
dd3dfd9f2a
re-apply DEFAULT_LOG_BITMASK patch
...
Jason, I assume you removed this patch accidentially
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2995 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
73be185414
Big update 2.0.38
...
moved ground start to first arming
added ground start flag
moved throttle_integrator to 50hz loop
CAMERA_STABILIZER deprecated - now always on
renamed current logging bit mask to match APM
added MA filter to PID - D term
Adjusted PIDs based on continued testing and new PID filter
added MASK_LOG_SET_DEFAULTS to match APM
moved some stuff out of ground start into system start where it belonged
Added slower Yaw gains for DCM when the copter is in the air
changed camera output to be none scaled PWM
fixed bug where ground_temperature was unfiltered
shortened Baro startup time
fixed issue with Nav_WP integrator not being reset
RTL no longer yaws towards home
Circle mode for flying a 10m circle around the point where it was engaged. - Not tested at all! Consider Circle mode as alpha.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2966 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
f5d17f756a
ACM - partial integration of optical flow sensor
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2934 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
6b0c938176
CLI: make it possible to completely disable the CLI
...
set CLI_ENABLED to DISABLED for no CLI. This saves a lot of memory
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2895 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
df6a1b51f3
make a lot more functions and variables static
...
this saves about 1k of code space through better compiler optimisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2889 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
f9105a056e
logging: moved the default log_bitmask calculation to compile time
...
this saves a little bit of code by moving the calculation of the
default log bitmask to compile time from runtime
(merge from APM)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2887 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
fdf090b471
allow flight modes to be setup over MAVLink
...
this adopts the same method of setting up flight modes over MAVLink as
APM now has
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2885 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
855b88852e
fixed a bunch of compiler warnings
...
mostly signed/unsigned warnings
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2884 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago