Lorenz Meier
9cfd730819
Topic listener: Depend properly on msg_gen
9 years ago
Lorenz Meier
0c7a4fd66e
Make parameter source file generation properly depend on board config
9 years ago
Lorenz Meier
d55feb2e0e
Disable mTECS, but retain code for now ( #4407 )
...
* Disable mTECS, but retain code for now
* astyle fw_pos_control_l1
* fw_pos remove pitch_max_special only used by mtecs
* move FW_T_CLMB_MAX to FW TECS param group
* fw_pos initialize tecs_status_s
9 years ago
Lorenz Meier
5a84a223e6
Param handling: Cull unused params
9 years ago
David Sidrane
1c94e27463
Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy
...
Conflicts:
src/lib/ecl
9 years ago
David Sidrane
64d43ad381
Scope parameter included in build by cmake/configs
...
Conflicts:
Tools/px_generate_params.py
src/lib/ecl
9 years ago
Daniel Agar
93d261a558
cmake fix px4_base linker flags
9 years ago
Lorenz Meier
d0dd52c0d6
Better param meta
9 years ago
thedevleon
9ff6751eb5
hotfix for frsky dport telemetry ( #4409 )
9 years ago
Lorenz Meier
05885e4e5f
Add support to enable FrSky telemetry on TELEM2
9 years ago
Lorenz Meier
e7b23a557a
Mag cal: Require only three sides, robustify output.
9 years ago
Lorenz Meier
f386fb8bae
EKF estimator: Disable vibration warnings due to excessive false positives
9 years ago
Lorenz Meier
d69109c21c
Q estimator: Disable vibration warning due to excessive false positives
9 years ago
Lorenz Meier
ae123d9e20
MAVLink app: Do not accept config commands on wireless links when USB is connected
9 years ago
Lorenz Meier
796af52df2
MAVLink app: Offer a little more RAM
9 years ago
Lorenz Meier
2a963dc3b7
Initialize MAVLink system to sane defaults
9 years ago
Lorenz Meier
bf0ea86bd9
Fix battery params to better defaults
9 years ago
Lorenz Meier
c1bf70eea0
EKF: Bump vibration warning threshold
9 years ago
Lorenz Meier
7fcb53ec74
Q Estimator: Bump vibration warning threshold
9 years ago
Julian Oes
ef6892a885
sdlog2 bugfix of vehicle_status conflicting with commander_state ( #4402 )
...
* sdlog2: move from STAT.MainState to COMM.MainState
This fixes a bug where vehicle_system_status and the commander internal
state were conflicting.
This will need adaptations in logging tools.
* sdlog2: don't bother changing STAT.MainState
For compatibility reasons, let's stick to the used log field (but still
fix the bug where the buffer (union) was overwrittern.
9 years ago
Julian Oes
eb1ab4011a
sensors: the ifdef logic was inverted ( #4401 )
9 years ago
Julian Oes
49ae3e17d5
land_detector: fix wrong astyle formatting ( #4399 )
9 years ago
Lorenz Meier
1b11049e42
Land detector: fix code style
9 years ago
Lorenz Meier
a741257293
Enable new ESP8266 TELEM2 output mode
9 years ago
Lorenz Meier
18b72241ce
System params: Update choices for ESP8266
9 years ago
Lorenz Meier
8b9b02bee8
Land detector: Update params
9 years ago
Lorenz Meier
5c1d2c1cee
Land-detector: Better granularity for manual and auto flight modes
9 years ago
Julian Oes
234068989b
sensors: treat RPi like QURT
9 years ago
Lorenz Meier
3ccd9988d3
Multicopter land detector: Enforce sync between system and detector
9 years ago
Lorenz Meier
109f88564d
Commander: Init land detector
9 years ago
Lorenz Meier
567364317a
Fix formatting in battery
9 years ago
Lorenz Meier
4a94835880
Fix formatting in sensors
9 years ago
Beat Küng
825d754036
orb nuttx: add irqsave() guard around 64bit timestamp readout
9 years ago
Beat Küng
1ce5d795be
orb: move SmartLock into global space and use it also for NuttX
9 years ago
Beat Küng
4269db73a0
refactor semaphore: move into separate file
9 years ago
Beat Küng
843e54f554
orb DeviceMaster posix: make destructor virtual
9 years ago
Beat Küng
c6da90ac63
orb nuttx: fix threadding issue in uORB::DeviceNode::write
...
same issue as in posix code: 64bit values are not atomic in general.
9 years ago
Beat Küng
44012be8b6
orb posix: fix multi-threading issues
...
in detail:
- in the write method: the following are not necessarily atomic operations:
_last_update = hrt_absolute_time();
_generation++;
- appears_updated() was called with a lock held in some cases, but not
in ioctl
- use the SmartLock class, so that unlock() is not needed before every
return call. Makes it less error prone
9 years ago
Beat Küng
9a0cff2a00
vdev: add a SmartLock class that automatically unlocks when going out of scope
9 years ago
Beat Küng
aacfd8d553
orb: add some comments about locking
9 years ago
Beat Küng
5cf78da7d7
orb uORB::DeviceMaster::_flavor: make it const, it's never changed
9 years ago
Beat Küng
c61a5acd59
orb DeviceNode::filp_to_sd: make this method static
...
Makes it easier to see that no class members are accessed
9 years ago
Beat Küng
1a57488ac6
orb: add a separate uORB::Manager::initialize() method
...
This fixes a race condition: uORB::Manager::get_instance() is used in a
multi-thread context, but the singleton initialization was not thread-safe.
Further, this avoids having to check for nullptr every time the singleton
is accessed.
uORB::Manager::initialize() is called when uorb is started. No one else
accesses the singleton before that point, because it is only used in the
orb_* methods, and in muorb. Both require uorb to be started already when
they are used.
9 years ago
Lorenz Meier
1b133931a6
Battery charge estimation: Refactor the filtering strategy and move it to the backend, doing integration before and filtering the resulting charge estimate
9 years ago
Lorenz Meier
343b8fb50f
Sensors app: Send proper throttle setting to battery charge level estimator
9 years ago
Lorenz Meier
49d174aae4
Add small script to sync meta data to QGC build
9 years ago
Lorenz Meier
52d85f56e1
upload sh: Fix portability
9 years ago
Julian Oes
08f88d006f
sensors: use the empty sensor init for RPi as well
...
The RPi build is based on the same DriverFramework base like the QURT
build, therefore it should use the same empty sensor init function.
9 years ago
Beat Küng
1827f78ab7
orb unit tests: use orb_unadvertise & create a separate test for it
...
Now 'uorb test' can be called multiple times.
9 years ago
Beat Küng
9da537c092
uorb: add uorb_unadvertise method
...
This is necessary when using multiple instances of a topic. However it does
not free the underlying resources, as it is assumed they will be used again
at a later point.
9 years ago