Skip to content

Commit 894fe28

Browse files
committed
Update autodrive_devkit
1 parent 9ef0268 commit 894fe28

File tree

2 files changed

+52
-6
lines changed

2 files changed

+52
-6
lines changed

autodrive_devkit/autodrive_roboracer/autodrive_bridge.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def create_odom_msg(odom, position, orientation_quaternion, linear_velocity, ang
139139
odom.header = Header()
140140
odom.header.stamp = autodrive_bridge.get_clock().now().to_msg()
141141
odom.header.frame_id = 'world'
142+
odom.child_frame_id = 'roboracer_1'
142143
odom.pose.pose.position.x = position[0]
143144
odom.pose.pose.position.y = position[1]
144145
odom.pose.pose.position.z = position[2]

autodrive_devkit/rviz/autodrive_roboracer.rviz

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Panels:
33
Help Height: 78
44
Name: Displays
55
Property Tree Widget:
6-
Expanded: ~
6+
Expanded:
7+
- /Odometry1/Shape1
78
Splitter Ratio: 0.5411764979362488
89
Tree Height: 563
910
- Class: rviz_common/Selection
@@ -67,6 +68,7 @@ Visualization Manager:
6768
Topic:
6869
Depth: 5
6970
Durability Policy: Volatile
71+
Filter size: 10
7072
History Policy: Keep Last
7173
Reliability Policy: Reliable
7274
Value: /autodrive/roboracer_1/lidar
@@ -92,8 +94,6 @@ Visualization Manager:
9294
Frame Timeout: 15
9395
Frames:
9496
All Enabled: true
95-
roboracer_1:
96-
Value: true
9797
front_camera:
9898
Value: true
9999
front_left_wheel:
@@ -114,6 +114,8 @@ Visualization Manager:
114114
Value: true
115115
right_encoder:
116116
Value: true
117+
roboracer_1:
118+
Value: true
117119
world:
118120
Value: true
119121
Marker Scale: 1
@@ -168,11 +170,51 @@ Visualization Manager:
168170
Topic:
169171
Depth: 5
170172
Durability Policy: Volatile
173+
Filter size: 10
171174
History Policy: Keep Last
172175
Reliability Policy: Reliable
173176
Value: /autodrive/roboracer_1/imu
174177
Value: true
175178
fixed_frame_orientation: true
179+
- Angle Tolerance: 0.10000000149011612
180+
Class: rviz_default_plugins/Odometry
181+
Covariance:
182+
Orientation:
183+
Alpha: 0.5
184+
Color: 255; 255; 127
185+
Color Style: Unique
186+
Frame: Local
187+
Offset: 1
188+
Scale: 1
189+
Value: true
190+
Position:
191+
Alpha: 0.30000001192092896
192+
Color: 204; 51; 204
193+
Scale: 1
194+
Value: true
195+
Value: false
196+
Enabled: true
197+
Keep: 100
198+
Name: Odometry
199+
Position Tolerance: 0.10000000149011612
200+
Shape:
201+
Alpha: 1
202+
Axes Length: 1
203+
Axes Radius: 0.10000000149011612
204+
Color: 0; 255; 0
205+
Head Length: 0.20000000298023224
206+
Head Radius: 0.15000000596046448
207+
Shaft Length: 0.5
208+
Shaft Radius: 0.05000000074505806
209+
Value: Arrow
210+
Topic:
211+
Depth: 5
212+
Durability Policy: Volatile
213+
Filter size: 10
214+
History Policy: Keep Last
215+
Reliability Policy: Reliable
216+
Value: /autodrive/roboracer_1/odom
217+
Value: true
176218
Enabled: true
177219
Global Options:
178220
Background Color: 48; 48; 48
@@ -188,6 +230,9 @@ Visualization Manager:
188230
- Class: rviz_default_plugins/Measure
189231
Line color: 128; 128; 0
190232
- Class: rviz_default_plugins/SetInitialPose
233+
Covariance x: 0.25
234+
Covariance y: 0.25
235+
Covariance yaw: 0.06853891909122467
191236
Topic:
192237
Depth: 5
193238
Durability Policy: Volatile
@@ -244,13 +289,13 @@ Window Geometry:
244289
Height: 1016
245290
Hide Left Dock: false
246291
Hide Right Dock: true
247-
QMainWindow State: 000000ff00000000fd000000040000000000000156000003a2fc020000000cfb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003b000002bc000000c700fffffffb0000000c00430061006d00650072006101000002fd000000e00000002800fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb000000160052006500610072002000430061006d0065007200610000000303000000d80000000000000000fb0000000c00430061006d0065007200610100000305000000d60000000000000000fb0000001800460072006f006e0074002000430061006d00650072006101000003bf0000001c0000000000000000000000010000010f0000039efc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073000000003d0000039e000000a000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d00650100000000000004500000000000000000000005dc000003a200000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
292+
QMainWindow State: 000000ff00000000fd000000040000000000000156000003a2fc020000000cfb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003b000002bc000000c700fffffffb0000000c00430061006d00650072006101000002fd000000e00000002800fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb000000160052006500610072002000430061006d0065007200610000000303000000d80000000000000000fb0000000c00430061006d0065007200610100000305000000d60000000000000000fb0000001800460072006f006e0074002000430061006d00650072006101000003bf0000001c0000000000000000000000010000010f0000039efc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073000000003d0000039e000000a000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d00650100000000000004500000000000000000000005de000003a200000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
248293
Selection:
249294
collapsed: false
250295
Tool Properties:
251296
collapsed: false
252297
Views:
253298
collapsed: true
254-
Width: 1848
255-
X: 72
299+
Width: 1850
300+
X: 70
256301
Y: 27

0 commit comments

Comments
 (0)