-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux mint 21.3 support #24097
Open
asifpatankar
wants to merge
64
commits into
PX4:main
Choose a base branch
from
asifpatankar:linux-mint-21.3-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Linux mint 21.3 support #24097
+10,076
−333
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* usb: Added parameter to enable always starting mavlink on USB. Refactored cdcacm_init into a module and added a paramter to allow always starting mavlink on USB, also added a paramter to choose the mode. The current default behavior is to wait and listen for data on USB and auto-detect the protocol (mavlink, nsh, ublox). This results in the mavlink stream not starting until something else on the mavlink network sends a packet first. The new default behavior is to always start mavlink. Added parameters MAV_USB_ENABLE -- default 1 (always start mavlink on USB) MAV_USE_MODE -- default 3 (onboard) * added 3 retries for opening serial port in mavlink, removed sleep before sercon * added DRIVERS_CDCACM_AUTOSTART to ark-v6x default.px4board * added CONFIG_DRIVERS_CDCACM_AUTOSTART=y to default.px4board for boards with CONFIG_CDCACM in their nsh/defconfig * format * remove PGA460 from COMMON_DISTANCE_SENSOR to save flash * remove LIS2MDL from COMMON_MAGNETOMETER to save flash * disable CONFIG_DRIVERS_CDCACM_AUTOSTART for fmu-v5 protected.px4board * moved and renamed parameters, removed mode logic in mavlink * changed parameter names, added mode none * remove parameters from mavlink
Avoids memory corruption if we get packets to big
[BACKPORT] imxrt: lpuart singlewire transfer support These correctly enables mpu_rest on MPU init if CONFIG_ARM_MPU_RESET is defined. [BACKPORT] imxrt: 1170 MPU config ensure no lockups can occur [BACKPORT] armv{7|8}-{m|r}:MPU fix CONFIG naming to include ARM
…nly effects imxrt
…mory is writable before jump to APP
Fixes correct dummy cycle count of 20
If the STM32H7 fails to program or erase a full chunk of 256 bytes, the ECC check will trigger a busfault when trying to read from it. To speed up erasing and optimize wear, we read before erasing to check if it actually needs erasing. That's when a busfault happens and the erase time outs. The workaround is to add an option to do a full erase without check. Credit goes to: ArduPilot/ardupilot#22090 And the protocol option added to the bootloader is the same as for ArduPilot, so compatible. Signed-off-by: Julian Oes <[email protected]>
This adds a new protocol extension which allows to get the bootloader version. The bootloader version is different from the bootloader protocol revision which has stabilized at 5 and is not easy to update unless a bootloader is actually breaking the protocol. The reason being that both the Python script as well as the uploader used in QGC will not attempt to load firmware if they don't know the bootloader version, so it could basically be considered a "breaking" protocol revision. Signed-off-by: Julian Oes <[email protected]>
Includes: - Remove some of the outdated Python2 checks and compatibility. - Try not catch all exceptions but only the expected ones. Otherwise, this makes it really hard to debug if anything unexpected actually goes wrong. - Make use of fstrings. - Make output slightly prettier. Signed-off-by: Julian Oes <[email protected]>
Just so we don't conflict on these commands in the future.
Signed-off-by: Julian Oes <[email protected]>
Quite a few were missing, and everything on one line was hard to diff.
…P_RESERVATION_SIZE param (PX4#23204)
Signed-off-by: Silvan Fuhrer <[email protected]>
Signed-off-by: Silvan Fuhrer <[email protected]>
…, with new features and fixes (PX4#23386) Co-authored-by: Chiara de Saint Giniez <[email protected]>
…elay Signed-off-by: Silvan Fuhrer <[email protected]>
This resets the USARTs' clock source selection to the default, in case it has been changed by the bootloader. This is required if booting from the ArduPilot bootloader which happens to reset the clock selection to PLL. Without this fix, UARTs (including the console) is garbled, so presumably at an invalid baudrate.
- keeps them as local params at init - only allow to set at init
- add answer command logging
…ion is not valid Signed-off-by: Silvan Fuhrer <[email protected]>
Co-authored-by: Weng <[email protected]>
* add new payload power switch (RC_MAP_PAY_SW)
* boards: ark fpv add SCH16T * boards: ark fpv fix spi6
- Added Linux Mint 21.3 detection - Set Java version 11 for Linux Mint 21.3 - Configure Gazebo Garden installation using jammy repositories - Added proof images showing successful installation - Fix package repository paths for Linux Mint
It looks like there's something wrong with your branch, can you please clean it up so we can review? |
You can try to rebase to resolve it. I was unable to test it, but according to the documentation gz-harmonic should work on Linux mint 21.3. I put some links here: #24089 |
I'll give harmonic a shot as well try to remake a branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solved Problem
When executing ubuntu.sh script on Linux Mint 21.3 (based on Ubuntu 22.04), the script failed to recognize the OS and install correct dependencies, particularly for Java and Gazebo Garden.
Solution
Changelog Entry
For release notes:
Test coverage
Context
The changes ensure proper detection of Linux Mint 21.3 and installation of correct dependencies, allowing PX4 development environment setup on Linux Mint 21.3 systems. Screenshots show successful Java installation after the modifications.
The modifications maintain compatibility with existing Ubuntu installations while adding support for Linux Mint 21.3 users.