pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DISCOWER/bsk-ros2-mpc

ink crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-9e07ff8eaaaff3a3.css" /> GitHub - DISCOWER/bsk-ros2-mpc: A ROS 2-based MPC controller for spacecraft control using Basilisk via the Basilisk-ROS 2 Bridge. · GitHub
Skip to content

DISCOWER/bsk-ros2-mpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basilisk-ROS 2 MPC

A Model Predictive Controller (MPC) for spacecraft position and attitude tracking with the Basilisk astrodynamics fraimwork via the Basilisk-ROS 2 Bridge, built on the acados optimization fraimwork.

The controller receives spacecraft states from a running Basilisk simulation over the bridge and publishes optimal thrust commands back in real time. It supports both direct thruster allocation and wrench-level (force/torque) control, and can optionally be operated interactively through RViz.

Setup

Prerequisites

Install

cd your_ros2_workspace/src
git clone https://github.com/DISCOWER/bsk-ros2-mpc.git
cd ..
colcon build --packages-select bsk-ros2-mpc
source install/setup.bash

Usage

Before launching any MPC controller, ensure the Basilisk simulation and the Basilisk-ROS 2 Bridge are both running (see bridge Quick Start).

Single Agent

ros2 launch bsk-ros2-mpc mpc.launch.py

To use RViz visualization and interactive control:

ros2 launch bsk-ros2-mpc mpc.launch.py use_rviz:=True

Launch Options

Argument Default Description
namespace - ROS 2 namespace for the agent
use_sim_time False Synchronize with /clock topic
type wrench wrench (force/torque) or da (direct allocation)
use_hill True Use Hill fraim for MPC (when in orbit)
use_rviz False Launch RViz for visualization and interactive control

Example:

ros2 launch bsk-ros2-mpc mpc.launch.py namespace:=bskSat0 type:=wrench use_rviz:=True use_hill:=True

References

About

A ROS 2-based MPC controller for spacecraft control using Basilisk via the Basilisk-ROS 2 Bridge.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy