Skip to content

Commit

Permalink
added example tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Aug 8, 2023
1 parent 3991373 commit ccbe9a6
Show file tree
Hide file tree
Showing 6 changed files with 886 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tmux/one_drone/custom_configs/custom_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
mrs_uav_managers:

estimation_manager:

# loaded state estimator plugins
state_estimators: [
"gps_garmin",
"gps_baro",
"ground_truth",
]

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

uav_manager:

takeoff:

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

after_takeoff:
controller: "Se3Controller"
tracker: "MpcTracker"
20 changes: 20 additions & 0 deletions tmux/one_drone/custom_configs/hw_api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
inputs:
control_group: false
attitude_rate: true
attitude: true

outputs:
distance_sensor: true
gnss: true
rtk: true
imu: true
altitude: true
magnetometer_heading: true
rc_channels: true
battery_state: true
position: true
orientation: true
velocity: true
angular_velocity: true
odometry: true
ground_truth: true
105 changes: 105 additions & 0 deletions tmux/one_drone/layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
[
{
"border": "normal",
"floating": "auto_off",
"fullscreen_mode": 0,
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"percent": 1,
"type": "con",
"nodes": [
{
"border": "normal",
"floating": "auto_off",
"layout": "splitv",
"percent": 1,
"type": "con",
"nodes": [
{
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 460,
"width": 724,
"x": 0,
"y": 0
},
"name": "Gazebo",
"percent": 0.5,
"swallows": [
{
"instance": "^gazebo$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 460,
"width": 724,
"x": 0,
"y": 0
},
"name": "default_simulation.rviz* - RViz",
"percent": 0.5,
"swallows": [
{
"instance": "^rviz$"
}
],
"type": "con"
}
]
},
{
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"percent": 0.5,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 460,
"width": 724,
"x": 0,
"y": 0
},
"name": "./start.sh",
"percent": 1,
"swallows": [
{
"instance": "^urxvt$"
}
],
"type": "con"
}
]
}
]
}
]
}
]
}
]
Loading

0 comments on commit ccbe9a6

Please sign in to comment.