Skip to content

Commit 1418c85

Browse files
rrsrchthomasonzhou
authored andcommitted
Add openarm_grip_description and openarm_moveit_config
0 parents  commit 1418c85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1839
-0
lines changed

LICENSE

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2025, Reazon Holdings, Inc.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright
13+
notice, this list of conditions and the following disclaimer in the
14+
documentation and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30+
POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ROS integration for OpenArm robots
2+
3+
- openarm_grip_description: urdf with gripper actuator
4+
- openarm_moveit_config: motion planning with [moveit2](https://github.com/moveit/moveit2)
5+
6+
## License
7+
8+
All packages of `openarm_ros` are licensed under the [BSD-3-Clause](https://opensource.org/license/bsd-3-clause).
Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
Panels:
2+
- Class: rviz_common/Displays
3+
Help Height: 138
4+
Name: Displays
5+
Property Tree Widget:
6+
Expanded:
7+
- /Global Options1
8+
- /Status1
9+
- /RobotModel1
10+
- /RobotModel1/Description Topic1
11+
Splitter Ratio: 0.5
12+
Tree Height: 1025
13+
- Class: rviz_common/Selection
14+
Name: Selection
15+
- Class: rviz_common/Tool Properties
16+
Expanded:
17+
- /2D Goal Pose1
18+
- /Publish Point1
19+
Name: Tool Properties
20+
Splitter Ratio: 0.5886790156364441
21+
- Class: rviz_common/Views
22+
Expanded:
23+
- /Current View1
24+
Name: Views
25+
Splitter Ratio: 0.5
26+
- Class: rviz_common/Time
27+
Experimental: false
28+
Name: Time
29+
SyncMode: 0
30+
SyncSource: ""
31+
Visualization Manager:
32+
Class: ""
33+
Displays:
34+
- Alpha: 0.5
35+
Cell Size: 1
36+
Class: rviz_default_plugins/Grid
37+
Color: 160; 160; 164
38+
Enabled: true
39+
Line Style:
40+
Line Width: 0.029999999329447746
41+
Value: Lines
42+
Name: Grid
43+
Normal Cell Count: 0
44+
Offset:
45+
X: 0
46+
Y: 0
47+
Z: 0
48+
Plane: XY
49+
Plane Cell Count: 10
50+
Reference Frame: <Fixed Frame>
51+
Value: true
52+
- Alpha: 1
53+
Class: rviz_default_plugins/RobotModel
54+
Collision Enabled: false
55+
Description File: ""
56+
Description Source: Topic
57+
Description Topic:
58+
Depth: 5
59+
Durability Policy: Volatile
60+
History Policy: Keep Last
61+
Reliability Policy: Reliable
62+
Value: /robot_description
63+
Enabled: true
64+
Links:
65+
All Links Enabled: true
66+
Expand Joint Details: false
67+
Expand Link Details: false
68+
Expand Tree: false
69+
J2_v1_1:
70+
Alpha: 1
71+
Show Axes: false
72+
Show Trail: false
73+
Value: true
74+
J3_v1_1:
75+
Alpha: 1
76+
Show Axes: false
77+
Show Trail: false
78+
Value: true
79+
J4_v1_1:
80+
Alpha: 1
81+
Show Axes: false
82+
Show Trail: false
83+
Value: true
84+
J5_v1_1:
85+
Alpha: 1
86+
Show Axes: false
87+
Show Trail: false
88+
Value: true
89+
J6_v1_1:
90+
Alpha: 1
91+
Show Axes: false
92+
Show Trail: false
93+
Value: true
94+
J7_v1_1:
95+
Alpha: 1
96+
Show Axes: false
97+
Show Trail: false
98+
Value: true
99+
Link Tree Style: Links in Alphabetic Order
100+
base_link:
101+
Alpha: 1
102+
Show Axes: false
103+
Show Trail: false
104+
Value: true
105+
dummy:
106+
Alpha: 1
107+
Show Axes: false
108+
Show Trail: false
109+
grip_attach_1:
110+
Alpha: 1
111+
Show Axes: false
112+
Show Trail: false
113+
Value: true
114+
left_jaw_1:
115+
Alpha: 1
116+
Show Axes: false
117+
Show Trail: false
118+
Value: true
119+
right_jaw_1:
120+
Alpha: 1
121+
Show Axes: false
122+
Show Trail: false
123+
Value: true
124+
Mass Properties:
125+
Inertia: false
126+
Mass: false
127+
Name: RobotModel
128+
TF Prefix: ""
129+
Update Interval: 0
130+
Value: true
131+
Visual Enabled: true
132+
Enabled: true
133+
Global Options:
134+
Background Color: 48; 48; 48
135+
Fixed Frame: base_link
136+
Frame Rate: 30
137+
Name: root
138+
Tools:
139+
- Class: rviz_default_plugins/Interact
140+
Hide Inactive Objects: true
141+
- Class: rviz_default_plugins/MoveCamera
142+
- Class: rviz_default_plugins/Select
143+
- Class: rviz_default_plugins/FocusCamera
144+
- Class: rviz_default_plugins/Measure
145+
Line color: 128; 128; 0
146+
- Class: rviz_default_plugins/SetInitialPose
147+
Covariance x: 0.25
148+
Covariance y: 0.25
149+
Covariance yaw: 0.06853891909122467
150+
Topic:
151+
Depth: 5
152+
Durability Policy: Volatile
153+
History Policy: Keep Last
154+
Reliability Policy: Reliable
155+
Value: /initialpose
156+
- Class: rviz_default_plugins/SetGoal
157+
Topic:
158+
Depth: 5
159+
Durability Policy: Volatile
160+
History Policy: Keep Last
161+
Reliability Policy: Reliable
162+
Value: /goal_pose
163+
- Class: rviz_default_plugins/PublishPoint
164+
Single click: true
165+
Topic:
166+
Depth: 5
167+
Durability Policy: Volatile
168+
History Policy: Keep Last
169+
Reliability Policy: Reliable
170+
Value: /clicked_point
171+
Transformation:
172+
Current:
173+
Class: rviz_default_plugins/TF
174+
Value: true
175+
Views:
176+
Current:
177+
Class: rviz_default_plugins/Orbit
178+
Distance: 0.8663532137870789
179+
Enable Stereo Rendering:
180+
Stereo Eye Separation: 0.05999999865889549
181+
Stereo Focal Distance: 1
182+
Swap Stereo Eyes: false
183+
Value: false
184+
Focal Point:
185+
X: 0
186+
Y: 0
187+
Z: 0
188+
Focal Shape Fixed Size: true
189+
Focal Shape Size: 0.05000000074505806
190+
Invert Z Axis: false
191+
Name: Current View
192+
Near Clip Distance: 0.009999999776482582
193+
Pitch: 0.5453979969024658
194+
Target Frame: <Fixed Frame>
195+
Value: Orbit (rviz)
196+
Yaw: 0.7153980731964111
197+
Saved: ~
198+
Window Geometry:
199+
Displays:
200+
collapsed: false
201+
Height: 1531
202+
Hide Left Dock: false
203+
Hide Right Dock: false
204+
QMainWindow State: 000000ff00000000fd0000000400000000000001f4000004f9fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b000000b000fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000006e000004f90000018200fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000015d000004f9fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000006e000004f90000013200fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000a970000005afc0100000002fb0000000800540069006d0065010000000000000a970000047a00fffffffb0000000800540069006d006501000000000000045000000000000000000000072e000004f900000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
205+
Selection:
206+
collapsed: false
207+
Time:
208+
collapsed: false
209+
Tool Properties:
210+
collapsed: false
211+
Views:
212+
collapsed: false
213+
Width: 2711
214+
X: 60
215+
Y: 64
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import os
2+
import launch
3+
import launch_ros
4+
import xacro
5+
6+
from ament_index_python import get_package_share_directory
7+
8+
def get_package_file(package, file_path):
9+
"""Get the location of a file installed in an ament package"""
10+
package_path = get_package_share_directory(package)
11+
absolute_file_path = os.path.join(package_path, file_path)
12+
return absolute_file_path
13+
14+
def generate_launch_description():
15+
xacro_file = get_package_file('openarm_grip_description', 'urdf/openarm_grip.xacro')
16+
urdf = xacro.process_file(xacro_file).toprettyxml(indent=' ')
17+
rviz_config_file = get_package_file('openarm_grip_description', 'config/display.rviz')
18+
19+
return launch.LaunchDescription([
20+
launch_ros.actions.Node(
21+
name='robot_state_publisher',
22+
package='robot_state_publisher',
23+
executable='robot_state_publisher',
24+
output='screen',
25+
parameters=[{'robot_description': urdf}],
26+
),
27+
launch_ros.actions.Node(
28+
name='joint_state_publisher_gui',
29+
package='joint_state_publisher_gui',
30+
executable='joint_state_publisher_gui',
31+
output='screen',
32+
),
33+
launch_ros.actions.Node(
34+
name='rviz',
35+
package='rviz2',
36+
executable='rviz2',
37+
output='screen',
38+
arguments=['-d', rviz_config_file]
39+
)
40+
])
939 KB
Binary file not shown.
2.64 MB
Binary file not shown.
2.18 MB
Binary file not shown.
1.7 MB
Binary file not shown.
2.56 MB
Binary file not shown.
1.31 MB
Binary file not shown.

0 commit comments

Comments
 (0)