BharathR
f06e6f0ce1
Fixed actuator controls struct in Snapdragon legacy uart_esc driver wrapper ( #4724 )
2016-06-03 10:22:09 +02:00
Mark Charlebois
30a3311fe6
Fixed qurt_eagle_travis build
...
Added missing stub function and added SDK 2 and 3 support.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-06-01 23:50:28 +02:00
Mark Charlebois
02e3f28d87
Added back support for SDK 2.0 as well as 3.0
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-06-01 23:50:28 +02:00
Mark Charlebois
6ac0eabb5a
Changes required to support Hexagon SDK 3.0
...
The inc and lib directories were renamed to incs and libs.
This requires an updated cmake_hexagon and come changes to qurt paths in
PX4.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-06-01 23:50:28 +02:00
Julian Oes
144b0a179a
df_hmc5883_wrapper: fix wrong variable name
2016-06-01 08:39:10 +02:00
Julian Oes
3e176fa91f
df_mpu9250_wrapper: usage is info
2016-06-01 08:39:10 +02:00
Julian Oes
d5a7aaa09d
df_hmc5883_wrapper: rotation on driver level
2016-06-01 08:39:10 +02:00
Julian Oes
969940e98a
df_mpu9250_wrapper: add rotation to internal mag
2016-06-01 08:39:10 +02:00
Kabir Mohammed
a7ae7907f7
add rotation support to mpu9250 wrapper
2016-06-01 08:39:10 +02:00
Julian Oes
99cf6758d2
DF driver wrappers: whitespace fixes
2016-05-31 16:43:13 +02:00
Julian Oes
4e54bed051
df_mpu9250_wrapper: bool comparison without ==
...
I prefer this way because I think it's more readable.
2016-05-31 16:43:13 +02:00
Julian Oes
b0b7832048
DF driver wrappers: advertise with actual data
2016-05-31 16:43:13 +02:00
jwilson
76095ebba5
Responding to PR feedback. All items resolved.
...
Signed-off-by: jwilson <jwilson@qti.qualcomm.com >
2016-05-31 16:43:12 +02:00
jwilson
67ea3d6ec6
Fixing function which retrievs mag calibration values.
...
Signed-off-by: jwilson <jwilson@qti.qualcomm.com >
2016-05-31 16:43:12 +02:00
jwilson
c6250657eb
Added mag support to the DriverFramework mpu9250 driver. Shortened parameter names for legacy drivers. Added temporary ifdef's in the calibration code for Snapdragon Flight builds.
...
Signed-off-by: jwilson <jwilson@qti.qualcomm.com >
2016-05-31 16:43:12 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Lorenz Meier
55c7ffbe62
Fix more Qualcomm param length issues
2016-05-28 14:36:51 +02:00
Lorenz Meier
c19ac3425f
MPU9x driver: Fix param names
2016-05-28 14:24:19 +02:00
Mark Charlebois
86e470b1c2
Fixed syle issues
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-05-28 14:06:14 +02:00
Mark Charlebois
af1e20a1d0
Added fc_addon uart_esc support
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-05-28 14:06:14 +02:00
Mark Charlebois
6f8f8279b7
Added support for fc_addon drivers
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2016-05-28 14:05:45 +02:00
Beat Küng
26feb018d9
getprogname on posix: fix locking (mutex was not unlocked in some cases)
2016-05-27 19:33:55 +02:00
Julian Oes
45bb1786b6
Fix SITL CPU ( #4657 )
...
* accelsim: add debug output like in gyrosim
* DriverFramework: update submodule
This brings lower CPU usage because of scheduling in us instead of ms.
2016-05-27 18:52:38 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Lorenz Meier
c67907ffb2
BMP280 wrapper: Clean up floating point operations
2016-05-19 15:44:37 +02:00
Kabir Mohammed
529460d573
Fix RPi2 build system
2016-05-19 15:41:50 +02:00
Julian Oes
d3a9930b50
logger: get paths working on Snapdragon
2016-05-14 11:27:07 +02:00
Daniel Agar
69c1ce1714
WIP logger serialization
2016-05-14 11:27:07 +02:00
Daniel Agar
eb29b33620
use gcc attributes to align and pack
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Julian Oes
3a8d242576
dataman: get path for Snapdragon right
2016-05-14 11:21:44 +02:00
Julian Oes
e064cb645e
gpssim: fix command line argument handling
...
The gpssim interface was pretty broken, from random usage complaints to
segfaults.
2016-05-13 22:07:46 +02:00
Lorenz Meier
f204a145c7
POSIX: Improve console management
2016-05-13 10:35:19 +02:00
Julian Oes
89661b2d9a
df_mpu9250_wrapper: use all accel/gyro data
...
Use the data which has been filtered by the integrator for the
instantanous values instead of only 1 out of 32 samples.
This is to better support estimators and modules other than ekf2 which
uses the integrated gyro/accel values anyway.
2016-05-12 12:41:40 +02:00
Beat Küng
42a9d5651f
platform: some code cleanup for px4_{posix,qurt}_tasks.cpp
...
- __BEGIN_DECLS is for declarations not definitions
- getprogname() declaration is in err.h
2016-05-11 15:56:50 +02:00
Beat Küng
77c61260df
px4_task_spawn_cmd: handle case properly when running out of unused taskmap items
2016-05-11 15:56:50 +02:00
Beat Küng
d3068b4337
px4_task_spawn_cmd: fix memory leak on posix
2016-05-11 15:56:50 +02:00
Julian Oes
6c61b67fd5
shmem: fix eagle build
2016-05-05 14:28:35 +02:00
Lorenz Meier
34ba80ea9d
Remove attributes warning for Snapdragon
2016-05-05 14:09:18 +02:00
Lorenz Meier
084dfb4026
Fix Snapdragon no-packed
2016-05-05 14:02:31 +02:00
Daniel Agar
7aa6e85563
enable Wshadow
2016-05-05 13:32:42 +02:00
jwilson
c87a8bedb6
Adding config changes to allow PX4 to be built for the Excelsior board.
2016-05-05 08:34:31 +02:00
Julian Oes
aafcae7e6f
MPU9250: integrate using the FIFO sample interval
...
Instead of calculating time offsets between samples, it is easier just
to assume a constant sampling time. Then all samples can be integrated,
and published every forth time the FIFO buffer has been emptied.
The sampling in the sensor happens at 8kHz, the driver empties the
buffer at 1kHz, and publishes (and resets the integration) at 250 Hz.
2016-05-04 22:28:19 +02:00
Beat Küng
44a0981c14
fix px4_task_spawn_cmd: unlock mutex if pthread_create fails
2016-05-03 17:34:42 +02:00
Beat Küng
99a682e7a7
fix px4_task_spawn_cmd: memory leak, if one of the pthread_* calls fails
2016-05-03 17:34:42 +02:00
Beat Küng
c942266aa6
fix airspeedsim: add missing return
2016-05-03 17:34:41 +02:00
Beat Küng
1ce5d795be
orb: move SmartLock into global space and use it also for NuttX
2016-04-29 11:15:16 +02:00
Beat Küng
4269db73a0
refactor semaphore: move into separate file
2016-04-29 11:15:15 +02:00
Julian Oes
0c0d251003
Intersil wrapper continued
...
* Qflight: add intersil sensor driver
* df_isl_wrapper: change driver lib name to isl
* posix-config: add df_isl_wrapper start command to eagle startup
* isl_wrapper: cleanup isl wrapper
* isl: remove unused option -R
* isl: change the driver name to isl29501
* DriverFramework: updated submodule again
This is to get the latest `make fix-style` changes.
* df_isl29501_wrapper: rename wrapper all the way
2016-04-28 15:31:40 +02:00
Julian Oes
ea3adee28a
shmem_qurt: fix format
2016-04-26 10:23:39 +02:00