Matthias Grob
6938d24ec7
pre-commit hook: show all style issues, not just the ones from the first file
3 years ago
Matthias Grob
2716ce7a56
pre-commit hook: clear output with error, file name, diff, instructions
3 years ago
Matthias Grob
4454fe9770
pre-commit hook: don't unstage the entire file containing a style issue
3 years ago
mcsauder
21163d859e
Whitespace cleanup.
3 years ago
Beat Küng
f1686b1abf
px4io: add dynamic mixing support
3 years ago
Beat Küng
ab1d76ae7d
params: use PWM_MAIN_* instead of PWM_FMU_*
3 years ago
Beat Küng
319e90961b
output_groups_from_timer_config.py: fix timer index
...
The implementation assumed timers are defined in the same order as used
in the channels. This could lead to a mismatch between TIMx param and
actual timer config.
Now we use the actual array index, same as in the code.
3 years ago
Beat Küng
44bbe87165
pwm_out_sim: use PWM_FMU for sitl and HIL_ACT for hitl
...
We might want to change this later, but for now it allows to use the same
airframe configs for sitl/real, and independent hitl configuration.
3 years ago
Beat Küng
916447e804
params: add script to parse timer_config.cpp for timer group info
...
This allows to generate pwm params in the form of:
module_name: PWM Output
actuator_output:
output_groups:
- generator: pwm
param_prefix: PWM_FMU
channel_labels: ['PWM Main', 'PWM Capture']
standard_params:
disarmed: { min: 800, max: 2200, default: 900 }
min: { min: 800, max: 1400, default: 1000 }
max: { min: 1600, max: 2200, default: 2000 }
failsafe: { min: 800, max: 2200 }
extra_function_groups: [ pwm_fmu ]
pwm_timer_param:
description:
short: Output Protocol Configuration for ${label}
long: |
Select which Output Protocol to use for outputs ${label}.
Custom PWM rates can be used by directly setting any value >0.
type: enum
default: 400
values:
-5: DShot150
-4: DShot300
-3: DShot600
-2: DShot1200
-1: OneShot
50: PWM50
100: PWM100
200: PWM200
400: PWM400
reboot_required: true
3 years ago
Beat Küng
db28ea9cfa
generate_params.py: extend params 'definitions' section to support a list
...
allows to add multiple entries for a multi-instance param with different
instance_start
3 years ago
Beat Küng
6f01b69f49
mixer_module: add param generation for disarmed, min, max, failsafe
3 years ago
Beat Küng
6424faccb1
generate_params.py: fix parse_yaml_parameters_config
...
Correctly handle multiple parameter sections
3 years ago
Beat Küng
c55626d2d6
refactor Tools/serial: move non-serial param generation into separate script
3 years ago
David Lechner
426efb515f
setup: fix installing in virtual env on Ubuntu
...
This fixes running the Ubuntu setup script in a Python virtual
environment. This was failing because pip doesn't allow the --user
option in virtual environments.
3 years ago
Peter van der Perk
b3e799e277
[Kconfig] Add all distance sensors
3 years ago
Peter van der Perk
21e6547ac7
[Kconfig] Toolchain & platform fixes, SITL still broken
3 years ago
Peter van der Perk
0400c24af5
[Kconfig] 17-08-21 rebase fixes
3 years ago
Peter van der Perk
c2ad07b983
[Kconfig] Don't inherit kconfig when bootloader (and canbootloader)
3 years ago
Peter van der Perk
6af0477733
[Kconfig] Gnerate px4board from old cmake
...
Added make updateconfig to update all config when default's have changed
Added cmake to px4board conversion script
3 years ago
Peter van der Perk
815617e670
Added common options for sensor drivers
...
uavcan_board_identity check for existance
Added kconfig for compiler definitions
3 years ago
Peter van der Perk
82888d3320
[Kconfig] Merge/diff fixes and added some FMUv5 targets
3 years ago
Peter van der Perk
ea393b54d9
[Kconfig] non-default labels config inherit default.px4board config
3 years ago
Peter van der Perk
d5e3e9a7bc
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
...
Which is better for versioning and decomposability
3 years ago
Daniel Agar
00b15798da
Tools/HIL/run_tests.py - temporarily disable flaky dataman test until it can be reviewed
4 years ago
Daniel Agar
6d78054f50
mavlink USB auto start/stop on boards with VBUS
...
- no longer start sercon or mavlink usb by default
- on USB connection (VBUS) monitor serial USB at low rate and start Mavlink if there's a HEARTBEAT or nshterm on 3 consecutive carriage returns
- the mavlink USB instance is automatically stopped and serdis executed if USB is disconnected
- skipping Mavlink USB (and sercon) saves a considerable amount of memory on older boards
4 years ago
bresch
b99dbcc6a7
ModuleDocumentation: add autotune categorie
4 years ago
SungTae Moon
2adf3f959b
Update Tools/gazebo_sitl_multiple_run.sh
...
Co-authored-by: JaeyoungLim <jalim@ethz.ch>
4 years ago
stmoon
bc5d55c4a4
fix the problem related to sitl multiple vehicle environment
4 years ago
Jukka Laitinen
6cae4c92e7
Add a header to logfile encryption key exchange file
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
Jukka Laitinen
ce76380051
Add a simple script to decrypt ulog files
...
This now only decrypts xchacha20 encrypted logs, where keys are
exchanged with rsa_oaep_sha256 and nonce appended to the end of the
key
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
Jukka Laitinen
634d911b74
Add a test key for RSA2048
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
Jukka Laitinen
40063bd54b
Add libtomcrypt and libtommath submodules
...
These provide e.g. rsa_oaep, which can be used for sw crypto
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
PX4 BuildBot
feff564882
Update submodule jMAVSim to latest Mon Sep 27 00:38:51 UTC 2021
...
- jMAVSim in PX4/Firmware (592885480e
): 0a5375a706
- jMAVSim current upstream: 0a5a8c6d9d
- Changes: 0a5375a706...0a5a8c6d9d
0a5a8c6 2021-09-02 Julian Oes - Merge pull request #130 from PX4/pr-udp-connection
2590b24 2021-09-01 Julian Oes - UDPMavLinkPort: add debug output around wait
7255b28 2021-08-31 Julian Oes - src: enable UDP connection in client and host mode
4 years ago
Daniel Agar
e4b0fa25a2
systemcmds/tests: remove px4io conv test
4 years ago
PX4 BuildBot
f772b0f45d
Update submodule sitl_gazebo to latest Sat Sep 25 12:38:57 UTC 2021
...
- sitl_gazebo in PX4/Firmware (e800e7c27663ae0a08ae1e377cbccd2272657ad0): 53d606b32f
- sitl_gazebo current upstream: d8366bf238
- Changes: 53d606b32f...d8366bf238
d8366bf 2021-09-19 Mohamed ElDewany - Fix gazebo plugin for laser sensor
37a3a64 2021-09-16 Julian Oes - camera: fix stream URI
2561ff0 2021-09-01 Julian Oes - mavlink_interface: enable HITL over UDP
9216dab 2021-09-01 Julian Oes - mavlink_interface: remove poll before writing
8e9eb3f 2021-09-01 Julian Oes - mavlink_interface: clean up switch case
a009174 2021-09-01 Julian Oes - mavlink_interface: use flag from mavlink_interface
6f1243a 2021-09-01 Julian Oes - mavlink_interface: remove redundant inline keyword
4 years ago
Beat Küng
eec94965f2
serial: add pixhawk payload bus option
4 years ago
Daniel Agar
a92e44c90e
Tools/HIL/run_nsh_cmd.py: echo success cmd twice to avoid missing dropouts
4 years ago
Julian Oes
c779946e05
setup: Use available Java version for Ubuntu 20.04
...
14 was not available for me, 16 would have been.
4 years ago
Julian Oes
addb978364
setup: Let's not ignore errors
...
Otherwise the script finishes and you don't know if it worked.
4 years ago
Daniel Agar
ca2d8f6de2
Update submodule simulation-ignition to latest Tue Sep 14 00:39:01 UTC 2021
4 years ago
Beat Küng
dc87f8a7a4
events: unescape message to match the behavior of the C++ compiler
4 years ago
Matthias Grob
3c57c67ce3
Make arch setup script executable
...
I usually called it using `source arch.sh`
but if it's executable it could also be called using `./arch.sh`
and that's also what's done for the ubuntu setup script.
4 years ago
Thomas Schneider
2e36fff31d
Implement option to reboot px4 using protocol_splitter format when flashing.
4 years ago
Jukka Laitinen
ffa5abbd65
ci: update container versions to 2021-09-08
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
PX4 BuildBot
6278c072c9
Update submodule sitl_gazebo to latest Mon Sep 6 00:40:01 UTC 2021
...
- sitl_gazebo in PX4/Firmware (51697b0d07665d85ca1ebd9105e3cdc621b41969): 7fda4d311a
- sitl_gazebo current upstream: 53d606b32f
- Changes: 7fda4d311a...53d606b32f
53d606b 2021-09-01 stmoon - fix the bug for the low real time factor in gazebo
4 years ago
Jaeyoung-Lim
d32f0d6168
Support headless mode for ignition gazebo
...
This adds support for `HEADLESS=1` when starting ignition gazebo with headless mode
4 years ago
Jaeyoung-Lim
3aa3f542ae
Update simulation-ignition submodule
4 years ago
Jaeyoung-Lim
121bdfa630
Add verbose option for ignition gazebo
...
This commit adds verbose option for ignition gazebo
4 years ago
Jaeyoung-Lim
3c57626627
Update world path for ignition gazebo
4 years ago
profff
9418d36cc9
Tools/docker_run.sh: use recent docker image to fix missing python jsonschema when compiling linux arm based targets ( #18178 )
4 years ago