Randy Mackay
cfb2a6b2f9
Copter: update brake-timeout to work with master
...
We added mode-change reasons since PR was submitted
9 years ago
Randy Mackay
0a2336a5a8
Copter: update solo-buttons to work with master
...
Change was due to addition of reason codes since PR was first submitted
9 years ago
Jonathan Challinger
67cd2bae08
Copter: implement SOLO_BTN commands
9 years ago
Jonathan Challinger
c99cac773b
Copter: add brake_timeout_to_loiter_ms
9 years ago
khancyr
14e2fa5642
sim_vehicle.py : load Rover default params
...
related to https://github.com/ArduPilot/ardupilot/issues/4090
9 years ago
Andrew Tridgell
bd3a58a727
Copter: fixed drift mode
...
the throttle assistance gain also needs to be scaled by 1000x for new throttle range
9 years ago
Peter Barker
f33cdaa212
sim_vehicle.py: add --strace option
9 years ago
Gustavo Jose de Sousa
4529028c8a
waf: ardupilotwaf: ap_get_all_libraries: ignore non-directory files
...
Each library in ardupilot is a folder with the source in. That avoids build
failures when there are files in libraries/. That fixes #4099 ("waf doesn't
seem to like TAGS files") and #4093 ("sim_vehicle.py /w waf /w eclipse project
broken on Cygwin").
That problem can be reproduced by just creating a file in libraries/ and trying
to build with waf.
There should be a better way to confirm a path is an ardupilot library. That
can be done later.
9 years ago
Lucas De Marchi
37f6b51746
AP_HAL_Linux: Scheduler: set stack sizes to 256k
...
Running the vehicles we check the stack size doesn't grow too much by
enabling the DEBUG_STACK in the scheduler. Even on 64bit boards the
stack is consistent around 4k. Just to be a little conservative, let it
be a little bit more that that: 256kB.
Since we have RT prio and we call mlock(), the memory for the stack of
each thread is locked in memory. This means we are effectively taking
that much memory. The default stack size varies per distro, but it's
common to have 8MB for 64 bit boards and 4MB for 32 bit boards. Here is
the output of ps -L -o 'comm,rtprio,rss $(pidof arducopter-quad)', showing the
RSS of arducopter-quad before and after this change:
Before:
COMMAND RTPRIO RSS
arducopter-quad 12 46960
sched-timer 15 46960
sched-uart 14 46960
sched-rcin 13 46960
sched-tonealarm 11 46960
sched-io 10 46960
After:
COMMAND RTPRIO RSS
arducopter-quad 12 7320
sched-timer 15 7320
sched-uart 14 7320
sched-rcin 13 7320
sched-tonealarm 11 7320
sched-io 10 7320
9 years ago
Lucas De Marchi
b2d4da4b0a
AP_HAL_Linux: Thread: allow to set stack size
...
This allows the code that is creating the thread to set the size of the
stack.
9 years ago
Lucas De Marchi
d970451331
AP_HAL_Linux: Scheduler: debug stack usage
9 years ago
Lucas De Marchi
f5f4aa7c21
AP_HAL_Linux: Thread: allow to debug stack usage
9 years ago
proficnc
20a569a4d5
AP_Mount: block forwarding of MAVlink by bitmask
9 years ago
proficnc
c8b3c527f9
GCS_MAVLink: add route mask for blocking MAVlink forwading
9 years ago
Andrew Tridgell
9bf0ada875
AC_AttitudeControl: removed use of AFF for tail control in heli
9 years ago
Andrew Tridgell
a6404cf1ea
AC_PID: removed AFF from heli PID
...
this is not used any more. Discussed with Rob on dev call
9 years ago
Andrew Tridgell
75d76ac3bd
Copter: fixed scaling of old heli parms
9 years ago
Andrew Tridgell
cf08c46f30
AC_PID: fixed default leak min for heli
9 years ago
Lucas De Marchi
b012d5bb7b
sim_vehicle.py: fix error to find binary
...
When trying to execute sim_vehicle.py this is the current output:
Warning: Could not find '../Tools/autotest/../../ArduCopter/../build/sitl/bin/arducopter-quad',
starting '/bin/bash' instead. Please check your profile settings.
Fix the path to the binary and use absolute paths to ease the debug.
9 years ago
Lucas De Marchi
ad8cedc452
sim_vehicle.py: remove unused AUTOTEST variable
9 years ago
Lucas De Marchi
e772c70536
sim_vehicle.py: use helper function to execute blocking command
9 years ago
Lucas De Marchi
1ef9eb637f
sim_vehicle.py: configure project only once
9 years ago
Lucas De Marchi
7a548e45f9
sim_vehicle.py: default to -j1 if running in compat mode
9 years ago
Pierre Kancir
03e565ee47
sim_vehicle.py : change default number of jobs
...
By default waf use the max num of proc available. So let it set jobs by
itself. On contrary, with make only use one job by default.
9 years ago
Lucas De Marchi
aa974399d0
AP_Math: use inline wrappers for constrain_* functions
...
This avoids some warnings about "constrain_float defined but not used"
in some compilers.
9 years ago
Vinicius Juvinski
3bae8373e6
AP_Notify: play vehicle lost tone
9 years ago
Vinicius Juvinski
c1dd3cb921
AP_Notify: add support for for Buzzer on BBBMini
...
Use GPIO P8_31 for buzzer in BBBMini
9 years ago
Francisco Ferreira
efc3f5058b
ci: simplify build script
9 years ago
Michael du Breuil
7142bacfaa
Plane: improve user friendliness of throttle fs msg
9 years ago
khancyr
bb648280ae
sim_vehicle.py: correct APMrover2 typo
9 years ago
Peter Barker
b7d1e047aa
sim_vehicle.py: correct binary to use for --debug
9 years ago
Andrew Tridgell
12e0012b16
Plane: allow for NAV_LOITER_UNLIM and NAV_LOITER_TIME in quadplane
9 years ago
Andrew Tridgell
3fc43b94f9
Plane: separate out auto and guided VTOL states
...
this prevents a switch to AUTO from using VTOL mode incorrectly
9 years ago
Peter Barker
7510e4d0a7
SITL: setsid() when starting JSBSim so Ctrl-C doesn't kill it in GDB
9 years ago
Andrew Tridgell
eeef28be5e
AP_HAL_PX4: fixed hexacopter on Pixracer
...
the _servo_count was 4 as we didn't re-fetch the count after applying
changes in AP_BoardConfig from BRD_PWM_COUNT
9 years ago
Andrew Tridgell
8a7627474f
Revert "AP_HAL_PX4: use new I2CDevice interface"
...
This reverts commit f767918e0e
.
These commits broke startup on PX4
9 years ago
Andrew Tridgell
8c06e6cddc
Revert "AP_HAL_PX4: embed PX4_I2C object into I2CDevice"
...
This reverts commit 54fd3702c3
.
These commits broke startup on PX4
9 years ago
Andrew Tridgell
bcc64e0b4a
Plane: fixed tiltrotor build failure
...
mixup with merge of RC_Channel changes
9 years ago
Staroselskii Georgii
a2ae662b3e
AP_Compass: add an extra rotation for internal LSM9DS1 on Navio2
...
In order not to force users to set rotation themselves, we need this
hack to make an extra rotation needed for a second compass.
9 years ago
Staroselskii Georgii
2e5cfc2849
AP_Compass: added external compass autodetection on Navio
9 years ago
Staroselskii Georgii
62f2695e83
AP_Compass: added several compasses' autodetection on Navio 2
9 years ago
Staroselskii Georgii
8be5ef1642
AP_HAL: added possibility to use several compassed on Navio 2
9 years ago
Staroselskii Georgii
71736a0ecc
AP_Compass: enable LSM9DS1 magnetometer for boards without default one
9 years ago
Staroselskii Georgii
f7846403e1
AP_HAL_Linux: enabled SPI-driven LSM9DS1 for Navio 2
9 years ago
Staroselskii Georgii
b677f975e7
AP_Compass: added LSM9DS1 magnetometer support
9 years ago
Andrew Tridgell
691d4b6ca7
Plane: added local reached_loiter_target()
...
this distinguishes between VTOL and fixed wing loiter targets
9 years ago
Andrew Tridgell
52ea443d65
Plane: added Q_THR_MIN
9 years ago
Andrew Tridgell
45609bb568
autotest: don't use --sitl if using flightaxis
...
we want rc override if using flightaxis
9 years ago
Andrew Tridgell
a61d608915
Plane: fixed numerical error if starting VTOL landing at destination
9 years ago
Andrew Tridgell
357ed1f4b9
Plane: enable weathervaning in GUIDED and TAKEOFF quadplane modes
9 years ago