Julian Oes
441d7aacbb
gps: fix build, unused var ERROR
2016-04-11 13:51:04 +02:00
Beat Küng
dde7907da4
ubx gps driver: configure both USB & UART interfaces
2016-04-11 11:23:01 +02:00
Beat Küng
8c64e2b801
gps driver: fix 'gps stop' error
2016-04-11 11:23:01 +02:00
Beat Küng
0c966dc923
fix mtk+ubx gps driver: use px4_clock_settime instead of clock_settime
2016-04-11 11:23:01 +02:00
Beat Küng
c495266c79
ubx gps driver: remove variable length member 'raw' from union
...
this causes only problems and is not supported by ANSI C. error caused:
fatal error: field '_buf' with variable sized type 'ubx_buf_t' not at the end of a struct or class is a GNU extension
2016-04-11 11:23:01 +02:00
Beat Küng
215aa78f30
fix coding style for gps drivers
2016-04-11 11:23:01 +02:00
Beat Küng
851340eccc
ubx gps driver: add error handling when write(...) fails
...
this also fixes a compiler warning
2016-04-11 11:23:01 +02:00
Beat Küng
95c7534712
ashtech gps: fix compiler warning in configure
...
the warning is:
error: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
2016-04-11 11:23:01 +02:00
Beat Küng
21f403e12b
gps: make sure the gps module compiles for POSIX & add it to the posix_sitl_default cmake
...
- Note that the simulator still uses gpssim by default
- now the gps module can be used in the SITL. this makes it possible to test
the real gps HW under POSIX
additional steps needed to use it:
- in the rcS_jmavsim_iris, make sure to start the gps instead of gpssim:
gps start -d /dev/ttyACM0 -s
- disable the mavlink serial connection in simulator_mavlink.cpp,
openUart(PIXHAWK_DEVICE, 115200);
- this also fixes a memory leak in the gps module
2016-04-11 11:23:01 +02:00
Beat Küng
77cda58d73
fix ashtech gps: _satellite_info can be nullptr
2016-04-11 11:23:01 +02:00
Beat Küng
d7ca0b1139
hrt_absolute_time: add comment, that time is in us
2016-04-11 11:23:00 +02:00
Julian Oes
2bce8f2803
muorb: abs time on aDSP in sync with Linux side
...
This adds a call on startup of the muorb on the aDSP side to use an
offset for hrt_absolute_call(). This means that the hrt_absolute_call()
on the appsproc (Linux) side should now match the one on the aDSP
(QURT) side.
The accuracy still needs to be determined.
2016-04-08 15:51:16 +02:00
Felix Hu
afdf8bbaaa
Fix the build of mindpx-v2 default
2016-04-05 15:32:40 -07:00
Felix Hu
3295b29bf9
fix code style issues
2016-03-30 19:45:39 +02:00
Felix Hu
bd580e09bf
supports MindPXv2 borad which is a product from AirMind.
2016-03-30 19:45:39 +02:00
Lorenz Meier
15427bec58
Trone: Use shorter perf names
2016-03-28 13:05:47 +02:00
Lorenz Meier
2c6119e355
SRF02: Use shorter perf names
2016-03-28 13:05:36 +02:00
Lorenz Meier
90f731a134
SF10a: Use shorter perf names
2016-03-28 13:05:22 +02:00
Lorenz Meier
c7cc563832
SF0X: use shorter perf names
2016-03-28 13:05:07 +02:00
Lorenz Meier
6e34e0acaf
Flow: Use shorter perf names
2016-03-28 13:04:53 +02:00
Lorenz Meier
0f31f88b24
PCA: Remove unuses perf counter
2016-03-28 13:04:41 +02:00
Lorenz Meier
8891c94087
Gimbal: remove unuses perf counters
2016-03-28 13:04:25 +02:00
Lorenz Meier
96fd15f42e
MS5611: Use shorter perf names
2016-03-28 13:04:10 +02:00
Lorenz Meier
5a65f41482
MPU9K: Use shorter perf names
2016-03-28 13:03:56 +02:00
Lorenz Meier
b8c5f6be6a
MPU6K: Use shorter perf names
2016-03-28 13:03:41 +02:00
Lorenz Meier
fdf57e14a1
Use shorter perf names for MB12xx
2016-03-28 13:03:25 +02:00
Lorenz Meier
37fb74c8b7
Use shorter perf names for LSM303D
2016-03-28 13:03:10 +02:00
Lorenz Meier
6b7142469a
Use shorter perf names for L3GD20H
2016-03-28 13:02:59 +02:00
Lorenz Meier
54a75d5ef9
HMC: Use shorter perf names
2016-03-28 13:02:41 +02:00
Lorenz Meier
b71123f4fe
GPS: Use shorter perf names
2016-03-28 13:02:29 +02:00
Lorenz Meier
924b7efaa2
Airspeed: Use shorter perf names
2016-03-28 13:02:15 +02:00
Julian Oes
438c8827f6
snapdragon_rc_pwm: astyle
2016-03-27 12:40:10 +02:00
Julian Oes
00bee89c66
uart_esc: fix compile error and remove printf
2016-03-27 12:40:10 +02:00
Julian Oes
4698bf92a5
snapdragon_rc_pwm: no PWM when timed out
...
PWM output is now stopped if the mavlink actuator_controls stop being
sent. This means props will stop in case the Snapdragon crashes or the
cable from Snapdragon to Pixhawk/Pixracer breaks.
2016-03-27 12:40:10 +02:00
Julian Oes
8b9c943da9
uart_esc: calculate raw PWM on the Snapdragon
...
This includes taking care of the arming state and the limit ramp.
2016-03-27 12:40:10 +02:00
Julian Oes
df9832f806
snapdragon_rc_pwm: use ioctl to set PWM
...
This is by far the easiest solution for now.
2016-03-27 12:40:10 +02:00
Julian Oes
e5dfda6d46
uart_esc: remove timeout printf
2016-03-27 12:40:10 +02:00
Julian Oes
e50f3ad4f2
uart_esc: do an additional advertise
...
If this is not done, the aDSP crashes, not quite sure why but it's gotta
be something about the context of the callback.
2016-03-27 12:40:10 +02:00
Julian Oes
647526407a
snapdragon_rc_pwm: cleanup and raise bitrate
2016-03-27 12:40:10 +02:00
Julian Oes
cd2f0eca95
uart_esc: major cleanup, raise UART bitrate
...
This remove all leftovers from Qualcomm's ESC. Also, the startup
commands are cleaned up, and the UART bitrate is raised to 921600.
2016-03-27 12:40:10 +02:00
Julian Oes
45b41e26cc
uart_esc: accept n channels instead of just 8.
2016-03-27 12:40:10 +02:00
Julian Oes
4477566d73
snapdragon_rc_pwm: send RC anyway.
...
Let's always send RC even if nothing arrives on the UART just yet.
2016-03-27 12:40:10 +02:00
tumbili
07246efef9
added snapdragon rc pwm driver
2016-03-27 12:40:10 +02:00
Daniel Agar
26bb2fd22f
capitalize param values
2016-03-25 20:38:08 -04:00
Daniel Agar
6888545037
remove @unit enum
2016-03-25 20:33:25 -04:00
Daniel Agar
70a68def83
params correct boolean tag
2016-03-25 20:25:17 -04:00
Lorenz Meier
425c5dea2a
Fixed 9250 mag readouts. From @Inspirati
2016-03-25 16:07:51 +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
b49b012d35
ringbuffer: update header file
...
The header file was not in source with the source file.
2016-03-24 13:09:16 +01:00
Julian Oes
1b5210ca13
sensors/calibration: use params in DF wrappers
...
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00