Hidenori
96a5baa12b
Navio: fix style
2016-10-06 09:00:09 +02:00
Hidenori
56ef984529
Navio2: modify for SPI-connected GPS and fix bug in GPIO driver
2016-10-06 09:00:09 +02:00
José Roberto de Souza
b9728ecf39
Uploader tool: Add option to set different baudrates for bootloader and flight stack
...
By default the baudrate in flight stack (Mavlink or NSH) 57600 and the default
baudrate of bootloader is 115200. So we may need to set different
baudrates.
2016-10-05 11:25:14 +02:00
José Roberto de Souza
7e0946466e
Uploader tool: Reboot board and keep it in bootloader
...
The Mavlink reboot messages was only requesting the board to reboot.
If the flashed bootloader has a small or no timeout user will
never be able to update firmware.
2016-10-05 11:25:14 +02:00
Michael Schaeuble
6bb03f3665
Add pitch angle to AK8963 for Bebop
2016-10-05 09:56:54 +02:00
Nate Weibley
bc44ba2907
Fix QtCreator auto whitespace formatting
2016-10-05 08:58:57 +02:00
Nate Weibley
71e87cf287
Set maximum publishing rate to match MPU6000
...
The integrators were set to publish at 800Hz which was overwhelming
the CPU with the EKF running. This brings them in line with what we
get from the MPU6k device.
2016-10-05 08:58:57 +02:00
Nate Weibley
fde165b4f1
Fix 2000dps gyro rate setbits
2016-10-05 08:58:57 +02:00
Nate Weibley
57d7a00261
Set BMI160 bus speed to 10MHz
...
Unliked the MPU6000 from which this driver was based, the bosch
sensor does not have a requirement to handle registers at different
speeds.
2016-10-05 08:58:57 +02:00
Glenn Bitar
6d41ab9e16
Fixed order of arguments in px4_task_spawn_cmd.
...
Fixes #5601
2016-10-05 08:34:58 +02:00
Beat Küng
c81a1631ec
simulator_mavlink: init hil_attitude with 0 & set angular speed
2016-10-04 12:56:25 +02:00
Mark Whitehorn
9500b7f01f
update submodule
2016-10-04 12:54:58 +02:00
Mark Whitehorn
ec1609350f
fix jMAVSim body-fixed XYZ Euler Angles
2016-10-04 12:54:58 +02:00
Lorenz Meier
29a4113ce3
MAVLink app: Handle reboot command properly on COMMAND_INT
2016-10-03 22:35:07 +02:00
James Goppert
cb5728297e
LPE fix to enable visual odom. only navigation. ( #5588 )
2016-10-03 14:58:02 -04:00
Daniel Agar
03bfcae351
circleci better manual submodules clean ( #5590 )
2016-10-03 12:59:40 -04:00
James Goppert
7c2798269c
Added vision delay compensation to LPE. ( #5585 )
2016-10-03 02:28:46 -04:00
bharathr
2f6abf26a3
Updated mainapp.config for 200qx and 210qc airframes (based off the generic flight version)
2016-10-02 16:06:08 +02:00
Lorenz Meier
c24046ca5b
FMUv1: Save resources in config
2016-10-02 11:50:34 +02:00
Lorenz Meier
93ad4fa440
rcS: The param save command is unnecessary as param set already stores to disk.
2016-10-02 11:29:53 +02:00
Artem Sabadyr
74b2780874
GPS driver: use FIONREAD on NuttX only
2016-10-02 11:19:55 +02:00
Artem Sabadyr
4c04b7bb53
gps read optimization
2016-10-02 11:19:47 +02:00
James Goppert
fe40e9cfae
LPE vision estimation fixes. ( #5505 )
2016-10-01 09:02:12 -04:00
James Goppert
f6bed6f2d2
Update sitl gazebo.
2016-10-01 08:25:49 -04:00
James Goppert
91f92aa7d3
Update sitl gazebo. ( #5580 )
2016-10-01 07:58:56 -04:00
nephen
0027333e6d
add pci-Bitcraze to px4_base.cmake
2016-09-30 23:06:57 +02:00
Roman
cf8f484868
mixer class: updated comments on slew rate limit method
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
c2a511d81d
multirotor mixer slew rate limiting: naming and fixes
...
- avoid dividing by zero when calculating max delta output
- better comments when calculating max delta output
- better naming of functions and variables
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
cced6fc8b2
multirotor mixer: use correct version of delete operator for array pointer
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
8b889caa33
slew rate limiting: implemented for fmu
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
2607769470
slew rate limiting: moved logic to multirotor mixer
...
Signed-off-by: Roman <bapstroman@gmail.com >
2016-09-30 13:55:53 +02:00
Roman
66ddea01d1
implemented slew-rate
2016-09-30 13:55:53 +02:00
Beat Küng
b6b8892606
hrt_queue: add px4_posix.h include for px4_getpid()
2016-09-30 13:50:51 +02:00
Beat Küng
489f63a3d3
rc_check: replace mavlink_and_console_log_critical with mavlink_log_critical
...
these functions got merged.
2016-09-30 13:50:51 +02:00
Beat Küng
76733ce54b
uorb tests: move orb metadata struct definition into cpp file
...
If they're in the header and the header is used in multiple .cpp, there
are multiple definitions. Oddly it did not lead to an error, but there
were multiple structs of the same topic but with different adresses.
This lead to a metadata mismatch, when running eg:
uorb_tests
uorb_tests latency_test
2016-09-30 13:50:51 +02:00
Beat Küng
549d456ec7
uorb devices: set errno on write error
2016-09-30 13:50:51 +02:00
Beat Küng
e061842219
posix main: only try to generate symlinks if data path argument given
...
if not given, the dirs are either not needed (eg RPI) or assumed to
exist already
2016-09-30 13:50:51 +02:00
Beat Küng
98ac60e3fd
Tools: remove unused scripts {posix,qurt}_apps.py
...
These were replaced by cmake, with the template cmake/posix/apps.h_in
2016-09-30 13:50:51 +02:00
Beat Küng
50b8ed0a89
commander: initialize gps & baro as failure state
...
This avoids error messages on startup.
2016-09-30 13:50:51 +02:00
Beat Küng
ce0d31b7d9
mavlink log: ensure all critical & emergency msgs are also logged to console & ulog
...
Critical messages that the user sees should also go to the log file, so
that the exact error (with time) can later be analyzed from the log file.
2016-09-30 13:50:51 +02:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Beat Küng
c606554da3
PreflightCheck.cpp: use __PX4_POSIX_RPI instead of __LINUX for RPI
2016-09-30 13:50:51 +02:00
Beat Küng
cf5338df02
accelsim: lower publisher rate to 250Hz
2016-09-30 13:50:51 +02:00
Beat Küng
27aaf244af
fix accelsim: ACC_READ cannot be 0 (it's used to check if a bit is set)
...
before that, accel data was all 0, but since the gyrosim also publishes
accel data, it was not a problem.
2016-09-30 13:50:51 +02:00
Beat Küng
d7ed47e2e5
px4_posix_tasks.cpp: make sure to copy the thread name into the thread data struct
...
The thread name is used from within the entry of the new thread, but the
provided name could live on the stack of the caller thread. Thus we need to
copy the name.
2016-09-30 13:50:51 +02:00
Beat Küng
ac189704ed
simulator: flush output after waiting message output
...
Just to make sure the user sees the message.
2016-09-30 13:50:51 +02:00
Beat Küng
f25947b964
hrt_work_queue posix: only send a wake-up signal if not called from own thread
...
The simulated timer interrupt always adds a new scheduled work task, which
is called from the work queue thread. Sending the signal creates measurable
overhead (~5% of the px4 CPU runtime) and is unnecessary, since the thread
is not sleeping anyway.
2016-09-30 13:50:51 +02:00
Beat Küng
1d111cb254
px4_getpid: return the taskmap index instead of pthread_self()
...
this makes it consistent with other functions, like px4_task_spawn_cmd()
and px4_task_kill()
2016-09-30 13:50:51 +02:00
Beat Küng
a51d1bc5dc
jmavsim_run.sh: add optional -p <port> argument
2016-09-30 13:50:51 +02:00
Beat Küng
35e93c24e8
fix sitl_multiple_run.sh: adapt to path updates
2016-09-30 13:50:51 +02:00