Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_adc_launch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
ADC
ADC_2021
iri_adc_launch
Commits
69bb4b30
Commit
69bb4b30
authored
4 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Updated the sim_test launch file to use the new configuration files.
parent
9ab9372a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
launch/sim_test.launch
+9
-10
9 additions, 10 deletions
launch/sim_test.launch
rviz/sim_test.rviz
+82
-153
82 additions, 153 deletions
rviz/sim_test.rviz
with
91 additions
and
163 deletions
launch/sim_test.launch
+
9
−
10
View file @
69bb4b30
...
...
@@ -2,7 +2,6 @@
<!-- -->
<launch>
<arg
name=
"name"
default=
"model_car"
/>
<arg
name=
"output"
default=
"screen"
/>
<arg
name=
"launch_prefix"
default=
""
/>
...
...
@@ -13,7 +12,7 @@
<arg
name=
"car_yaw"
default=
"0.0"
/>
<include
file=
"$(find iri_model_car_gazebo)/launch/sim.launch"
>
<arg
name=
"name"
value=
"
$(arg name)
"
/>
<arg
name=
"name"
value=
"
adc_car
"
/>
<arg
name=
"output"
value=
"$(arg output)"
/>
<arg
name=
"launch_prefix"
value=
"$(arg launch_prefix)"
/>
<arg
name=
"world"
value=
"$(arg world)"
/>
...
...
@@ -21,23 +20,23 @@
<arg
name=
"car_x"
value=
"$(arg car_x)"
/>
<arg
name=
"car_y"
value=
"$(arg car_y)"
/>
<arg
name=
"car_yaw"
value=
"$(arg car_yaw)"
/>
<arg
name=
"sim_config_path"
value=
"$(find iri_
model_car_gazebo)/config
"
/>
<arg
name=
"car_controller_config_file"
value=
"$(find iri_
model
_car_controller
)/
config
/control
.yaml"
/>
<arg
name=
"control_config_file"
value=
"$(find iri_
model
_car_control
)/config/
params.yaml"
/>
<arg
name=
"odometry_config_file"
value=
"$(find iri_
model
_car_odometry
)/config/
params.yaml"
/>
<arg
name=
"sim_config_path"
value=
"$(find iri_
adc_launch)/config/adc_car
"
/>
<arg
name=
"car_controller_config_file"
value=
"$(find iri_
adc_launch)/config/adc
_car_controller
_
config.yaml"
/>
<arg
name=
"control_config_file"
value=
"$(find iri_
adc_launch)/config/adc
_car_control
_
params.yaml"
/>
<arg
name=
"odometry_config_file"
value=
"$(find iri_
adc_launch)/config/adc
_car_odometry
_
params.yaml"
/>
</include>
<node
pkg=
"tf2_ros"
type=
"static_transform_publisher"
name=
"static_tf_map_odom"
args=
"0 0 0 0 0 0 map
model
_car/odom"
/>
args=
"0 0 0 0 0 0 map
adc
_car/odom"
/>
<!--
<include file="$(find iri_teleop_launch)/launch/rqt_teleop.launch">
<arg
name=
"ns"
value=
"
$(arg name)
"
/>
<arg name="ns" value="
adc_car
"/>
<arg name="twist_topic" value="$(arg name)/teleop/cmd_vel"/>
<arg name="config_file" value="$(find iri_teleop_launch)/config/rqt_teleop.yaml" />
<arg name="output" value="$(arg output)"/>
<arg name="launch_prefix" value="$(arg launch_prefix)"/>
</include>
-->
<node
name=
"rviz"
pkg=
"rviz"
type=
"rviz"
...
...
This diff is collapsed.
Click to expand it.
rviz/sim_test.rviz
+
82
−
153
View file @
69bb4b30
...
...
@@ -7,11 +7,8 @@ Panels:
- /Global Options1
- /Models1
- /Sensors1
- /Sensors1/Odometry1
- /Sensors1/Odometry1/Odometry1/Shape1
- /Sensors1/Sonar1
Splitter Ratio: 0.6352941393852234
Tree Height:
794
Tree Height:
821
- Class: rviz/Selection
Name: Selection
- Class: rviz/Tool Properties
...
...
@@ -191,8 +188,8 @@ Visualization Manager:
Show Axes: false
Show Trail: false
Name: RobotModel
Robot Description:
model
_car/robot_description
TF Prefix:
model
_car
Robot Description:
adc
_car/robot_description
TF Prefix:
adc
_car
Update Interval: 0
Value: true
Visual Enabled: true
...
...
@@ -201,63 +198,63 @@ Visualization Manager:
Frame Timeout: 15
Frames:
All Enabled: true
map
:
adc_car/base_footprint
:
Value: true
model
_car/base_
footpr
in
t
:
adc
_car/base_
l
in
k
:
Value: true
model
_car/b
ase_link
:
adc
_car/b
ody
:
Value: true
model_car/body
:
adc_car/front_camera_uvc_camera_base
:
Value: true
model
_car/front_camera_uvc_camera_
base
:
adc
_car/front_camera_uvc_camera_
optical
:
Value: true
model
_car/front_
camera_uvc_camera_optica
l:
adc
_car/front_
left_whee
l:
Value: true
model
_car/front_l
eft_wheel
:
adc
_car/front_l
idar_rplidar_base
:
Value: true
model
_car/front_lidar_rplidar_
bas
e:
adc
_car/front_lidar_rplidar_
scan_fram
e:
Value: true
model
_car/front_
lidar_rplidar_scan_frame
:
adc
_car/front_
right_wheel
:
Value: true
model_car/front_right_wheel
:
adc_car/imu_mpu9250
:
Value: true
model
_car/imu_mpu9250:
adc
_car/imu_mpu9250
_base
:
Value: true
model_car/imu_mpu9250_base
:
adc_car/odom
:
Value: true
model_car/odom
:
adc_car/rear_camera_uvc_camera_base
:
Value: true
model
_car/rear_camera_uvc_camera_
base
:
adc
_car/rear_camera_uvc_camera_
optical
:
Value: true
model
_car/rear_c
amera_uvc_camera_optical
:
adc
_car/rear_c
enter_base
:
Value: true
model
_car/rear_center_
base
:
adc
_car/rear_center_
ranger1d
:
Value: true
model
_car/rear_
center_ranger1d
:
adc
_car/rear_
left_base
:
Value: true
model
_car/rear_left_
base
:
adc
_car/rear_left_
ranger1d
:
Value: true
model
_car/rear_left_
ranger1d
:
adc
_car/rear_left_
wheel
:
Value: true
model
_car/rear_
left_wheel
:
adc
_car/rear_
right_base
:
Value: true
model
_car/rear_right_
base
:
adc
_car/rear_right_
ranger1d
:
Value: true
model
_car/rear_right_
ranger1d
:
adc
_car/rear_right_
wheel
:
Value: true
model_car/rear_right_wheel
:
adc_car/side_left_base
:
Value: true
model
_car/side_left_
base
:
adc
_car/side_left_
ranger1d
:
Value: true
model
_car/side_
left_ranger1d
:
adc
_car/side_
right_base
:
Value: true
model
_car/side_right_
base
:
adc
_car/side_right_
ranger1d
:
Value: true
model
_car/s
ide_right_ranger1d
:
adc
_car/s
teer_left
:
Value: true
model
_car/steer_
lef
t:
adc
_car/steer_
righ
t:
Value: true
m
odel_car/steer_right
:
m
ap
:
Value: true
Marker Scale: 0.25
Name: TF
...
...
@@ -266,47 +263,47 @@ Visualization Manager:
Show Names: true
Tree:
map:
model
_car/odom:
model
_car/base_footprint:
model
_car/base_link:
model
_car/body:
adc
_car/odom:
adc
_car/base_footprint:
adc
_car/base_link:
adc
_car/body:
{}
model
_car/front_camera_uvc_camera_base:
model
_car/front_camera_uvc_camera_optical:
adc
_car/front_camera_uvc_camera_base:
adc
_car/front_camera_uvc_camera_optical:
{}
model
_car/front_lidar_rplidar_base:
model
_car/front_lidar_rplidar_scan_frame:
adc
_car/front_lidar_rplidar_base:
adc
_car/front_lidar_rplidar_scan_frame:
{}
model
_car/imu_mpu9250_base:
model
_car/imu_mpu9250:
adc
_car/imu_mpu9250_base:
adc
_car/imu_mpu9250:
{}
model
_car/rear_camera_uvc_camera_base:
model
_car/rear_camera_uvc_camera_optical:
adc
_car/rear_camera_uvc_camera_base:
adc
_car/rear_camera_uvc_camera_optical:
{}
model
_car/rear_center_base:
model
_car/rear_center_ranger1d:
adc
_car/rear_center_base:
adc
_car/rear_center_ranger1d:
{}
model
_car/rear_left_base:
model
_car/rear_left_ranger1d:
adc
_car/rear_left_base:
adc
_car/rear_left_ranger1d:
{}
model
_car/rear_left_wheel:
adc
_car/rear_left_wheel:
{}
model
_car/rear_right_base:
model
_car/rear_right_ranger1d:
adc
_car/rear_right_base:
adc
_car/rear_right_ranger1d:
{}
model
_car/rear_right_wheel:
adc
_car/rear_right_wheel:
{}
model
_car/side_left_base:
model
_car/side_left_ranger1d:
adc
_car/side_left_base:
adc
_car/side_left_ranger1d:
{}
model
_car/side_right_base:
model
_car/side_right_ranger1d:
adc
_car/side_right_base:
adc
_car/side_right_ranger1d:
{}
model
_car/steer_left:
model
_car/front_left_wheel:
adc
_car/steer_left:
adc
_car/front_left_wheel:
{}
model
_car/steer_right:
model
_car/front_right_wheel:
adc
_car/steer_right:
adc
_car/front_right_wheel:
{}
Update Interval: 0
Value: true
...
...
@@ -347,41 +344,7 @@ Visualization Manager:
Shaft Length: 0.25
Shaft Radius: 0.009999999776482582
Value: Arrow
Topic: /model_car/odom_ground_truth
Unreliable: false
Value: true
- Angle Tolerance: 0
Class: rviz/Odometry
Covariance:
Orientation:
Alpha: 0.5
Color: 255; 255; 127
Color Style: Unique
Frame: Local
Offset: 1
Scale: 1
Value: true
Position:
Alpha: 0.30000001192092896
Color: 204; 51; 204
Scale: 1
Value: true
Value: false
Enabled: true
Keep: 1
Name: GroundTruth(1)
Position Tolerance: 0
Shape:
Alpha: 1
Axes Length: 1
Axes Radius: 0.10000000149011612
Color: 0; 0; 255
Head Length: 0.15000000596046448
Head Radius: 0.05000000074505806
Shaft Length: 0.5
Shaft Radius: 0.02500000037252903
Value: Arrow
Topic: /model_car/odom_ground_truth
Topic: /adc_car/odom_ground_truth
Unreliable: false
Value: true
- Angle Tolerance: 0.25
...
...
@@ -415,41 +378,7 @@ Visualization Manager:
Shaft Length: 0.25
Shaft Radius: 0.009999999776482582
Value: Arrow
Topic: /model_car/odom
Unreliable: false
Value: true
- Angle Tolerance: 0
Class: rviz/Odometry
Covariance:
Orientation:
Alpha: 0.5
Color: 255; 255; 127
Color Style: Unique
Frame: Local
Offset: 1
Scale: 1
Value: true
Position:
Alpha: 0.30000001192092896
Color: 204; 51; 204
Scale: 1
Value: true
Value: false
Enabled: true
Keep: 1
Name: Odometry(1)
Position Tolerance: 0
Shape:
Alpha: 1
Axes Length: 1
Axes Radius: 0.10000000149011612
Color: 255; 25; 0
Head Length: 0.15000000596046448
Head Radius: 0.05000000074505806
Shaft Length: 0.5
Shaft Radius: 0.02500000037252903
Value: Arrow
Topic: /model_car/odom
Topic: /adc_car/odom
Unreliable: false
Value: true
Enabled: true
...
...
@@ -463,7 +392,7 @@ Visualization Manager:
Enabled: true
Name: RearCenterRange
Queue Size: 100
Topic: /
model
_car/sensors/range/rear_center_sonar
Topic: /
adc
_car/sensors/range/rear_center_sonar
Unreliable: false
Value: true
- Alpha: 0.5
...
...
@@ -473,7 +402,7 @@ Visualization Manager:
Enabled: true
Name: RearLeftRange
Queue Size: 100
Topic: /
model
_car/sensors/range/rear_left_sonar
Topic: /
adc
_car/sensors/range/rear_left_sonar
Unreliable: false
Value: true
- Alpha: 0.5
...
...
@@ -483,7 +412,7 @@ Visualization Manager:
Enabled: true
Name: RearRightRange
Queue Size: 100
Topic: /
model
_car/sensors/range/rear_right_sonar
Topic: /
adc
_car/sensors/range/rear_right_sonar
Unreliable: false
Value: true
- Alpha: 0.5
...
...
@@ -493,7 +422,7 @@ Visualization Manager:
Enabled: true
Name: SideLeftRange
Queue Size: 100
Topic: /
model
_car/sensors/range/side_left_sonar
Topic: /
adc
_car/sensors/range/side_left_sonar
Unreliable: false
Value: true
- Alpha: 0.5
...
...
@@ -503,10 +432,10 @@ Visualization Manager:
Enabled: true
Name: SideRightRange
Queue Size: 100
Topic: /
model
_car/sensors/range/side_right_sonar
Topic: /
adc
_car/sensors/range/side_right_sonar
Unreliable: false
Value: true
Enabled:
fals
e
Enabled:
tru
e
Name: Sonar
- Alpha: 1
Autocompute Intensity Bounds: true
...
...
@@ -533,7 +462,7 @@ Visualization Manager:
Size (Pixels): 3
Size (m): 0.009999999776482582
Style: Points
Topic: /
model
_car/sensors/scan
Topic: /
adc
_car/sensors/scan
Unreliable: false
Use Fixed Frame: true
Use rainbow: true
...
...
@@ -544,31 +473,31 @@ Visualization Manager:
Enabled: false
History Length: 2
Name: Imu
Topic: /
model
_car/sensors/imu_data
Topic: /
adc
_car/sensors/imu_data
Unreliable: false
Value: false
- Class: rviz/Image
Enabled: true
Image Topic: /
model
_car/sensors/basler_camera/image_raw
Image Topic: /
adc
_car/sensors/basler_camera/image_raw
Max Value: 1
Median window: 5
Min Value: 0
Name: FrontImage
Normalize Range: true
Queue Size: 2
Transport Hint:
compressed
Transport Hint:
raw
Unreliable: false
Value: true
- Class: rviz/Image
Enabled: true
Image Topic: /
model
_car/sensors/delock_camera/image_raw
Image Topic: /
adc
_car/sensors/delock_camera/image_raw
Max Value: 1
Median window: 5
Min Value: 0
Name: RearImage
Normalize Range: true
Queue Size: 2
Transport Hint:
compressed
Transport Hint:
raw
Unreliable: false
Value: true
Enabled: true
...
...
@@ -577,7 +506,7 @@ Visualization Manager:
Global Options:
Background Color: 48; 48; 48
Default Light: true
Fixed Frame: m
odel_car/odom
Fixed Frame: m
ap
Frame Rate: 30
Name: root
Tools:
...
...
@@ -616,20 +545,20 @@ Visualization Manager:
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.009999999776482582
Pitch: 0.
785
3981
852531433
Pitch: 0.
800
3981
709480286
Target Frame: base_link
Value: Orbit (rviz)
Yaw: 0.78
5
3981
852531433
Yaw: 0.78
0
3981
900215149
Saved: ~
Window Geometry:
Displays:
collapsed: false
FrontImage:
collapsed: false
Height: 10
2
5
Height: 105
2
Hide Left Dock: false
Hide Right Dock: false
QMainWindow State: 000000ff00000000fd000000040000000000000
156
000003
a7
fc0200000009fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d000003
a7
000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d00610067006501000002520000014e0000000000000000000000010000014f000003
a7
fc0200000008fb0000001400460072006f006e00740049006d006100670065010000003d000001d
1
0000001600fffffffb0000001200520065006100720049006d00610067006501000002
14
000001d
0
0000001600fffffffb0000001600530052003300300030005f0069006d0061006700650000000028000000b40000000000000000fb00000014006700700073005f00630061006d0065007200610000000028000001170000000000000000fb00000024004c0069006e00650044006500740065006300740069006f006e0049006d0061006700650000000028000002360000000000000000fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007300000001d70000020d000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000064f0000003efc0100000002fb0000000800540069006d006500000000000000064f000002eb00fffffffb0000000800540069006d00650100000000000004500000000000000000000004
8c
000003
a7
00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
QMainWindow State: 000000ff00000000fd000000040000000000000
20f
000003
c2
fc0200000009fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d000003
c2
000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d00610067006501000002520000014e0000000000000000000000010000014f000003
c2
fc0200000008fb0000001400460072006f006e00740049006d006100670065010000003d000001d
f
0000001600fffffffb0000001200520065006100720049006d00610067006501000002
22
000001d
d
0000001600fffffffb0000001600530052003300300030005f0069006d0061006700650000000028000000b40000000000000000fb00000014006700700073005f00630061006d0065007200610000000028000001170000000000000000fb00000024004c0069006e00650044006500740065006300740069006f006e0049006d0061006700650000000028000002360000000000000000fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007300000001d70000020d000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000064f0000003efc0100000002fb0000000800540069006d006500000000000000064f000002eb00fffffffb0000000800540069006d00650100000000000004500000000000000000000004
16
000003
c2
00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
RearImage:
collapsed: false
Selection:
...
...
@@ -640,6 +569,6 @@ Window Geometry:
collapsed: false
Views:
collapsed: false
Width: 1
853
X: 19
87
Y:
27
Width: 1
920
X: 19
20
Y:
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment