Skip to content
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

Adding example tmux sessions #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ This repository includes Core ROS examples for the [MRS UAV System](https://gith
## Python

* [sweeping_generator](./python/sweeping_generator) - Minimalistic Python Example that generates sweeping path for the UAV

## tmux

* [passthrough_estimator](./tmux/passthrough_estimator) - tmux simulation session that shows how to run the simulation with passthrough estimator

# Disclaimer

Expand Down
71 changes: 71 additions & 0 deletions tmux/passthrough_estimator/config/custom_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
mrs_uav_managers:

estimation_manager:

# loaded state estimator plugins
state_estimators: [
"passthrough",
]

initial_state_estimator: "passthrough" # will be used as the first state estimator
agl_height_estimator: "" # only slightly filtered height for checking min height (not used in control feedback)

passthrough:
max_flight_z: 100.0 # [m] maximum allowed flight Z (in the estimator frame)
kickoff: false # do not wait until desired Hz is achieved (set to true if kickoff estimator is used)
message:
topic: "hw_api/odometry"

uav_manager:

takeoff:

during_takeoff:
controller: "MpcController"
tracker: "LandoffTracker"

after_takeoff:
controller: "MpcController" # more robust
# controller: "Se3Controller" # more precise
tracker: "MpcTracker"

constraint_manager:

estimator_types: [
"passthrough"
]

constraints: [
"slow",
"medium",
"fast"
]

# list of allowed gains per odometry mode
allowed_constraints:
passthrough: ["slow", "medium", "fast"]

# those gains will be used automatically when a localization mode switches
# and the current gains are not in the allowed list (next paragraphs)
default_constraints:
passthrough: "slow"

gain_manager:

estimator_types: [
"passthrough"
]

gains: [
"soft"
]

# list of allowed gains per odometry mode
allowed_gains:
passthrough: ["soft"]

# those gains will be used automatically when a localization mode switches
# and the current gains are not in the allowed list (next paragraphs)
default_gains:
passthrough: "soft"

15 changes: 15 additions & 0 deletions tmux/passthrough_estimator/config/network_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 1. This list is used by NimbroNetwork for mutual communication of the UAVs
# The names of the robots have to match hostnames described in /etc/hosts.
#
# 2. This list is used by MpcTracker for mutual collision avoidance of the UAVs.
# The names should match the true "UAV_NAMES" (the topic prefixes).
#
# network_config:=~/config/network_config.yaml
#
# to the core.launch and nimbro.launch.

network:

robot_names: [
uav1,
]
Loading