DanielePettenuzzo
6b65eb2225
camera feedback: remove CAM_FBACK_MODE param. CAM_CAP_FBACK from camera capture driver will be used instead.
2019-02-10 18:07:44 -05:00
Julien Lecoeur
fe83378db4
Tiltrotor: Do not lock elevons in multirotor mode
...
The behaviour is unchanged because VT_ELEV_MC_LOCK was not implemented for tiltrotors
2019-02-03 22:33:42 -05:00
Anthony Lamping
77ea5249a1
startup: add plane_cam
2019-02-03 22:32:24 -05:00
Daniel Agar
115c31451c
SITL use EKF2_MAG_TYPE default value
2019-01-31 09:23:12 -05:00
Julian Oes
73578a593f
simulator: bring -t argument back
...
The -t argument had been deleted because I didn't realize that it was
actually being used. Therefore, this brings it back and we now use -c
for TCP.
2018-12-22 10:32:18 +01:00
Julian Oes
b436f3dd56
ROMFS/Tools: switch to TCP connection for SITL
...
This switches from UDP to TCP to connect to jMAVSim.
2018-12-22 10:32:18 +01:00
Nuno Marques
cfd1be584e
Feature: VIO: add ODOMETRY stream ( #11084 )
...
* mavlink_messages: remove LOCAL_POSITION_NED_COV stream
* mavlink_messages.cpp: add ODOMETRY stream
* add MAV_ODOM_LP parameter to activate odometry loopback
* EKF2: add vehicle_odometry publisher
* Replace VISION_POSITION_ESTIMATE loopback with ODOMETRY
* LPE: add vehicle_odometry publisher
* set vehicle_odometry local_frame field
* mavlink_messages.cpp: ODOMETRY frame_id depends on MAV_ODOM_LP
2018-12-21 12:54:04 -05:00
Julian Oes
63ee101c51
rcS: fix exit value
...
Shellcheck complained about returning -1 because that's essentially 255.
2018-12-19 07:36:43 +00:00
Julian Oes
3ebf030a02
ROMFS: change shebang from #!zsh to #!/bin/sh
...
This was required for shellsheck.
2018-12-19 07:36:43 +00:00
Beat Küng
dc49e259b3
logger: add separate profile for vision/avoidance
...
Keeps things more modular.
2018-12-07 11:51:59 +01:00
Daniel Agar
3a036021ba
ROMFS defaults drop floating point decimal
2018-12-04 22:57:53 -05:00
TSC21
e3af000fdb
init.d-posix: make 1013_iris_vision independent of 1010_iris_opt_flow
2018-11-21 12:21:16 +01:00
TSC21
dcdddacdb2
init.d-posix: vision: set the appropriate parameters
2018-11-21 12:21:16 +01:00
Eric Babyak
560a9b45ed
Fix for initializing Landing Target Estimator in SITL
2018-11-20 18:16:45 +01:00
bresch
4f668c0c2d
SITL - update default velocity PID gains
2018-11-06 22:17:00 +01:00
Beat Küng
09563c94ce
rcS: fix typhoon_h480
...
The typhoon has a 6011_typhoon_h480.post script that got matched as well.
Now we exclude all files that contain a dot (apparently it's not so easy
to do generic pattern matching in a portable way, but this works).
2018-10-04 09:38:59 +02:00
Beat Küng
b972651a06
posix shell: use /bin/sh instead of bash
...
This uses the systems default shell:
- Ubuntu: dash
- Fedora: bash
Since bash is invoked via /bin/sh, it operates in POSIX mode:
https://tiswww.case.edu/php/chet/bash/POSIX
- remove '# Ignore the expand_aliases command in zshell.'
Not needed because the shell operates in POSIX mode
- [[ is bashism -> use [
- autostart_files=( $autostart_file_match )
is not supported in dash, so use 'ls'
- shellcheck runs the dash flavor, since dash is a minimalistic shell.
Tested on dash & bash.
2018-09-27 23:39:20 +02:00
Kunal Shah
7f016b5fd4
ROS multi-vehicle simulation: fixed udp port overlap issues
2018-09-21 09:01:47 +02:00
Daniel Agar
c7e572d2c2
commander preflight check sensors via uORB instead of IOCTL
...
- remove all platform defines
2018-09-18 22:24:03 +02:00
TSC21
8325724079
general fixes on VIO data access
2018-09-18 09:52:33 +02:00
Daniel Agar
9580cb8d86
SITL plane cut throttle during landing final stage
2018-09-17 00:06:52 +02:00
mcsauder
0c08b7035b
Edit the init.d-posix files to set MAV_TYPE script variables, and alphabetize lists in a few places.
2018-09-04 10:23:27 +02:00
Matthias Grob
0c6bffb66a
commander: make auto disarm timeout float
...
such that fractions of a second are configurable
2018-08-30 08:05:13 +02:00
Daniel Agar
52e1b59e60
cmake add nuttx shellcheck helper
2018-08-25 20:12:29 +02:00
Daniel Agar
096c41b041
init.d-posix/rcS replace bashism 'source' with '.'
2018-08-25 20:12:29 +02:00
Daniel Agar
642aff9786
init.d-posix replace bashism '==' with '='
2018-08-25 20:12:29 +02:00
Daniel Agar
72792cef43
posix-configs shell scripts use /bin/sh to maximize compatibility ( #10292 )
...
- fix ocpoc line endings
2018-08-25 11:02:37 -04:00
Daniel Agar
e356fd89b0
CI mission tests add FW and cleanup ( #10250 )
...
* jenkins: decrease VTOL mission alt and FW mission use simple land wps
* startup: decrease min airspeed scaling factor for landing
* jenkins: FW mission include loiter_to_alt cmd
2018-08-17 13:02:14 -04:00
Beat Küng
b3a25bb2bb
posix rcS: use sed instead of grep -P
...
The -P argument seems not to be supported on OSX
2018-08-15 10:13:06 -04:00
Beat Küng
923f6239e1
posix rcS: automatically find the requested model instead of explicitly enumerating them
2018-08-13 21:50:14 -04:00
Beat Küng
4e860e357c
Tools: add run-shellcheck.sh to statically analyze startup scripts
...
Use './Tools/run-shellcheck.sh ROMFS/px4fmu_common' to run it.
2018-08-13 21:50:14 -04:00
Beat Küng
273988c124
SITL: move all models to unified rcS startup and remove old scripts
2018-08-13 21:50:14 -04:00
Beat Küng
e6b9806ee1
SITL: add multi-vehicle support to rcS
...
This also removes the HIGHRES_IMU mavlink stream to the GCS. I don't see
why it's needed and it adds noticeable CPU load.
2018-08-13 21:50:14 -04:00
Beat Küng
a00f7ebf47
sitl scripts: refactor to use existing rc.vehicle_setup from NuttX
2018-08-13 21:50:14 -04:00
Beat Küng
d4c7dbc93d
posix rcS: automatically find matching autostart file based on SYS_AUTOSTART
2018-08-13 21:50:14 -04:00
Beat Küng
1318e614ad
SITL: handle 'make posix_sitl_shell' via unified rcS
...
The command is now: 'make posix none_shell'
which means: don't start a simulator and run a minimal shell only.
2018-08-13 21:50:14 -04:00
Beat Küng
ab7f68f2ad
ekf2 replay: refactor to use unified rcS scripts
2018-08-13 21:50:14 -04: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