Julian Oes
22847e49e7
param_shmem: fix style
2016-04-12 13:15:50 +02:00
Julian Oes
9cfffc9747
param_shmem: do fsync after param write
2016-04-12 13:15:50 +02:00
Julian Oes
4ddd1bbf03
battery: fix segfault
...
The name was set NULL which lead to a segfault on POSIX.
2016-04-11 18:01:47 +02:00
Julian Oes
1cc43a00d6
battery: astyle
2016-04-11 18:01:47 +02:00
Julian Oes
32c3135788
commander: move battery calculations to systemlib
...
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.
This moves the battery fields out of the vehicle_status message into the
battery_status topic.
This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
tumbili
2f7601370b
mixer multirotor: initialise min_out with correct value
2016-04-11 17:47:40 +02:00
Beat Küng
215aa78f30
fix coding style for gps drivers
2016-04-11 11:23:01 +02:00
Beat Küng
b3ed8b70d2
systemlib scheduling_priorities: include the more generic px4_tasks.h
...
this makes sure the header can also be used under POSIX
2016-04-11 11:23:01 +02:00
Beat Küng
ec819737c1
systemlib: make err() & errx() work for POSIX
2016-04-11 11:23:01 +02:00
Julian Oes
60d66dc23f
param_shmem: before saving update the param
2016-04-05 13:02:53 +02:00
Daniel Agar
6888545037
remove @unit enum
2016-03-25 20:33:25 -04:00
Lorenz Meier
e28b9edc8b
Fix MAVLink log output and priorities
2016-03-24 14:21:36 +01:00
Julian Oes
bba0d0384d
drivers/modules: changes after mavlink_log change
...
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Julian Oes
2d4179a35b
mavlink: refactor mavlink_log
...
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Lorenz Meier
76a8bea1c1
Fix mixer reporting
2016-03-24 12:07:06 +01:00
Julian Oes
4a1e9d610b
param_shmem: fix the "unknown param id" bug
...
The recent workaround to flag all params as used did not include
param_for_used_index(). However, this function got used in the case if
one param had not been received by QGC and was requested by its index.
2016-03-22 20:38:11 +01:00
Julian Oes
61baef4b65
param_shmem: fix format
2016-03-18 11:26:29 +00:00
Julian Oes
06d7a9c491
param_shmem: fixes for params on Snapdragon
...
On Snapdragon we can't yet use the "used" mask for parameters and
therefore need to send all of them down to the ground station. All
params were set to used in an earlier commit but the count and index
function didn't reflect this change. This is fixed now, therefore we can
successfully receive all params in QGC.
2016-03-18 11:26:29 +00:00
Daniel Agar
8ffcfdb492
systemlib fix comment formatting
2016-03-14 09:12:34 +01:00
Daniel Agar
12d0febaea
system param @unit
2016-03-14 09:12:34 +01:00
Daniel Agar
91e3073e11
circuit_breaker param metadata
2016-03-14 09:12:34 +01:00
Julian Oes
881a2a5860
param_shmem: make all params used
...
This is a workaround for the fact that the used information is not
shared between the ADSP and the Linux side on the Snapdragon. By
flagging all params used, we can at least receive them on QGC.
2016-03-10 22:26:31 +01:00
Lorenz Meier
17b86d97e2
System lib format fixes
2016-03-06 18:05:45 +01:00
Julian Oes
1cebfde840
gps: make the driver compile and run on QURT
2016-03-06 18:02:50 +01:00
Lorenz Meier
98e65a2c3a
Do not check mode switch for now
2016-03-06 17:54:11 +01:00
Mark Whitehorn
1551898f5a
fix typo in comment
2016-03-01 09:21:58 +01:00
Lorenz Meier
73125b52d6
More autostart items for serial link
2016-02-19 20:36:04 +01:00
jwilson
75fad09263
Fixed problem causing a failure to obtain the shared memory lock on the AppsProc.
2016-02-19 16:59:49 +01:00
jwilson
4adfea7fa9
Resolved shared memory parameter problems and removed additional debug code.
2016-02-19 16:59:49 +01:00
Julian Oes
4b2be9c9d4
param_shmem: remove debug noise
2016-02-19 16:59:46 +01:00
Mark Charlebois
791ec37f43
Code formatter fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
caa94d58a6
Manually integrated Jim's changes from integrate2_jim branch
...
Signed-off-by: Jim Wilson <jywilson99@hotmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:46 +01:00
Mark Charlebois
bd76042de2
Added muorb to posix eagle build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
dab1f835c7
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
8b22bde071
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois
94a1332cfa
Removed extraneous ifdef __PX4_QURT
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
8c4064e346
Removed bad integration changes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
4c9492e10f
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois
9f1aca90b3
Removed bad integration changes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
014f15d8b0
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
ee34207fdd
Added param module back for nuttx build
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
fea910d45a
Code cleanup and ifdefs required for qurt build
...
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.
Changes include code cleanup for shmem_posix.c.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois
5846a22a8f
Code format fixes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois
20bc45f187
Removed extraneous ifdef __PX4_QURT
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois
b63e29e53d
Removed bad integration changes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois
65d89b5b97
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois
2a1ec7aad8
Removed bad integration changes
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Mark Charlebois
9f3bf8e9f4
Rebase changes on upstream master
...
This brings in many of the changes from the PX4 fork on ATLFLight.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Nate Weibley
0419a99f00
New param hashing spec
...
- When listing all params, lead with _HASH_CHECK value for cache load
- When set value on _HASH_CHECK is rx'd, stop any ongoing listing req
2016-02-18 18:51:17 +01:00
Lorenz Meier
8c56f38ea6
Add missing reboot required flag
2016-02-06 16:25:52 +01:00