RomanBapst
cfba41d2f4
posix configs: set trigger interface to mavlink as it's the only one
...
supported on posix
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-08-06 08:08:56 +02:00
Daniel Agar
77694183b2
delete position_estimator_inav
2019-08-02 17:38:28 -04:00
Timothy Scott
2ed00c9cb6
Rover: Rewrote gnd_pos_control and removed gnd_att_control ( #12239 )
2019-07-11 09:39:13 -04:00
Fabian Schilling
d139bc5a7c
Use bc to support floating point PX4_SIM_SPEED_FACTOR
2019-07-03 16:54:29 +02:00
Daniel Agar
6d9bf18ca6
Revert "VTOL: add parameter to prevent flight if roll direction was not checked"
...
This reverts commit 5f06c6a1aa .
2019-06-25 09:26:20 +02:00
Timothy Scott
21760a5856
Changed constant name to UNMANNED_GROUND_VEHICLE
2019-06-13 10:04:26 +02:00
Beat Küng
73102dc3c4
SYS_MC_EST_GROUP: add q estimator only option and activate on omnibus
2019-06-06 11:11:44 -04:00
Daniel Agar
43e3fc707d
simulator move to PX4Accelerometer, PX4Gyroscope, PX4Magnetometer, PX4Barometer helpers ( #12081 )
2019-05-30 21:07:26 -04:00
Beat Küng
5d6cc7d033
ekf2: reduce GPS initialization time for SITL from 10s to 0.5s
...
Speeds up SITL startup.
2019-05-28 10:45:38 +02:00
Julian Oes
01fdd00c41
init.d-posix: $ is apparently not needed here
2019-05-14 11:04:04 +02:00
Julian Oes
ffeeedc310
init.d-posix: raise timeouts for fast SITL
...
When simulating with lockstep we can raise the speed by setting the env
variable `PX4_SIM_SPEED_FACTOR`. Some inputs like RC, MAVLink heartbeats
from a ground station, or offboard controls via MAVLink are still at the
normal speed which leads to timeouts getting detected in PX4.
To work around this issue we can automatically multiply the timeout
parameters by the speed factor.
2019-05-14 11:04:04 +02:00
Beat Küng
2448a84c36
SITL: add if750a model
2019-05-03 13:32:48 +02:00
Julian Oes
4ef59e0a59
standard_vtol: transition at airspeed of 16 m/s
...
This way we prevent a big dip due to TECS in altitude when the
transition happens at 10 m/s already. Apparently the rule of thumb
is to set this transition speed at the same as airspeed cruise speed.
2019-04-28 18:22:21 -04:00
Julian Oes
82682ac716
init.d-posix: re-use rc.logging
...
With this change the param SDLOG_MODE can be used for SITL as well.
2019-04-05 08:18:17 +02:00
Nico van Duijn
b7784a1439
Add MAVLink stream and cmake sitl target
2019-04-02 08:17:13 +02:00
Julien Lecoeur
5f06c6a1aa
VTOL: add parameter to prevent flight if roll direction was not checked
...
Mark V19_VT_ROLLDIR @category system
Throttle down mavlink critical msg
Send 0 actuator_output for safety
VTOL: unset v1.9 roll direction safety check param for builtin airframes
2019-03-15 00:48:23 -04:00
Martina Rivizzigno
09b795161e
Obstacle Avoidance testing in CI ( #10780 )
2019-03-15 00:37:23 -04:00
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