Skip to content

Commit 161e485

Browse files
committed
Update GUI configuration and comment out unused launch actions
1 parent b7d0f3b commit 161e485

File tree

4 files changed

+41
-33
lines changed

4 files changed

+41
-33
lines changed

turtlebot4_gz_bringup/gui/standard/gui.config

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
<?xml version="1.0" ?>
22

3+
<window>
4+
<position_x>-1</position_x>
5+
<position_y>-1</position_y>
6+
<state></state>
7+
<width>500</width>
8+
<height>500</height>
9+
</window>
10+
311
<!-- 3D scene -->
412
<plugin filename="MinimalScene" name="3D View">
513
<gz-gui>
@@ -71,7 +79,7 @@
7179
</plugin>
7280

7381
<!-- Translate / rotate -->
74-
<plugin filename="TransformControl" name="Transform control">
82+
<!-- <plugin filename="TransformControl" name="Transform control">
7583
<gz-gui>
7684
<title>Transform control</title>
7785
<anchors target="3D View">
@@ -85,10 +93,10 @@
8593
<property key="showTitleBar" type="bool">false</property>
8694
<property key="cardBackground" type="string">#03a9f4</property>
8795
</gz-gui>
88-
</plugin>
96+
</plugin> -->
8997

9098
<!-- Insert simple shapes -->
91-
<plugin filename="Shapes" name="Shapes">
99+
<!-- <plugin filename="Shapes" name="Shapes">
92100
<gz-gui>
93101
<anchors target="Transform control">
94102
<line own="left" target="right"/>
@@ -101,24 +109,24 @@
101109
<property key="showTitleBar" type="bool">false</property>
102110
<property key="cardBackground" type="string">#03a9f4</property>
103111
</gz-gui>
104-
</plugin>
112+
</plugin> -->
105113

106114
<!-- HMI -->
107-
<plugin filename="Turtlebot4Hmi" name="Turtlebot4 HMI">
115+
<!-- <plugin filename="Turtlebot4Hmi" name="Turtlebot4 HMI">
108116
<gz-gui>
109117
<property type="bool" key="showTitleBar">true</property>
110118
<property type="string" key="state">docked</property>
111119
<property type="double" key="height">200</property>
112120
<property key="resizable" type="bool">true</property>
113121
</gz-gui>
114-
</plugin>
122+
</plugin> -->
115123

116124
<!-- Teleop -->
117-
<plugin filename="Teleop">
125+
<!-- <plugin filename="Teleop">
118126
<topic>/cmd_vel</topic>
119127
<gz-gui>
120128
<property type="bool" key="showTitleBar">true</property>
121129
<property type="string" key="state">docked</property>
122130
<property key="resizable" type="bool">true</property>
123131
</gz-gui>
124-
</plugin>
132+
</plugin> -->

turtlebot4_gz_bringup/launch/ros_gz_bridge.launch.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ def generate_launch_description():
209209
# Define LaunchDescription variable
210210
ld = LaunchDescription(ARGUMENTS)
211211
ld.add_action(create3_bridge)
212-
ld.add_action(hmi_display_msg_bridge)
213-
ld.add_action(hmi_buttons_msg_bridge)
214-
ld.add_action(hmi_led_msg_bridge)
212+
# ld.add_action(hmi_display_msg_bridge)
213+
# ld.add_action(hmi_buttons_msg_bridge)
214+
# ld.add_action(hmi_led_msg_bridge)
215215
ld.add_action(lidar_bridge)
216216
ld.add_action(oakd_camera_bridge)
217217
return ld

turtlebot4_gz_bringup/launch/turtlebot4_nodes.launch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ def generate_launch_description():
6767
ld = LaunchDescription(ARGUMENTS)
6868
ld.add_action(param_file_cmd)
6969
ld.add_action(turtlebot4_node)
70-
ld.add_action(turtlebot4_gz_hmi_node)
70+
# ld.add_action(turtlebot4_gz_hmi_node)
7171
return ld

turtlebot4_gz_bringup/launch/turtlebot4_spawn.launch.py

+21-21
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ def generate_launch_description():
135135
),
136136

137137
# Dock description
138-
IncludeLaunchDescription(
139-
PythonLaunchDescriptionSource([dock_description_launch]),
140-
# The robot starts docked
141-
launch_arguments={'gazebo': 'ignition'}.items(),
142-
),
138+
# IncludeLaunchDescription(
139+
# PythonLaunchDescriptionSource([dock_description_launch]),
140+
# # The robot starts docked
141+
# launch_arguments={'gazebo': 'ignition'}.items(),
142+
# ),
143143

144144
# Spawn TurtleBot 4
145145
Node(
@@ -155,25 +155,25 @@ def generate_launch_description():
155155
),
156156

157157
# Spawn Dock
158-
Node(
159-
package='ros_gz_sim',
160-
executable='create',
161-
arguments=['-name', dock_name,
162-
'-x', x_dock,
163-
'-y', y_dock,
164-
'-z', z,
165-
'-Y', yaw_dock,
166-
'-topic', 'standard_dock_description'],
167-
output='screen',
168-
),
158+
# Node(
159+
# package='ros_gz_sim',
160+
# executable='create',
161+
# arguments=['-name', dock_name,
162+
# '-x', x_dock,
163+
# '-y', y_dock,
164+
# '-z', z,
165+
# '-Y', yaw_dock,
166+
# '-topic', 'standard_dock_description'],
167+
# output='screen',
168+
# ),
169169

170170
# ROS IGN bridge
171171
IncludeLaunchDescription(
172172
PythonLaunchDescriptionSource([turtlebot4_ros_gz_bridge_launch]),
173173
launch_arguments=[
174174
('model', LaunchConfiguration('model')),
175175
('robot_name', robot_name),
176-
('dock_name', dock_name),
176+
# ('dock_name', dock_name),
177177
('namespace', namespace)]
178178
),
179179

@@ -280,8 +280,8 @@ def generate_launch_description():
280280
ld = LaunchDescription(ARGUMENTS)
281281
ld.add_action(param_file_cmd)
282282
ld.add_action(spawn_robot_group_action)
283-
ld.add_action(localization)
284-
ld.add_action(slam)
285-
ld.add_action(nav2)
286-
ld.add_action(rviz)
283+
# ld.add_action(localization)
284+
# ld.add_action(slam)
285+
# ld.add_action(nav2)
286+
# ld.add_action(rviz)
287287
return ld

0 commit comments

Comments
 (0)