Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arm_bringup
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
Model registry
Operate
Environments
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
humanoides
tv3
arm
ROS
arm_bringup
Commits
c624617a
Commit
c624617a
authored
4 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Added arguments to the main launch file to enable/disable the use of the IMU and Joystick.
Updated the RVIZ file.
parent
21ec222b
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
launch/test.launch
+15
-10
15 additions, 10 deletions
launch/test.launch
rviz/arm2.rviz
+20
-15
20 additions, 15 deletions
rviz/arm2.rviz
with
35 additions
and
25 deletions
launch/test.launch
+
15
−
10
View file @
c624617a
...
...
@@ -6,6 +6,8 @@
<arg
name=
"launch_prefix"
default=
""
/>
<arg
name=
"device"
default=
"/dev/input/js0"
/>
<arg
name=
"rviz"
default=
"true"
/>
<arg
name=
"use_joy"
default=
"false"
/>
<arg
name=
"use_imu"
default=
"false"
/>
<include
file=
"$(find arm_description)/launch/description.launch"
>
<arg
name=
"namespace"
value=
"$(arg namespace)"
/>
...
...
@@ -29,20 +31,23 @@
type=
"joy_node"
name=
"joy_node"
output=
"$(arg output)"
launch-prefix=
"$(arg launch_prefix)"
>
launch-prefix=
"$(arg launch_prefix)"
if=
"$(arg use_joy)"
>
<rosparam
file=
"$(find arm_bringup)/config/$(arg namespace)_ps3_cable_teleop.yaml"
command=
"load"
/>
<param
name=
"dev"
value=
"$(arg device)"
/>
</node>
<include
file=
"$(find iri_bno055_imu_bringup)/launch/bno055_imu.launch"
>
<arg
name=
"config_file"
value=
"$(find arm_bringup)/config/$(arg namespace)_bno055.yaml"
/>
<arg
name=
"calibration_file"
value=
"$(find arm_bringup)/calibration/bno055.cal"
/>
<arg
name=
"node_name"
value=
"bno055_imu"
/>
<arg
name=
"output"
value=
"$(arg output)"
/>
<arg
name=
"launch_prefix"
value=
"$(arg launch_prefix)"
/>
<arg
name=
"imu_topic"
default=
"$(arg namespace)/imu"
/>
<arg
name=
"mag_topic"
default=
"$(arg namespace)/magnetometer"
/>
</include>
<group
if=
"$(arg use_imu)"
>
<include
file=
"$(find iri_bno055_imu_bringup)/launch/bno055_imu.launch"
>
<arg
name=
"config_file"
value=
"$(find arm_bringup)/config/$(arg namespace)_bno055.yaml"
/>
<arg
name=
"calibration_file"
value=
"$(find arm_bringup)/calibration/bno055.cal"
/>
<arg
name=
"node_name"
value=
"bno055_imu"
/>
<arg
name=
"output"
value=
"$(arg output)"
/>
<arg
name=
"launch_prefix"
value=
"$(arg launch_prefix)"
/>
<arg
name=
"imu_topic"
default=
"$(arg namespace)/imu"
/>
<arg
name=
"mag_topic"
default=
"$(arg namespace)/magnetometer"
/>
</include>
</group>
<node
name=
"rqt_reconfigure"
pkg =
"rqt_reconfigure"
...
...
This diff is collapsed.
Click to expand it.
rviz/arm2.rviz
+
20
−
15
View file @
c624617a
...
...
@@ -9,7 +9,7 @@ Panels:
- /TF1
- /RobotModel1
Splitter Ratio: 0.5
Tree Height:
565
Tree Height:
728
- Class: rviz/Selection
Name: Selection
- Class: rviz/Tool Properties
...
...
@@ -18,7 +18,7 @@ Panels:
- /2D Nav Goal1
- /Publish Point1
Name: Tool Properties
Splitter Ratio: 0.58867901
6
Splitter Ratio: 0.58867901
56364441
- Class: rviz/Views
Expanded:
- /Current View1
...
...
@@ -29,6 +29,8 @@ Panels:
Name: Time
SyncMode: 0
SyncSource: ""
Preferences:
PromptSaveOnExit: true
Toolbars:
toolButtonStyle: 2
Visualization Manager:
...
...
@@ -40,7 +42,7 @@ Visualization Manager:
Color: 160; 160; 164
Enabled: true
Line Style:
Line Width: 0.0299999993
Line Width: 0.0299999993
29447746
Value: Lines
Name: Grid
Normal Cell Count: 0
...
...
@@ -73,7 +75,7 @@ Visualization Manager:
Value: true
arm2/world:
Value: true
Marker Scale: 0.20000000
3
Marker Scale: 0.20000000
298023224
Name: TF
Show Arrows: true
Show Axes: true
...
...
@@ -158,7 +160,10 @@ Visualization Manager:
- Class: rviz/FocusCamera
- Class: rviz/Measure
- Class: rviz/SetInitialPose
Theta std deviation: 0.2617993950843811
Topic: /initialpose
X std deviation: 0.5
Y std deviation: 0.5
- Class: rviz/SetGoal
Topic: /move_base_simple/goal
- Class: rviz/PublishPoint
...
...
@@ -168,9 +173,9 @@ Visualization Manager:
Views:
Current:
Class: rviz/Orbit
Distance:
1
0
Distance: 0
.9501243829727173
Enable Stereo Rendering:
Stereo Eye Separation: 0.059999998
7
Stereo Eye Separation: 0.059999998
65889549
Stereo Focal Distance: 1
Swap Stereo Eyes: false
Value: false
...
...
@@ -179,22 +184,22 @@ Visualization Manager:
Y: 0
Z: 0
Focal Shape Fixed Size: true
Focal Shape Size: 0.0500000007
Focal Shape Size: 0.0500000007
4505806
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.0099999997
8
Pitch: 0.785398006
Near Clip Distance: 0.0099999997
76482582
Pitch: 0.785398006
439209
Target Frame: <Fixed Frame>
Value: Orbit (rviz)
Yaw: 0.785398006
Yaw: 0.785398006
439209
Saved: ~
Window Geometry:
Displays:
collapsed: false
Height:
846
Height:
1025
Hide Left Dock: false
Hide Right Dock: false
QMainWindow State: 000000ff00000000fd00000004000000000000016a00000
2c4
fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b000000
61
00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c00610079007301000000
28
00000
2c4
000000
d7
00fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f00000
2c4
fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007301000000
28
00000
2c4
000000a
d
00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000
4b0
0000003efc0100000002fb0000000800540069006d0065010000000000000
4b000000300
00fffffffb0000000800540069006d0065010000000000000450000000000000000000000
22b
00000
2c4
00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
QMainWindow State: 000000ff00000000fd00000004000000000000016a00000
363
fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b000000
5c
00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c00610079007301000000
3d
00000
363
000000
c9
00fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f00000
363
fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a0056006900650077007301000000
3d
00000
363
000000a
4
00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000
73d
0000003efc0100000002fb0000000800540069006d0065010000000000000
73d000002eb
00fffffffb0000000800540069006d0065010000000000000450000000000000000000000
4b8
00000
363
00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Selection:
collapsed: false
Time:
...
...
@@ -203,6 +208,6 @@ Window Geometry:
collapsed: false
Views:
collapsed: false
Width: 1
200
X: 6
5
Y:
60
Width: 1
853
X: 6
7
Y:
27
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