Skip to content

Commit

Permalink
add 8th color segment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Hrncir committed Oct 14, 2024
1 parent 2e360fb commit f984c80
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/unreal_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,12 @@ void UnrealSimulator::timerSegLidar([[maybe_unused]] const ros::TimerEvent& even
point.b = 255;
break;
}
case 8: {
point.r = 255;
point.g = 255;
point.b = 0;
break;
}
default: {
point.r = 0;
point.g = 0;
Expand Down
2 changes: 2 additions & 0 deletions tmux/one_drone/config/simulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ uav_names: [
"uav1",
]

ueds_world_level_name_enum: 3

uav1:
type: "x500"
spawn:
Expand Down
7 changes: 6 additions & 1 deletion tmux/one_drone/session.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ socket_name: mrs
attach: false
tmux_options: -f /etc/ctu-mrs/tmux.conf
# you can modify these
pre_window: export UAV_NAME=uav1; export RUN_TYPE=simulation; export UAV_TYPE=x500; source ~/ueds_workspace/devel/setup.zsh
pre_window: export UAV_NAME=uav1; export RUN_TYPE=simulation; export UAV_TYPE=x500
startup_window: goto
windows:
- roscore:
Expand Down Expand Up @@ -62,3 +62,8 @@ windows:
layout: tiled
panes:
- waitForControl; sleep 5; ~/.i3/layout_manager.sh ./layout.json

- rqrReconfigure:
layaut: tiled
panes:
- waitForRos; waitForControl; rosrun rqt_reconfigure rqt_reconfigure

0 comments on commit f984c80

Please sign in to comment.