Martina
0694abf916
mc_pos_control: do not execute updateSetpoint twice if obstacle avoidance
...
active
2018-08-09 16:38:47 -04:00
Martina
4b54050358
mc_pos_control: get empty avoidance waypoint from fligth task so that code
...
isn't duplicated
2018-08-09 16:38:47 -04:00
Martina
ede302290b
FlightTasks: add getter method to retrieve empty avoidance waypoint in the
...
mc_pos_control
2018-08-09 16:38:47 -04:00
Martina
8190242e02
mc_pos_control: port trajectory interface to the new mc_pos_control
...
structure (flight task refactor)
2018-08-09 16:38:47 -04:00
Martina
b856c1048d
FlightTask: add methods to get the desired trajectory waypoints
2018-08-09 16:38:47 -04:00
Martina
17a08a9de7
FlightTaskAuto: add update method to get triplets for the trajectory
...
interface
2018-08-09 16:38:47 -04:00
TSC21
7c7602873e
assert over the type of the 'timestamp' field
2018-08-09 13:40:48 +02:00
TSC21
e6bd9bdeeb
fix radio_status timestamp init
2018-08-09 13:40:48 +02:00
TSC21
91c3f1ae63
sync submodules with upstream
2018-08-09 13:40:48 +02:00
TSC21
c10e851251
replace printf with PX4_INFO_RAW
2018-08-09 13:40:48 +02:00
TSC21
c53c035ec6
px_generate_uorb_topic_files: add check and throw error if no timestamp field exists
2018-08-09 13:40:48 +02:00
TSC21
a1ac34d3e7
reformat how the passed time is printed
2018-08-09 13:40:48 +02:00
TSC21
cac84e1424
px_generate_uorb_topic_helper: do not account with the timestamp, so the struct size matches
2018-08-09 13:40:48 +02:00
TSC21
8a8cc26b13
uorb templates: remove redundant timestamp field
2018-08-09 13:40:48 +02:00
TSC21
86baa6a90a
beautify some identation
2018-08-09 13:40:48 +02:00
TSC21
e932030d88
add timestamp field to uORB msgs; sync timestamp whenever possible
2018-08-09 13:40:48 +02:00
acfloria
4a08003952
Change warnings to error in case the iridium driver start failed
2018-08-08 21:13:56 +02:00
acfloria
eb59407586
Fix starting the iridium driver in the start script
2018-08-08 21:13:56 +02:00
acfloria
5c6fad84e7
Improve the startup of the IridiumSBD driver
...
During startup retry commands several times before exiting.
Report if the startup was successful or failed.
2018-08-08 21:13:56 +02:00
acfloria
21ebcdc0ae
Publish the satcom subsystem health
2018-08-08 21:13:56 +02:00
acfloria
1daaa6f5dc
Shorten notification on the link switch to fit in 50 characters
2018-08-08 21:13:56 +02:00
Beat Küng
55db10d9e2
mavlink_ulog: clear potential existing ulog_stream messages on start
...
- the uorb behavior got recently changed so that we now need to clear
any potential existing messages when we start log streaming.
- ulog_stream_ack should also not use a queue, since the ack is done
synchonous between mavlink and the logger.
2018-08-08 21:12:04 +02:00
Beat Küng
ffffcaeb0f
px4-alias.sh_in: move to platforms/posix/src/px4-alias.sh_in
2018-08-08 21:09:39 +02:00
Anthony Lamping
0edf4513eb
Jenkins: change log path
2018-08-08 21:09:39 +02:00
Beat Küng
23b12f02e7
cmake: fix install target (add bin dir which includes the symlinks and px4-alias.sh)
2018-08-08 21:09:39 +02:00
Beat Küng
4703f22d4e
mixers: remove unnecessary output settings (reduce flash usage)
2018-08-08 21:09:39 +02:00
Beat Küng
ac5988fd35
ROMFS cmake: do not copy init.d-posix and mixers-sitl
...
Otherwise these files are added to the NuttX ROMFS build.
2018-08-08 21:09:39 +02:00
Beat Küng
5363aff879
fixes for integration and unit tests
...
Move ros logs dir so that .ulg files are not in the same directory
(mission_test.py:: get_last_log() fails otherwise)
2018-08-08 21:09:39 +02:00
Beat Küng
0edd7c93e1
posix main: check for ROS argument
2018-08-08 21:09:39 +02:00
Beat Küng
22b47a84f5
px4_log.c: fix cygwin include
2018-08-08 21:09:39 +02:00
Beat Küng
a5de82aaa8
cmake: add documentation for px4_posix_generate_alias and px4_posix_generate_symlinks
2018-08-08 21:09:39 +02:00
Beat Küng
f748c8d883
fix mavros launch scripts & use non-unified startup scripts
...
This is to not lose any existing functionality until we have everything
unified.
2018-08-08 21:09:39 +02:00
Beat Küng
ec09379813
px4_daemon: fixes for clang-tidy
...
Also ignore the warning:
error: calling 'system' uses a command processor [cert-env33-c,-warnings-as-errors]
2018-08-08 21:09:39 +02:00
Beat Küng
efb202106f
bbblue: required changes for posix shell
2018-08-08 21:09:39 +02:00
Beat Küng
d480d24a4c
fix perf counter: use dprintf instead of printf
2018-08-08 21:09:39 +02:00
Beat Küng
b306935de0
module base: use PX4_INFO_RAW instead of printf
2018-08-08 21:09:39 +02:00
Beat Küng
26f11cb9d7
commander: use PX4_INFO for status output
2018-08-08 21:09:39 +02:00
Beat Küng
f1dc8f8f48
listener: use PX4_INFO_RAW instead of printf
...
Ensures that clients will get the output of the listener.
2018-08-08 21:09:39 +02:00
Beat Küng
e6d71680ab
px4_daemon server: fix packet reading
...
By reading sizeof(packet), it could have happened that 2 packets at once
were read, and the second one was then ignored.
This makes sure that only one packet at a time is read.
The other 2 changes are for efficiency.
2018-08-08 21:09:39 +02:00
Beat Küng
1f0655302c
px4_daemon: fix locking
...
It was not enough to lock individual accesses to the maps.
For example it could happen that a thread was started and exited very
quickly, before the pthread_t item was inserted into the map, such
that when the cleanup method was called, the thread and pipe fd were not
found (and fd=0=stdin was closed).
2018-08-08 21:09:39 +02:00
Beat Küng
5b171bd614
px4_daemon: fixes for packet length computation
...
The enum change from uint8_t to an int avoids uninitialized bytes,
which led to valgrind warnings (no error though).
2018-08-08 21:09:39 +02:00
Beat Küng
7359f44835
fix px4_log.c: avoid potential buffer overflow
...
The buffer length given to snprintf() is unsigned, so we must check for
an overflow after each call.
This happend for very long printf's (module documentation)
2018-08-08 21:09:39 +02:00
Beat Küng
d90ac975a7
posix shell: required updates for RPi, bepob, ocpoc, eagle & exxcelsior
...
- RPi works
- the rest is not tested, and requires a bit more
(such as uploading the bin/ directory)
2018-08-08 21:09:39 +02:00
Beat Küng
2454ef9240
Tools/check_submodules.sh: remove unnecessary verbose message
...
This was printed for all submodules.
2018-08-08 21:09:39 +02:00
Beat Küng
d05b268d19
posix shell: allow to run multiple instances
2018-08-08 21:09:39 +02:00
Beat Küng
c0cac0594e
file paths: add PX4_STORAGEDIR & use it where appropriate
2018-08-08 21:09:39 +02:00
Beat Küng
57a85fbc61
cleanup: remove unused files
2018-08-08 21:09:39 +02:00
Beat Küng
7822e5b5c3
posix shell: lots of cleanup and fixes
...
- move posix-configs/SITL/init/{rcS,10016_iris,6011_typhoon_h480} to ROMFS/px4fmu_common/init.d-posix
allows for easier unification, only one symlink is required.
- rcS: add AUTOCNF support. Update scripts to match with behavior of PX4
master (parameter values, some sitl driver got removed)
- add alias to allow 'set variable value' syntax in scripts to px4-alias.sh
- use px4_getopt
- use separate argument for the test_data directory
- append PATH from within the px4 binary: this simplifies the usage
w/o the sitl_run.sh script.
- add 'source px4-alias.sh' to all existing sitl startup scripts
- move sitl mixers to ROMFS/px4fmu_common/mixers-sitl
makes it easier to use existing mixers and sitl-specific ones.
- remove unused rcS_gazebo_delta_wing
2018-08-08 21:09:39 +02:00
Beat Küng
413c09e20e
posix main: some cleanup & fixes
...
- argv[0] can have the form ./px4-commander
- create eeprom directory
- fix fpe signal handler
2018-08-08 21:09:39 +02:00
Beat Küng
6a49d78c4b
logger: remove last references to SYS_LOGGER
2018-08-08 21:09:39 +02:00