10000 GitHub - ANCL/SLS_offset_ctrl: ROS2-PX4 offboard controller for SLS with offset control for "Modeling and Geometric Cascade Control of Offset Slung-Load Multirotors with PX4--ROS2 SITL Validation". The 10th IEEE Conference on Control. Technology and Applications (CCTA) 2026
[go: up one dir, main page]

Skip to content

ROS2-PX4 offboard controller for SLS with offset control for "Modeling and Geometric Cascade Control of Offset Slung-Load Multirotors with PX4--ROS2 SITL Validation". The 10th IEEE Conference on Control. Technology and Applications (CCTA) 2026

License

Notifications You must be signed in to change notification settings

ANCL/SLS_offset_ctrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

SLS_offset_ctrl

1. Download WSL distro

FIle is available at: https://drive.google.com/file/d/1AOffxn0B_Ug9SrXcvw8nzAY3KY0F3ao4/view?usp=sharing

After download the .tar file, import the distro in windows PowerShell.

2. Install QGroundControl

Setup mirror network in your computer as follows:

This mode allows WSL2 to use the same IP address as the Windows host computer.

After this configuration, the QGC on the Windows host machine can directly talk to the WSL simulation without additional settings

2.1 Check Windows 11 is newer than 22H2 and update your WSL:

wsl --update

Then open WSL Settings and set networking mode to mirrored.

2.2 In the Windows user folder (C:\Users$YOUR_USER_NAME), create .wslconfig:

[wsl2]
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true

[experimental]
# requires dnsTunneling but is also OPTIONAL
bestEffortDnsParsing=true
useWindowsDnsCache=true

2.3 Restart WSL

wsl --shutdown
wsl

2.4 Check IP address in WSL

ifconfig

If ifconfig not found, run:

audo apt install net-tools

Then install QGroundControl on windows: https://docs.px4.io/main/en/dev_setup/dev_env_windows_wsl.html#qgroundcontrol \ The QGC parameters file is also available in this repository.

3. Run the project

3.1 Load the model and gazebo world

In a new terminal:

 ros2 launch sls_offset_ctrl init.launch.py 

After model is loaded, click the start icon.

3.2 Start offboard control node

In a new terminal:

 ros2 launch sls_offset_ctrl node.launch.py 

3.3 Payload position tracking

In a new terminal:

 ros2 run rqt_reconfigure rqt_reconfigure

A window will pop up, click the check box of "mission_enabled_" to start trajectory tracking.

About

ROS2-PX4 offboard controller for SLS with offset control for "Modeling and Geometric Cascade Control of Offset Slung-Load Multirotors with PX4--ROS2 SITL Validation". The 10th IEEE Conference on Control. Technology and Applications (CCTA) 2026

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0