Ricardo de Almeida Gonzaga
eb418f54ee
AP_HAL: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
aa4b66509f
AP_AccelCal: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
fcbed13533
AP_Mount: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
af13e2cca4
AP_Declination: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
e6564c2efa
AP_BoardConfig: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
2e58653983
AP_Compass: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
5237c86bca
AP_BattMonitor: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
d5a2c57c5e
AP_InertialSensor: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
08a022fa6a
AP_Frsky_Telem: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
8d6cc587c5
APM_Control: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
3033c53834
AC_WPNav: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
a8889e5765
AP_Common: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
f6ad89103c
AP_Arming: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
3f92a64b99
GCS_MAVLink: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
e31a37e7a8
AP_Notify: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
287eb69502
PID: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
dc7acdf03f
DataFlash: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
2ee6a85e67
AP_RangeFinder: Fix typos
9 years ago
Ricardo de Almeida Gonzaga
099fc69032
RC_Channel: Fix typos
9 years ago
Lucas De Marchi
388a6683ad
AP_OpticalFlow: fix optical flow initialization
...
This fixes the initialization for Linux boards using the PX4Flow module.
The problem is that after the conversion to use I2CDevice we now need to
use I2CDeviceManager, which is statically constructed after the vehicle
object.
So, if we try to call hal.i2c_mgr->get_device(), it will call the
get_device() method before the constructor is called and receive a
SIGSEGV:
Program received signal SIGSEGV, Segmentation fault.
0x000b06c0 in OpticalFlow::OpticalFlow (this=0x140914 <copter+4980>, ahrs=...)
at ../../libraries/AP_OpticalFlow/OpticalFlow.cpp:54
54 ../../libraries/AP_OpticalFlow/OpticalFlow.cpp: No such file or directory.
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
cf08c46f30
AC_PID: fixed default leak min for heli
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
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
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
88b910c13d
SITL: changed firefly motors to be suitable for a pixhawk
...
get channel groupings right
9 years ago
Andrew Tridgell
3e1cad5df2
SITL: adjust tricopter so default yaw servo values will work
9 years ago
Andrew Tridgell
48ca1a8d92
SITL: increase the mass of the plane to 2kg
...
less wafty in the air
9 years ago
Andrew Tridgell
9c90709872
SITL: fixed namespace of SITL classes
9 years ago
Andrew Tridgell
91abc636f4
SITL: fixed quadplanes with elevons
9 years ago
Andrew Tridgell
a41ffc176c
RC_Channel: added motor tilt auxillary channel
9 years ago
Andrew Tridgell
2d47ca8095
SITL: fixed moment of rotated motors
9 years ago