1663 Commits

Author SHA1 Message Date
Daniel Agar
f1d00fe697 Tools/HIL: only print timestamp if newline in output 2021-09-01 15:16:00 -04:00
Daniel Agar
65b1a9648d Tools/HIL/run_nsh_cmd.py: fail if ERROR printed in output 2021-09-01 15:16:00 -04:00
Daniel Agar
c6dd03a8aa Tools/HIL/run_nsh_cmd.py - raise timeout slightly
- helps on slower debug builds
2021-09-01 15:16:00 -04:00
Daniel Agar
2864735c44 Tools/HIL/monitor_firmware_upload.py - fail if there's an ERROR during startup 2021-09-01 15:16:00 -04:00
Beat Küng
d3c45c00c7 mavlink_ulog_streaming: when stopping, wait after receiving the ack
So we log additional data send afterwards
2021-08-12 10:09:11 -04:00
TSC21
00ad0d3b82 microRTPS: add make targets to update the PX4-ROS2/microRTPS bridge
This allows to easily update the px4_ros_com and/or px4_msgs through a make target and by passing the location of their directories
2021-08-12 08:44:53 +02:00
TSC21
e762d57222 sitl_run: allow to start required ROS2 plugins with Gazebo when ROS_VERSION is set to 2 2021-08-12 08:44:53 +02:00
romain-chiap
718e5b5b5d
sih: add fixed-wing support 2021-08-05 09:16:14 +02:00
Beat Küng
45ed1c5b5d uorb_graph: improve module dependency search 2021-08-03 07:54:41 +02:00
Beat Küng
91cae70097 uorb_graph: fix module scope logic 2021-08-03 07:54:41 +02:00
Beat Küng
2320477839 uorb graph: some minor fixes, add full graph w/o mavlink 2021-08-03 07:54:41 +02:00
Hamish Willee
219c9cf4b7 More specific airframe css 2021-08-02 08:26:46 +02:00
PX4 BuildBot
e01ae95768 Update submodule jMAVSim to latest Sun Aug 1 16:12:33 UTC 2021
- jMAVSim in PX4/Firmware (8261aa1f0b36c72078325bb82b3d2bef5d323974): 0a816d8100
    - jMAVSim current upstream: 0a5375a706
    - Changes: 0a816d8100...0a5375a706

    0a5375a 2021-07-24 Romain Chiappinelli - vehilce model selectio
5f51d98 2021-07-19 Romain Chiappinelli - added cessna visual model
2021-08-01 17:03:03 -04:00
PX4 BuildBot
4ca6e42c47 Update submodule sitl_gazebo to latest Sun Aug 1 16:12:39 UTC 2021
- sitl_gazebo in PX4/Firmware (d6eb3b0cb90d4988409b1aaf3e10662ecc361aac): b6be00542b
    - sitl_gazebo current upstream: 7fda4d311a
    - Changes: b6be00542b...7fda4d311a

    7fda4d3 2021-07-27 Jaeyoung-Lim - Reduce yaw authority for tecpod
6b87853 2021-07-27 Jaeyoung-Lim - Reduce yaw authority on plane
7505aee 2021-07-18 Jaeyoung-Lim - Add glider model
32893bc 2021-07-14 Jaeyoung-Lim - Add control allocation module for the typhoon h480
55e479a 2021-06-12 TSC21 - gazebo_mavlink_interface: get latest occurrence of '::' to obtain the sensor name
f650396 2021-07-13 Jaeyoung-Lim - Add Believer fixedwing model
2021-08-01 13:55:15 -04:00
PX4 BuildBot
34160bb6c9 Update submodule sitl_gazebo to latest Fri Jul 16 12:39:10 UTC 2021
- sitl_gazebo in PX4/Firmware (4a0fa08953bb499a1f2ea2a4a66eea7c6cb298ca): 1f3f1b1dec
    - sitl_gazebo current upstream: b6be00542b
    - Changes: 1f3f1b1dec...b6be00542b

    b6be005 2021-07-13 Jaeyoung-Lim - Add iris model for control allocation development
2021-07-19 20:19:28 -04:00
JaeyoungLim
58060b23d9
Add ignition gazebo support for PX4 Software-In-The-Loop simulations
This commit adds SITL support for ignition gazebo. Ignition gazebo is a replacement for the "classic" gazebo for future applications.

The simulation can be run as the following
```
make px4_sitl ignition
```
2021-07-19 19:59:41 -04:00
Daniel Agar
1a222bf06e Tools/HIL/run_nsh_cmd.py handle missing echo, but cmd succeeded 2021-07-19 11:53:54 -04:00
Daniel Agar
774ad80ba0 systemcmds/tests: split out microbenchmarks and remove obsolete tests
- reorganize Jenkins HIL tests
2021-07-18 18:02:33 -04:00
Daniel Agar
209fde9ff3 Tools/HIL: console print timestamps 2021-07-17 10:57:09 -04:00
Daniel Agar
847b3b5b64 Tools/HIL/nsh_param_set.py bump timeout slightly 2021-07-16 22:18:07 -04:00
Daniel Agar
5a046cae7e Tools/HIL: fix terminal colors (ANSI escape codes) 2021-07-16 21:37:48 -04:00
Daniel Agar
8c6ade0fc8 Tools/HIL: color output (ERROR, WARN, etc) 2021-07-16 19:33:27 -04:00
Daniel Agar
e61d8d6e7e Tools/HIL: add nsh_param_set.py and use on test rack 2021-07-16 19:33:27 -04:00
Daniel Agar
65745a3676 purge broken qurt support and atlflight boards 2021-07-16 08:53:36 -04:00
Daniel Agar
4a0fa08953 Tools/HIL/run_nsh_cmd.py fail if command failed 2021-07-15 23:29:46 -04:00
Hamish Willee
f70b6fbf0b Fix rendering if name has inch symbol 2021-07-15 17:16:12 +02:00
Hamish Willee
72d08fe915 improve airframe generated output 2021-07-15 17:16:12 +02:00
Daniel Agar
2cf66a5d8f ekf2: move EKF out of ecl 2021-07-15 10:38:24 -04:00
PX4 BuildBot
19bc1f9d02 Update submodule sitl_gazebo to latest Fri Jul 9 00:39:54 UTC 2021
- sitl_gazebo in PX4/Firmware (7144566afe509e0ad8669d4f4690d22b7e176ed3): 822050a7ab
    - sitl_gazebo current upstream: 1f3f1b1dec
    - Changes: 822050a7ab...1f3f1b1dec

    1f3f1b1 2021-06-18 Jonas Vautherin - Add plugin allowing to draw a force (e.g. liftdrag) (#771)
2021-07-08 21:56:36 -04:00
Beat Küng
d9aec564f3 px_process_events.py: canonicalize + remove duplicate source files 2021-07-07 21:38:09 -04:00
Beat Küng
b12b884f4c ci: update container version to 2021-05-04 2021-07-07 21:38:09 -04:00
Beat Küng
c6eccd4518 requirements.txt: add jsonschema (required for events json validation) 2021-07-07 21:38:09 -04:00
Beat Küng
14d3582d38 events parser: make '/* EVENT' optional, but prevent 'using namespace events'
Allows for more compact code for very simple events w/o description
2021-07-07 21:38:09 -04:00
Beat Küng
38f3b8d356 mavlink & system: add events interface
- sending protocol
- uorb event message & template methods for argument packing
- libevents submodule to send common events and handle json files
- cmake maintains a list of all (PX4) source files for the current build
  (PX4 modules + libs), which is used to extract event metadata and
  generate a json file
2021-07-07 21:38:09 -04:00
Beat Küng
7c5838116a Tools: add parser to extract event definitions in source & generate json output
Example definition:
			/* EVENT
			 * @description
			 * test description
			 * @arg1: test
			 */
			events::send<uint8_t>(events::ID("test_event"),
					"test message", events::Log::Error, 0);
2021-07-07 21:38:09 -04:00
Jukka Laitinen
b3e9904df0 Add monocypher crypto library in src/lib/crypto/monocypher
This simple crypto library is used as an example default backend for the crypto
interfaces

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-06-25 08:35:58 +02:00
Jukka Laitinen
09e62f96b2 Put all the test key material into same directory
Move Tools/test_key.json and key0.pub into same directory.

key0.pub is just a hex-dump of the public key part from the test_key.json,
for easy inclusion into bootloader monocypher sw crypto

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-06-25 08:35:58 +02:00
Jukka Laitinen
caed8e4b05 Fix cryptotools.py signature alignment
If the signature start address is already aligned, the tool erroneously adds 4 filling bytes

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-06-25 08:35:58 +02:00
Beat Küng
d79229f958 mavlink_shell.py: allow scripted use
E.g. echo free|./Tools/mavlink_shell.py

Or creating a virtual nsh console:
socat pty,rawer,link=/tmp/fmu_nsh_pts exec:"mavlink_shell.py 0.0.0.0\\:14550,pty,rawer"
2021-06-24 15:18:06 +02:00
TSC21
9fb53d4276 microRTPS: add option to build the microRTPS agent after its generation 2021-06-21 16:36:44 +02:00
TSC21
145e7387fb posix: start the microRTPS client in sim every time the module is available 2021-06-21 16:36:44 +02:00
TSC21
0f47ae8e7b update submodule Tools/sitl_gazebo 2021-06-12 11:57:17 -04:00
Hamish Willee
9f87702074 px4moduledoc/markdownout.py - source links to PX4-Autopilot 2021-06-09 11:11:08 +02:00
Hamish Willee
f9201811b4 airframes markdownout.py - fix link to not open file for editing 2021-06-09 11:08:37 +02:00
PX4 BuildBot
68e386cf2d Update submodule sitl_gazebo to latest Sat May 22 00:38:23 UTC 2021
- sitl_gazebo in PX4/Firmware (61e972ba350e4bbd14963ed6a3680da5281e7b1d): f10ccb7ec3
    - sitl_gazebo current upstream: 5c24889852
    - Changes: f10ccb7ec3...5c24889852

    5c24889 2021-05-20 Andrew Voznytsa - Use cmake to find and link to gstreamer-app-1.0
2021-05-22 06:48:03 +02:00
Daniel Agar
61e972ba35 px_uploader.py remove special pyserial checks that fail on some platforms 2021-05-21 08:56:12 +02:00
PX4 BuildBot
eee08601af Update submodule sitl_gazebo to latest Tue May 18 00:50:37 UTC 2021
- sitl_gazebo in PX4/Firmware (c3884b5bc1949a2bbdf61c40deef9d0799035152): 402897d225
    - sitl_gazebo current upstream: f10ccb7ec3
    - Changes: 402897d225...f10ccb7ec3

    f10ccb7 2021-05-17 grahamjamesaddis - Fix non unique name warning in tailsitter.sdf.jinja (#756)
05b8625 2021-05-13 Andrew Voznytsa - Fix gstreamer timestamps; Use push mode all the way; Avoid duplicated frame encoding; Cleanup a bit there and here
9ec04cc 2021-05-16 Graham James Addis - Tidy rotor colours Grey/Blue.
493c5dc 2021-05-16 Graham James Addis - Minimal conversion to jinja format.
2021-05-17 23:03:51 -04:00
PX4 BuildBot
9d54b7b64e Update submodule jMAVSim to latest Sun May 16 12:39:03 UTC 2021
- jMAVSim in PX4/Firmware (5f14ee2a9705d746de7a87034f347db1c624fab2): 2b610caab8
    - jMAVSim current upstream: 0a816d8100
    - Changes: 2b610caab8...0a816d8100

    0a816d8 2021-05-12 Beat Küng - mavlink: update message definitions to latest master
2021-05-16 17:23:40 -04:00
PX4 BuildBot
9e352e92bd Update submodule sitl_gazebo to latest Sun May 16 12:39:08 UTC 2021
- sitl_gazebo in PX4/Firmware (7cb3ed98b61c514d01fc9a68ba87445f8b9aa142): 2496b85dd2
    - sitl_gazebo current upstream: 402897d225
    - Changes: 2496b85dd2...402897d225

    402897d 2021-05-09 Jaeyoung-Lim - Update mavsdk version scripts
2021-05-16 12:55:28 -04:00
Julian Oes
e4ee7c7d98 sitl_gazebo: update submodule
This fixes the simulation stalling after 30mins due to an int overflow.
2021-05-09 15:17:25 +02:00