Datasets:
Add RoboClock rendering assets (lab, household, healthcare, sports, industry) (part 5)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +60 -0
- src/robogym/envs/household/assets/x5/reused/toast.png +3 -0
- src/robogym/envs/household/assets/x5/reused/toast.usda +77 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/LICENSE +21 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/README.md +228 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/include/app/config.h +373 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/X5.urdf +250 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/base_link.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link1.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link2.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link3.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link4.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link5.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link6.STL +3 -0
- src/robogym/envs/household/assets/x5/robot/arx5-sdk/source_manifest.json +62 -0
- src/robogym/envs/household/assets/x5/robot/visual/base_link.usdc +3 -0
- src/robogym/envs/household/assets/x5/robot/visual/link1.usdc +0 -0
- src/robogym/envs/household/assets/x5/robot/visual/link2.usdc +3 -0
- src/robogym/envs/household/assets/x5/robot/visual/link3.usdc +3 -0
- src/robogym/envs/household/assets/x5/robot/visual/link4.usdc +0 -0
- src/robogym/envs/household/assets/x5/robot/visual/link5.usdc +3 -0
- src/robogym/envs/household/assets/x5/robot/visual/link6.usdc +3 -0
- src/robogym/envs/household/assets/x5/robot/visual/link6_jawN.usdc +0 -0
- src/robogym/envs/household/assets/x5/robot/visual/link6_jawP.usdc +0 -0
- src/robogym/envs/household/assets/x5/robot/visual/link6_palm.usdc +3 -0
- src/robogym/envs/household/assets/x5/textures/HDR_LICENSE.txt +6 -0
- src/robogym/envs/household/assets/x5/textures/card_A4_recipe.png +3 -0
- src/robogym/envs/household/assets/x5/textures/card_C1_orders.png +3 -0
- src/robogym/envs/household/assets/x5/textures/card_C2_orders.png +3 -0
- src/robogym/envs/household/assets/x5/textures/card_C3_seating.png +3 -0
- src/robogym/envs/household/assets/x5/textures/cheese_toast_initial.png +3 -0
- src/robogym/envs/household/assets/x5/textures/flame.png +3 -0
- src/robogym/envs/household/assets/x5/textures/flame_alpha.npy +3 -0
- src/robogym/envs/household/assets/x5/textures/french_toast_raw.png +3 -0
- src/robogym/envs/household/assets/x5/textures/gas_flame_ring.png +3 -0
- src/robogym/envs/household/assets/x5/textures/jug_graduations.png +3 -0
- src/robogym/envs/household/assets/x5/textures/mat.png +3 -0
- src/robogym/envs/household/assets/x5/textures/meal_curry.png +3 -0
- src/robogym/envs/household/assets/x5/textures/meal_pasta.png +3 -0
- src/robogym/envs/household/assets/x5/textures/meal_rice.png +3 -0
- src/robogym/envs/household/assets/x5/textures/meal_soup.png +3 -0
- src/robogym/envs/household/assets/x5/textures/pancake_top_first_side.png +3 -0
- src/robogym/envs/household/assets/x5/textures/sauce_stain.png +3 -0
- src/robogym/envs/household/assets/x5/textures/scale_display_0g.png +3 -0
- src/robogym/envs/household/assets/x5/textures/scale_display_blank.png +3 -0
- src/robogym/envs/household/assets/x5/textures/smoke_alpha.png +3 -0
- src/robogym/envs/household/assets/x5/textures/smoke_wisps.png +3 -0
- src/robogym/envs/household/assets/x5/textures/studio_small_09_1k.hdr +3 -0
- src/robogym/envs/household/assets/x5/textures/toast_overdone.png +3 -0
- src/robogym/envs/lab/assets/arx_x5/arx_x5.urdf +263 -0
.gitattributes
CHANGED
|
@@ -230,3 +230,63 @@ src/robogym/envs/household/assets/x5/objects/tray_1/tray_1.usdc filter=lfs diff=
|
|
| 230 |
src/robogym/envs/household/assets/x5/reused/bowl.usd filter=lfs diff=lfs merge=lfs -text
|
| 231 |
src/robogym/envs/household/assets/x5/reused/mug.usd filter=lfs diff=lfs merge=lfs -text
|
| 232 |
src/robogym/envs/household/assets/x5/reused/spoon/spoon_2.usd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
src/robogym/envs/household/assets/x5/reused/bowl.usd filter=lfs diff=lfs merge=lfs -text
|
| 231 |
src/robogym/envs/household/assets/x5/reused/mug.usd filter=lfs diff=lfs merge=lfs -text
|
| 232 |
src/robogym/envs/household/assets/x5/reused/spoon/spoon_2.usd filter=lfs diff=lfs merge=lfs -text
|
| 233 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/base_link.STL filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link1.STL filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link2.STL filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link3.STL filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link4.STL filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link5.STL filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link6.STL filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
src/robogym/envs/household/assets/x5/robot/visual/base_link.usdc filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
src/robogym/envs/household/assets/x5/robot/visual/link2.usdc filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
src/robogym/envs/household/assets/x5/robot/visual/link3.usdc filter=lfs diff=lfs merge=lfs -text
|
| 243 |
+
src/robogym/envs/household/assets/x5/robot/visual/link5.usdc filter=lfs diff=lfs merge=lfs -text
|
| 244 |
+
src/robogym/envs/household/assets/x5/robot/visual/link6.usdc filter=lfs diff=lfs merge=lfs -text
|
| 245 |
+
src/robogym/envs/household/assets/x5/robot/visual/link6_palm.usdc filter=lfs diff=lfs merge=lfs -text
|
| 246 |
+
src/robogym/envs/household/assets/x5/textures/studio_small_09_1k.hdr filter=lfs diff=lfs merge=lfs -text
|
| 247 |
+
src/robogym/envs/lab/assets/arx_x5/arx_x5.usd filter=lfs diff=lfs merge=lfs -text
|
| 248 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/base_link.STL filter=lfs diff=lfs merge=lfs -text
|
| 249 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link1.STL filter=lfs diff=lfs merge=lfs -text
|
| 250 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link2.STL filter=lfs diff=lfs merge=lfs -text
|
| 251 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link3.STL filter=lfs diff=lfs merge=lfs -text
|
| 252 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link4.STL filter=lfs diff=lfs merge=lfs -text
|
| 253 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link5.STL filter=lfs diff=lfs merge=lfs -text
|
| 254 |
+
src/robogym/envs/lab/assets/arx_x5/meshes/link6.STL filter=lfs diff=lfs merge=lfs -text
|
| 255 |
+
src/robogym/envs/lab/assets/darkroom/1-reel-tube.stl filter=lfs diff=lfs merge=lfs -text
|
| 256 |
+
src/robogym/envs/lab/assets/knife_switch/source.glb filter=lfs diff=lfs merge=lfs -text
|
| 257 |
+
src/robogym/envs/sports/arcade/assets/chess/black_bishop.usdc filter=lfs diff=lfs merge=lfs -text
|
| 258 |
+
src/robogym/envs/sports/arcade/assets/chess/black_king.usdc filter=lfs diff=lfs merge=lfs -text
|
| 259 |
+
src/robogym/envs/sports/arcade/assets/chess/black_knight.usdc filter=lfs diff=lfs merge=lfs -text
|
| 260 |
+
src/robogym/envs/sports/arcade/assets/chess/black_queen.usdc filter=lfs diff=lfs merge=lfs -text
|
| 261 |
+
src/robogym/envs/sports/arcade/assets/chess/black_rook.usdc filter=lfs diff=lfs merge=lfs -text
|
| 262 |
+
src/robogym/envs/sports/arcade/assets/chess/chess_set_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 263 |
+
src/robogym/envs/sports/arcade/assets/chess/white_bishop.usdc filter=lfs diff=lfs merge=lfs -text
|
| 264 |
+
src/robogym/envs/sports/arcade/assets/chess/white_king.usdc filter=lfs diff=lfs merge=lfs -text
|
| 265 |
+
src/robogym/envs/sports/arcade/assets/chess/white_knight.usdc filter=lfs diff=lfs merge=lfs -text
|
| 266 |
+
src/robogym/envs/sports/arcade/assets/chess/white_queen.usdc filter=lfs diff=lfs merge=lfs -text
|
| 267 |
+
src/robogym/envs/sports/arcade/assets/chess/white_rook.usdc filter=lfs diff=lfs merge=lfs -text
|
| 268 |
+
src/robogym/envs/sports/arcade/assets/desk_lamp_arm_01/desk_lamp_arm_01_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 269 |
+
src/robogym/envs/sports/arcade/assets/desk_lamp_arm_01/textures/desk_lamp_arm_01_metal_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 270 |
+
src/robogym/envs/sports/arcade/assets/desk_lamp_arm_01/textures/desk_lamp_arm_01_nor_gl_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 271 |
+
src/robogym/envs/sports/arcade/assets/desk_lamp_arm_01/textures/desk_lamp_arm_01_rough_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 272 |
+
src/robogym/envs/sports/arcade/assets/dining_chair_02/dining_chair_02_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 273 |
+
src/robogym/envs/sports/arcade/assets/dining_chair_02/textures/dining_chair_02_nor_gl_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 274 |
+
src/robogym/envs/sports/arcade/assets/dining_chair_02/textures/dining_chair_02_rough_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 275 |
+
src/robogym/envs/sports/arcade/assets/potted_plant_02/potted_plant_02_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 276 |
+
src/robogym/envs/sports/arcade/assets/side_table_01/side_table_01_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 277 |
+
src/robogym/envs/sports/arcade/assets/side_table_01/textures/side_table_01_nor_gl_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 278 |
+
src/robogym/envs/sports/arcade/assets/side_table_01/textures/side_table_01_rough_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 279 |
+
src/robogym/envs/sports/arcade/assets/wooden_hammer_01/textures/wooden_hammer_01_metal_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 280 |
+
src/robogym/envs/sports/arcade/assets/wooden_hammer_01/textures/wooden_hammer_01_nor_gl_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 281 |
+
src/robogym/envs/sports/arcade/assets/wooden_hammer_01/textures/wooden_hammer_01_rough_1k.exr filter=lfs diff=lfs merge=lfs -text
|
| 282 |
+
src/robogym/envs/sports/arcade/assets/wooden_hammer_01/wooden_hammer_01_1k.usdc filter=lfs diff=lfs merge=lfs -text
|
| 283 |
+
src/robogym/envs/sports/bench_press/assets/human/biped_demo_meters.usd filter=lfs diff=lfs merge=lfs -text
|
| 284 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/base_link.STL filter=lfs diff=lfs merge=lfs -text
|
| 285 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link1.STL filter=lfs diff=lfs merge=lfs -text
|
| 286 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link2.STL filter=lfs diff=lfs merge=lfs -text
|
| 287 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link3.STL filter=lfs diff=lfs merge=lfs -text
|
| 288 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link4.STL filter=lfs diff=lfs merge=lfs -text
|
| 289 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link5.STL filter=lfs diff=lfs merge=lfs -text
|
| 290 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/manufacturer/meshes/link6.STL filter=lfs diff=lfs merge=lfs -text
|
| 291 |
+
src/robogym/envs/sports/common/assets/dual_arx_x5/usd/dual_arx_x5/payloads/geometries.usd filter=lfs diff=lfs merge=lfs -text
|
| 292 |
+
src/robogym/envs/sports/common/assets/robolab/hot3d/dumbbell.usd filter=lfs diff=lfs merge=lfs -text
|
src/robogym/envs/household/assets/x5/reused/toast.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/reused/toast.usda
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#usda 1.0
|
| 2 |
+
(
|
| 3 |
+
defaultPrim = "toast"
|
| 4 |
+
metersPerUnit = 1
|
| 5 |
+
upAxis = "Z"
|
| 6 |
+
)
|
| 7 |
+
|
| 8 |
+
def Xform "toast" (
|
| 9 |
+
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsMassAPI"]
|
| 10 |
+
)
|
| 11 |
+
{
|
| 12 |
+
float physics:mass = 0.025
|
| 13 |
+
|
| 14 |
+
def "Looks"
|
| 15 |
+
{
|
| 16 |
+
def Material "Bread"
|
| 17 |
+
{
|
| 18 |
+
token outputs:surface.connect = </toast/Looks/Bread/Surface.outputs:surface>
|
| 19 |
+
|
| 20 |
+
def Shader "Surface"
|
| 21 |
+
{
|
| 22 |
+
uniform token info:id = "UsdPreviewSurface"
|
| 23 |
+
color3f inputs:diffuseColor = (0.78, 0.61, 0.34)
|
| 24 |
+
color3f inputs:diffuseColor.connect = </toast/Looks/Bread/Texture.outputs:rgb>
|
| 25 |
+
float inputs:metallic = 0
|
| 26 |
+
float inputs:opacity = 1
|
| 27 |
+
float inputs:roughness = 0.92
|
| 28 |
+
token outputs:surface
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
def Shader "UV"
|
| 32 |
+
{
|
| 33 |
+
uniform token info:id = "UsdPrimvarReader_float2"
|
| 34 |
+
token inputs:varname = "st"
|
| 35 |
+
float2 outputs:result
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
def Shader "Texture"
|
| 39 |
+
{
|
| 40 |
+
uniform token info:id = "UsdUVTexture"
|
| 41 |
+
asset inputs:file = @toast.png@
|
| 42 |
+
token inputs:sourceColorSpace = "sRGB"
|
| 43 |
+
float2 inputs:st.connect = </toast/Looks/Bread/UV.outputs:result>
|
| 44 |
+
color3f outputs:rgb
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
def Mesh "Crumb" (
|
| 50 |
+
prepend apiSchemas = ["MaterialBindingAPI"]
|
| 51 |
+
)
|
| 52 |
+
{
|
| 53 |
+
uniform bool doubleSided = 1
|
| 54 |
+
int[] faceVertexCounts = [14, 14, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
|
| 55 |
+
int[] faceVertexIndices = [13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 1, 15, 14, 1, 2, 16, 15, 2, 3, 17, 16, 3, 4, 18, 17, 4, 5, 19, 18, 5, 6, 20, 19, 6, 7, 21, 20, 7, 8, 22, 21, 8, 9, 23, 22, 9, 10, 24, 23, 10, 11, 25, 24, 11, 12, 26, 25, 12, 13, 27, 26, 13, 0, 14, 27]
|
| 56 |
+
rel material:binding = </toast/Looks/Bread>
|
| 57 |
+
point3f[] points = [(-0.032, -0.045, -0.009), (0.032, -0.045, -0.009), (0.036, -0.041, -0.009), (0.036, 0.023, -0.009), (0.032, 0.025, -0.009), (0.036, 0.035, -0.009), (0.031, 0.042, -0.009), (0.018, 0.045, -0.009), (-0.018, 0.045, -0.009), (-0.031, 0.042, -0.009), (-0.036, 0.035, -0.009), (-0.032, 0.025, -0.009), (-0.036, 0.023, -0.009), (-0.036, -0.041, -0.009), (-0.032, -0.045, 0.009), (0.032, -0.045, 0.009), (0.036, -0.041, 0.009), (0.036, 0.023, 0.009), (0.032, 0.025, 0.009), (0.036, 0.035, 0.009), (0.031, 0.042, 0.009), (0.018, 0.045, 0.009), (-0.018, 0.045, 0.009), (-0.031, 0.042, 0.009), (-0.036, 0.035, 0.009), (-0.032, 0.025, 0.009), (-0.036, 0.023, 0.009), (-0.036, -0.041, 0.009)]
|
| 58 |
+
texCoord2f[] primvars:st = [(0.055555556, 0), (0.9444444, 0), (1, 0.044444446), (1, 0.75555557), (0.9444444, 0.7777778), (1, 0.8888889), (0.9305556, 0.96666664), (0.75, 1), (0.25, 1), (0.06944445, 0.96666664), (0, 0.8888889), (0.055555556, 0.7777778), (0, 0.75555557), (0, 0.044444446), (0.055555556, 0), (0.9444444, 0), (1, 0.044444446), (1, 0.75555557), (0.9444444, 0.7777778), (1, 0.8888889), (0.9305556, 0.96666664), (0.75, 1), (0.25, 1), (0.06944445, 0.96666664), (0, 0.8888889), (0.055555556, 0.7777778), (0, 0.75555557), (0, 0.044444446)] (
|
| 59 |
+
interpolation = "vertex"
|
| 60 |
+
)
|
| 61 |
+
uniform token subdivisionScheme = "none"
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
def Mesh "Collider" (
|
| 65 |
+
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"]
|
| 66 |
+
)
|
| 67 |
+
{
|
| 68 |
+
uniform bool doubleSided = 1
|
| 69 |
+
int[] faceVertexCounts = [14, 14, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
|
| 70 |
+
int[] faceVertexIndices = [13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 1, 15, 14, 1, 2, 16, 15, 2, 3, 17, 16, 3, 4, 18, 17, 4, 5, 19, 18, 5, 6, 20, 19, 6, 7, 21, 20, 7, 8, 22, 21, 8, 9, 23, 22, 9, 10, 24, 23, 10, 11, 25, 24, 11, 12, 26, 25, 12, 13, 27, 26, 13, 0, 14, 27]
|
| 71 |
+
uniform token physics:approximation = "convexHull"
|
| 72 |
+
point3f[] points = [(-0.032, -0.045, -0.009), (0.032, -0.045, -0.009), (0.036, -0.041, -0.009), (0.036, 0.023, -0.009), (0.032, 0.025, -0.009), (0.036, 0.035, -0.009), (0.031, 0.042, -0.009), (0.018, 0.045, -0.009), (-0.018, 0.045, -0.009), (-0.031, 0.042, -0.009), (-0.036, 0.035, -0.009), (-0.032, 0.025, -0.009), (-0.036, 0.023, -0.009), (-0.036, -0.041, -0.009), (-0.032, -0.045, 0.009), (0.032, -0.045, 0.009), (0.036, -0.041, 0.009), (0.036, 0.023, 0.009), (0.032, 0.025, 0.009), (0.036, 0.035, 0.009), (0.031, 0.042, 0.009), (0.018, 0.045, 0.009), (-0.018, 0.045, 0.009), (-0.031, 0.042, 0.009), (-0.036, 0.035, 0.009), (-0.032, 0.025, 0.009), (-0.036, 0.023, 0.009), (-0.036, -0.041, 0.009)]
|
| 73 |
+
uniform token subdivisionScheme = "none"
|
| 74 |
+
token visibility = "invisible"
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2024 Yihuai Gao
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/README.md
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# C++ && Python Controller for ARX5 Robot Arm
|
| 2 |
+
|
| 3 |
+
## Safety-Related Configs
|
| 4 |
+
|
| 5 |
+
- The safety checks in this controller are implemented through joint position, velocity, and torque limits. However, there is a trade-off between safety and reactiveness when setting these limits. To achieve a reasonable precision for our experiements, **the default values are insufficient to guarantee safety when the robot is close to singularity or the input control signal includes a lot of noise**.
|
| 6 |
+
- We highly recommend that users should **apply safety checks before sending control signals** (joint/eef) to the controller
|
| 7 |
+
- Users could also modify the limit values of the joint velocity at their early stage of deployment. Please change the config values before instantiating the controller in python, similar to [this example](https://github.com/real-stanford/arx5-sdk/blob/709f7ab7429f97c83e18687e650f3ee77d14719a/python/examples/test_joint_control.py#L31). You need to set the values with a new numpy array, e.g. `robot_config.joint_vel_max=np.array([2,2,2,2,2,2])`, rather than indexing some of the existing values `robot_config.joint_vel_max[0]=2.0`, which will raise an error.
|
| 8 |
+
|
| 9 |
+
## Update (2026.07.15)
|
| 10 |
+
- [pypi version 0.1.3 for x86_64](https://pypi.org/project/arx5-interface/0.1.3/) [0.1.4 for aarch64](https://pypi.org/project/arx5-interface/0.1.4/) Fix the gripper over-current protection for robots with a reversed gripper motor direction (`gripper_open_readout < 0`, e.g. X5 2025 with the AC one gripper), where the torque reading sign is flipped and the protection was applied in the wrong direction. Thanks [Zhiming Xu](https://github.com/Mr-Wonderfool) for reporting and fixing this issue.
|
| 11 |
+
|
| 12 |
+
## Major Update (2026.03.20)
|
| 13 |
+
- Enable direct pip install for both `x86_64` and `aarch64` platforms, supporting python 3.8~3.14. You may use `pip install arx5-interface` to install the package without any conda / system dependencies. If you need to updated any C++ files, you may also run `wheels/build_wheel_single_ver.sh` to build the wheel for your specific python version and directly install this wheel in pip or uv.
|
| 14 |
+
- Set the gripper home position to be the fully opened position. To keep using the closed position as home, you may set the `target_state.gripper_pos` to 0 in `src/app/controller_base.cpp:187`.
|
| 15 |
+
- Use relative path for the `urdf_path` in `include/app/config.h` based on the dynamic library loading path. Thanks [Jimmy Wu](https://jimmyyhwu.github.io/) for the PR.
|
| 16 |
+
|
| 17 |
+
## Update (2026.01.11)
|
| 18 |
+
- In some recent robot models, the gripper motor is mounted in a different direction, which will lead to error: "Gripper position error: got xxx but should be in xxx". Please set the `robot_config.gripper_open_readout` to a negative number and it should work normally. According to a github issue, a typical readout might be `gripper_open_readout=-3.4` and `robot_config.gripper_width=0.082`. If the readout gripper width is inaccurate, you may also calibrate yourself in `python/examples/calibrate.py`
|
| 19 |
+
|
| 20 |
+
Other Update Logs: Please refer to [update_logs.md](update_logs.md) for more details.
|
| 21 |
+
|
| 22 |
+
## Features
|
| 23 |
+
- Run without ROS
|
| 24 |
+
- No `sudo` requirement for building the library (all dependencies are managed under conda environment, thanks to [Cheng Chi](https://cheng-chi.github.io/))
|
| 25 |
+
- Simple python interface with complete type hints (see `python/arx5_interface.pyi`, please include it into your vscode config `"python.analysis.extraPaths"`)
|
| 26 |
+
- Joint controller runs at 500Hz in the background (motor communication delay ~0.4ms)
|
| 27 |
+
- Cartesian space controller with keyboard and SpaceMouse tele-operation and teach-replay (thanks to [Cheng Chi](https://cheng-chi.github.io/))
|
| 28 |
+
- Control multiple arms in the same process through C++ multi-threading (much better than Python multi-processing)
|
| 29 |
+
|
| 30 |
+
## Build & Install
|
| 31 |
+
|
| 32 |
+
### pip install (Recommended)
|
| 33 |
+
|
| 34 |
+
You may use `pip install arx5-interface` to install the package without any conda / system dependencies. If you have already build the package inside the conda environment, you need to delete the existing `.so` file under `python` folder to ensure the pip wheel is being used.
|
| 35 |
+
|
| 36 |
+
If you encounter error "ERROR: No matching distribution found for arx5-interface", please upgrade pip by `pip install --upgrade pip` and try again.
|
| 37 |
+
|
| 38 |
+
If you need to updated any C++ files, you may also run `wheels/build_wheel_single_ver.sh` to build the wheel for your specific python version and directly install this wheel.
|
| 39 |
+
|
| 40 |
+
If you only need to update the config values, you don't need to change any C++ code. Please refer to `python/examples/test_joint_control.py` and `python/examples/spacemouse_teleop.py` to use `robot_config` and `controller_config` before instantiating the controller.
|
| 41 |
+
|
| 42 |
+
### Build from source (Legacy)
|
| 43 |
+
|
| 44 |
+
We set up a conda environment for all the cmake dependencies, so no system package is required. If you want to run `cmake` and `make` after modifying the C++ source files, please make sure you are under the created conda environment (`arx-py310` etc.).
|
| 45 |
+
|
| 46 |
+
We recommend [mamba](https://github.com/conda-forge/miniforge?tab=readme-ov-file#install) for creating conda environments, which takes only about 1min. You can also use `conda`, but it takes significantly longer (~10min).
|
| 47 |
+
|
| 48 |
+
``` sh
|
| 49 |
+
mamba env create -f conda_environments/py310_environment.yaml
|
| 50 |
+
# if you do not have mamba, you can also use conda, which takes significantly longer
|
| 51 |
+
# Currently available python versions: 3.8, 3.9, 3.10, 3.11, 3.12
|
| 52 |
+
conda activate arx-py310
|
| 53 |
+
mkdir build && cd build
|
| 54 |
+
cmake ..
|
| 55 |
+
make -j
|
| 56 |
+
# At this point, you should be able to run test scripts below.
|
| 57 |
+
```
|
| 58 |
+
``` sh
|
| 59 |
+
# To install the C++ package your system, run:
|
| 60 |
+
make install
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
## EtherCAT-CAN setup
|
| 64 |
+
|
| 65 |
+
Use a USB cable to power the EtherCAT-CAN adapter and an ethernet cable to connect it to your computer. After running `ip a` in your terminal, you should find the interface name, usually `eth.` (existing ethernet port) or `en..........` (additional USB-Ethernet adapters).
|
| 66 |
+
|
| 67 |
+
Then you should enable the ethernet access of your Python interpreter (usually in your `bin` folder). Note that `which python` usually gives you a symbolic link (say `~/miniforge3/envs/arx-py310/bin/python`) and doesn't work in this case. You need to find out the actual file (usually `python3.x`).
|
| 68 |
+
```sh
|
| 69 |
+
mamba activate arx-py310
|
| 70 |
+
ls -l $(which python)
|
| 71 |
+
sudo setcap "cap_net_admin,cap_net_raw=eip" your/path/to/conda/envs/arx-py310/bin/python3.10
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
To run C++, you need to enable the executable every time after compiling. You also need to update the C++ scripts with the correct interface.
|
| 75 |
+
```sh
|
| 76 |
+
sudo setcap "cap_net_admin,cap_net_raw=eip" build/test_cartesian_controller
|
| 77 |
+
sudo setcap "cap_net_admin,cap_net_raw=eip" build/test_joint_controller
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
## USB-CAN setup
|
| 81 |
+
|
| 82 |
+
You can skip this step if you have already set up the EtherCAT-CAN adapter.
|
| 83 |
+
|
| 84 |
+
``` sh
|
| 85 |
+
sudo apt install can-utils
|
| 86 |
+
sudo apt install net-tools
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
There are 2 popular firmware types of usb-can adapter, `SLCAN` and `candleLight`. After plugging the adapter, you can find out the correct firmware type by the following rules:
|
| 90 |
+
- Run `ls /dev/ttyACM*`. If there is a **new** `/dev/ttyACM*` device (where * is a number), this adapter is using `SLCAN` firmware
|
| 91 |
+
- Run `ip a`. If there is a **new** `can*` interface (where * is a number), this adapter is using `candleLight` firmware.
|
| 92 |
+
|
| 93 |
+
### For adapters using SLCAN framework
|
| 94 |
+
Get serial number by:
|
| 95 |
+
``` sh
|
| 96 |
+
udevadm info -a -n /dev/ttyACM* | grep serial
|
| 97 |
+
# Replace the * by the actual number if there are multiple ttyACM devices connected to your computer.
|
| 98 |
+
```
|
| 99 |
+
You will get something like:
|
| 100 |
+
```
|
| 101 |
+
ATTRS{serial}=="209738924D4D"
|
| 102 |
+
ATTRS{serial}=="0000:00:14.0"
|
| 103 |
+
```
|
| 104 |
+
Then edit CAN rules file:
|
| 105 |
+
``` sh
|
| 106 |
+
sudo vim /etc/udev/rules.d/arx_can.rules
|
| 107 |
+
```
|
| 108 |
+
Copy and paste the following, and replace the serial number with yours. If you are registering multiple adapters, you can use other `SYMLINK` names (e.g. `arxcan1`) and make sure the following commands are updated accordingly.
|
| 109 |
+
```
|
| 110 |
+
SUBSYSTEM=="tty", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="117e", ATTRS{serial}=="209738924D4D", SYMLINK+="arxcan0"
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
Finally, activate CAN connection by: (**the second line should be run every time after connection**)
|
| 114 |
+
``` sh
|
| 115 |
+
sudo udevadm control --reload-rules && sudo udevadm trigger
|
| 116 |
+
sudo slcand -o -f -s8 /dev/arxcan0 can0 && sudo ifconfig can0 up
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
Alternatively, if you want not to run the second line everytime, you can also setup a system service:
|
| 120 |
+
|
| 121 |
+
```sh
|
| 122 |
+
sudo vi /etc/systemd/system/arxcan-setup.service
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
Copy the following content to the service file
|
| 126 |
+
|
| 127 |
+
```service
|
| 128 |
+
[Unit]
|
| 129 |
+
After=network.target
|
| 130 |
+
|
| 131 |
+
[Service]
|
| 132 |
+
Type=oneshot
|
| 133 |
+
ExecStart=/bin/sh -c 'slcand -o -f -s8 /dev/arxcan0 can0 && ip link set can0 up'
|
| 134 |
+
RemainAfterExit=yes
|
| 135 |
+
|
| 136 |
+
[Install]
|
| 137 |
+
WantedBy=multi-user.target
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
And activate the service
|
| 141 |
+
|
| 142 |
+
```
|
| 143 |
+
sudo systemctl daemon-reload
|
| 144 |
+
sudo systemctl enable arxcan-setup.service
|
| 145 |
+
sudo systemctl start arxcan-setup.service
|
| 146 |
+
sudo systemctl status arxcan-setup.service
|
| 147 |
+
```
|
| 148 |
+
|
| 149 |
+
### For adapters using candleLight framework
|
| 150 |
+
After plugging the adapter and running `ip a`, you should immediately find a can interface (usually `can0`). If you only have one arm, simply run
|
| 151 |
+
```sh
|
| 152 |
+
sudo ip link set up can0 type can bitrate 1000000
|
| 153 |
+
```
|
| 154 |
+
and you are good to go. You should run it **every time** after connecting a usb-can adapter.
|
| 155 |
+
If you have multiple arms and you want to fix the CAN interface name mapping for each arm, you need to register the adapter to the CAN rules:
|
| 156 |
+
```sh
|
| 157 |
+
sudo dmesg # Find the idVendor, idProduct and serial number of your adapter
|
| 158 |
+
sudo vim /etc/udev/rules.d/arx_can.rules
|
| 159 |
+
```
|
| 160 |
+
and then append the following line to your `arx_can.rules`. Make sure you've replaced the serial number of your adapter and your desired CAN name.
|
| 161 |
+
```
|
| 162 |
+
SUBSYSTEM=="net", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="606f", ATTRS{serial}=="0040001E3730511620323746", NAME="can0"
|
| 163 |
+
```
|
| 164 |
+
Run the following line to update the changes
|
| 165 |
+
```sh
|
| 166 |
+
sudo udevadm control --reload-rules && sudo systemctl restart systemd-udevd && sudo udevadm trigger
|
| 167 |
+
```
|
| 168 |
+
Finally, reconnect your adapter and run (**This line should be run every time after plugging the usb-can adapter**)
|
| 169 |
+
```sh
|
| 170 |
+
sudo ip link set up can0 type can bitrate 1000000
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
## Spacemouse setup (for Cartesian control)
|
| 175 |
+
All the configurations are tested using 3Dconnexion spacemouse. You can skip this step and use keyboard to test Cartesian control.
|
| 176 |
+
```sh
|
| 177 |
+
sudo apt install libspnav-dev spacenavd
|
| 178 |
+
sudo systemctl enable spacenavd.service
|
| 179 |
+
sudo systemctl start spacenavd.service
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
## Test scripts
|
| 183 |
+
|
| 184 |
+
Arguments for `test_joint_control.py`, `keyboard_teleop.py`, `spacemouse_teleop.py` and `teach_replay.py`:
|
| 185 |
+
- (required) model: `X5` (silver and black) or `L5` (all black metal with blue or red LED light). **Choosing the wrong model may lead to dangerous movements!**
|
| 186 |
+
- (required) interface: `can0`, `enx6c1ff70ac436` etc. (run `ip a` to check your interface name)
|
| 187 |
+
- (optional) urdf_path `-u`: by default `../models/arx5.urdf`
|
| 188 |
+
|
| 189 |
+
```bash
|
| 190 |
+
cd python
|
| 191 |
+
python examples/test_joint_control.py X5 can0 # replace X5 with L5 for the other model
|
| 192 |
+
python examples/test_bimanual.py # For two X5 arms using can0 and can1, each arm will act the same as test_joint_control.py
|
| 193 |
+
python examples/keyboard_teleop.py X5 can0
|
| 194 |
+
python examples/spacemouse_teleop.py X5 can0
|
| 195 |
+
python examples/teach_replay.py X5 can0
|
| 196 |
+
```
|
| 197 |
+
To use python sdk from other directories, please make sure `./python` is in `$PYTHONPATH` and `./lib/x86_64` or `./lib/aarch64` (depend on your computer system) is in `$LD_LIBRARY_PATH`.
|
| 198 |
+
|
| 199 |
+
``` sh
|
| 200 |
+
export PYTHONPATH=$PYTHONPATH:/path/to/your/arx5-sdk/python
|
| 201 |
+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/your/arx5-sdk/lib/your_arch
|
| 202 |
+
```
|
| 203 |
+
|
| 204 |
+
After compiling the `arx5_interface` pybind dynamic library (usually `python/arx5_interface.cpython-version-arch-linux-gnu.so`), you can run it under other python environments (need to be the same python version as the one you built).
|
| 205 |
+
|
| 206 |
+
## Projects Using this Repository
|
| 207 |
+
- **[UMI-on-Legs](https://umi-on-legs.github.io/)**
|
| 208 |
+
- [UMI](https://umi-gripper.github.io/): [deployment code](https://github.com/real-stanford/umi-arx)
|
| 209 |
+
- [UVA](https://unified-video-action-model.github.io/): [deployment code](https://github.com/real-stanford/umi-arx/tree/uva)
|
| 210 |
+
- [Vision-in-Action](https://vision-in-action.github.io/)
|
| 211 |
+
- [Latent Policy Barrier](https://latentpolicybarrier.github.io/)
|
| 212 |
+
- [DynaGuide](https://dynaguide.github.io/)
|
| 213 |
+
- [Minimalist Compliance Control](https://minimalist-compliance-control.github.io/)
|
| 214 |
+
- [Gated Memory Policy](http://gated-memory-policy.github.io/)
|
| 215 |
+
- [Behavior Prompting Policy](https://behavior-prompting.github.io/)
|
| 216 |
+
|
| 217 |
+
More cool projects on the way!
|
| 218 |
+
|
| 219 |
+
## Citation
|
| 220 |
+
If you find this repo helpful, please cite our corresponding paper [UMI-on-Legs](https://umi-on-legs.github.io/)
|
| 221 |
+
```
|
| 222 |
+
@inproceedings{ha2024umilegs,
|
| 223 |
+
title={{UMI} on Legs: Making Manipulation Policies Mobile with Manipulation-Centric Whole-body Controllers},
|
| 224 |
+
author={Huy Ha and Yihuai Gao and Zipeng Fu and Jie Tan and Shuran Song},
|
| 225 |
+
year={2024},
|
| 226 |
+
booktitle={Proceedings of the 2024 Conference on Robot Learning},
|
| 227 |
+
}
|
| 228 |
+
```
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/include/app/config.h
ADDED
|
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef CONFIG_H
|
| 2 |
+
#define CONFIG_H
|
| 3 |
+
|
| 4 |
+
#include "app/common.h"
|
| 5 |
+
#include "utils.h"
|
| 6 |
+
#include <memory>
|
| 7 |
+
#include <unordered_map>
|
| 8 |
+
#include <vector>
|
| 9 |
+
namespace arx
|
| 10 |
+
{
|
| 11 |
+
|
| 12 |
+
class RobotConfig
|
| 13 |
+
{
|
| 14 |
+
public:
|
| 15 |
+
std::string robot_model;
|
| 16 |
+
std::string interface_name;
|
| 17 |
+
|
| 18 |
+
VecDoF joint_pos_min;
|
| 19 |
+
VecDoF joint_pos_max;
|
| 20 |
+
VecDoF joint_vel_max; // rad/s
|
| 21 |
+
VecDoF joint_torque_max; // N*m
|
| 22 |
+
Pose6d ee_vel_max; // Currently not in used
|
| 23 |
+
// end effector speed: m/s for (x, y, z), rad/s for (roll, pitch, yaw)
|
| 24 |
+
|
| 25 |
+
double gripper_vel_max; // m/s
|
| 26 |
+
double gripper_torque_max;
|
| 27 |
+
double gripper_width; // m, fully opened: gripper_width, fully closed: 0
|
| 28 |
+
double gripper_open_readout; // fully-opened gripper motor readout. Should be calibrated using
|
| 29 |
+
// python/examples/calibrate.py
|
| 30 |
+
int joint_dof;
|
| 31 |
+
std::vector<int> motor_id;
|
| 32 |
+
std::vector<MotorType> motor_type;
|
| 33 |
+
int gripper_motor_id;
|
| 34 |
+
MotorType gripper_motor_type; // Set to MotorType::NONE if the robot does not have a gripper
|
| 35 |
+
|
| 36 |
+
// Will be used in inverse dynamics calculation.
|
| 37 |
+
// Please change it to other values if the robot arm is not placed on the ground.
|
| 38 |
+
Eigen::Vector3d gravity_vector;
|
| 39 |
+
|
| 40 |
+
// Will be used in IK and FK.
|
| 41 |
+
// ID will find stop at last active joint (instead of the eef link with a fixed joint) because of some KDL bugs
|
| 42 |
+
std::string base_link_name;
|
| 43 |
+
std::string eef_link_name;
|
| 44 |
+
|
| 45 |
+
std::string urdf_path;
|
| 46 |
+
|
| 47 |
+
RobotConfig(std::string robot_model, VecDoF joint_pos_min, VecDoF joint_pos_max, VecDoF joint_vel_max,
|
| 48 |
+
VecDoF joint_torque_max, Pose6d ee_vel_max, double gripper_vel_max, double gripper_torque_max,
|
| 49 |
+
double gripper_width, double gripper_open_readout, int joint_dof, std::vector<int> motor_id,
|
| 50 |
+
std::vector<MotorType> motor_type, int gripper_motor_id, MotorType gripper_motor_type,
|
| 51 |
+
Eigen::Vector3d gravity_vector, std::string base_link_name, std::string eef_link_name,
|
| 52 |
+
std::string urdf_path)
|
| 53 |
+
: robot_model(robot_model), joint_pos_min(joint_pos_min), joint_pos_max(joint_pos_max),
|
| 54 |
+
joint_vel_max(joint_vel_max), joint_torque_max(joint_torque_max), ee_vel_max(ee_vel_max),
|
| 55 |
+
gripper_vel_max(gripper_vel_max), gripper_torque_max(gripper_torque_max), gripper_width(gripper_width),
|
| 56 |
+
gripper_open_readout(gripper_open_readout), joint_dof(joint_dof), motor_id(motor_id), motor_type(motor_type),
|
| 57 |
+
gripper_motor_id(gripper_motor_id), gripper_motor_type(gripper_motor_type), gravity_vector(gravity_vector),
|
| 58 |
+
base_link_name(base_link_name), eef_link_name(eef_link_name), urdf_path(urdf_path)
|
| 59 |
+
{
|
| 60 |
+
}
|
| 61 |
+
};
|
| 62 |
+
|
| 63 |
+
class RobotConfigFactory
|
| 64 |
+
{
|
| 65 |
+
public:
|
| 66 |
+
static RobotConfigFactory &get_instance()
|
| 67 |
+
{
|
| 68 |
+
static RobotConfigFactory instance;
|
| 69 |
+
return instance;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
RobotConfig get_config(const std::string &robot_model)
|
| 73 |
+
{
|
| 74 |
+
auto it = configurations.find(robot_model);
|
| 75 |
+
if (it != configurations.end())
|
| 76 |
+
{
|
| 77 |
+
return *(it->second);
|
| 78 |
+
}
|
| 79 |
+
else
|
| 80 |
+
{
|
| 81 |
+
std::string available_models;
|
| 82 |
+
for (auto &config : configurations)
|
| 83 |
+
{
|
| 84 |
+
available_models += config.first + " ";
|
| 85 |
+
}
|
| 86 |
+
throw std::runtime_error("Unknown robot model. Currently available: " + available_models);
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
private:
|
| 91 |
+
RobotConfigFactory()
|
| 92 |
+
{
|
| 93 |
+
std::string root_dir = get_root_dir();
|
| 94 |
+
printf("Found root directory: %s\n", root_dir.c_str());
|
| 95 |
+
std::string model_dir = root_dir + "/models";
|
| 96 |
+
printf("URDF models directory: %s\n", model_dir.c_str());
|
| 97 |
+
configurations["X5"] = std::make_shared<RobotConfig>(
|
| 98 |
+
"X5", // robot_model
|
| 99 |
+
(VecDoF(6) << -3.14, -0.05, -0.1, -1.6, -1.57, -2).finished(), // joint_pos_min
|
| 100 |
+
(VecDoF(6) << 2.618, 3.50, 3.20, 1.55, 1.57, 2).finished(), // joint_pos_max
|
| 101 |
+
(VecDoF(6) << 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 102 |
+
(VecDoF(6) << 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 103 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 104 |
+
0.3, // gripper_vel_max
|
| 105 |
+
1.5, // gripper_torque_max
|
| 106 |
+
0.088, // gripper_width
|
| 107 |
+
5.03, // gripper_open_readout
|
| 108 |
+
6, // joint_dof
|
| 109 |
+
std::vector<int>{1, 2, 4, 5, 6, 7}, // motor_id
|
| 110 |
+
std::vector<MotorType>{MotorType::EC_A4310, MotorType::EC_A4310, MotorType::EC_A4310, MotorType::DM_J4310,
|
| 111 |
+
MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 112 |
+
8, // gripper_motor_id
|
| 113 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 114 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 115 |
+
"base_link", // base_link_name
|
| 116 |
+
"eef_link", // eef_link_name
|
| 117 |
+
model_dir + "/X5.urdf" // urdf_path
|
| 118 |
+
);
|
| 119 |
+
configurations["X5_umi"] = std::make_shared<RobotConfig>(
|
| 120 |
+
"X5_umi", // robot_model
|
| 121 |
+
(VecDoF(6) << -3.14, -0.05, -0.1, -1.6, -1.57, -2).finished(), // joint_pos_min
|
| 122 |
+
(VecDoF(6) << 2.618, 3.50, 3.20, 1.55, 1.57, 2).finished(), // joint_pos_max
|
| 123 |
+
(VecDoF(6) << 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 124 |
+
(VecDoF(6) << 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 125 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 126 |
+
0.3, // gripper_vel_max
|
| 127 |
+
1.5, // gripper_torque_max
|
| 128 |
+
0.086, // gripper_width
|
| 129 |
+
4.90, // gripper_open_readout
|
| 130 |
+
6, // joint_dof
|
| 131 |
+
std::vector<int>{1, 2, 4, 5, 6, 7}, // motor_id
|
| 132 |
+
std::vector<MotorType>{MotorType::EC_A4310, MotorType::EC_A4310, MotorType::EC_A4310, MotorType::DM_J4310,
|
| 133 |
+
MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 134 |
+
8, // gripper_motor_id
|
| 135 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 136 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 137 |
+
"base_link", // base_link_name
|
| 138 |
+
"eef_link", // eef_link_name
|
| 139 |
+
model_dir + "/X5_umi.urdf" // urdf_path
|
| 140 |
+
);
|
| 141 |
+
|
| 142 |
+
configurations["X5_iphumi"] = std::make_shared<RobotConfig>(*configurations["X5_umi"]);
|
| 143 |
+
configurations["X5_iphumi"]->robot_model = "X5_iphumi";
|
| 144 |
+
configurations["X5_iphumi"]->urdf_path = model_dir + "/X5_iphumi.urdf";
|
| 145 |
+
|
| 146 |
+
configurations["L5"] = std::make_shared<RobotConfig>(
|
| 147 |
+
"L5", // robot_model
|
| 148 |
+
(VecDoF(6) << -3.14, -0.05, -0.1, -1.6, -1.57, -2).finished(), // joint_pos_min
|
| 149 |
+
(VecDoF(6) << 2.618, 3.50, 3.20, 1.55, 1.57, 2).finished(), // joint_pos_max
|
| 150 |
+
(VecDoF(6) << 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 151 |
+
(VecDoF(6) << 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 152 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 153 |
+
0.3, // gripper_vel_max
|
| 154 |
+
1.5, // gripper_torque_max
|
| 155 |
+
0.088, // gripper_width
|
| 156 |
+
5.03, // gripper_open_readout
|
| 157 |
+
6, // joint_dof
|
| 158 |
+
std::vector<int>{1, 2, 4, 5, 6, 7}, // motor_id
|
| 159 |
+
std::vector<MotorType>{MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4310,
|
| 160 |
+
MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 161 |
+
8, // gripper_motor_id
|
| 162 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 163 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 164 |
+
"base_link", // base_link_name
|
| 165 |
+
"eef_link", // eef_link_name
|
| 166 |
+
model_dir + "/L5.urdf" // urdf_path
|
| 167 |
+
);
|
| 168 |
+
configurations["L5_umi"] = std::make_shared<RobotConfig>(
|
| 169 |
+
"L5_umi", // robot_model
|
| 170 |
+
(VecDoF(6) << -3.14, -0.05, -0.1, -1.6, -1.57, -2).finished(), // joint_pos_min
|
| 171 |
+
(VecDoF(6) << 2.618, 3.50, 3.20, 1.55, 1.57, 2).finished(), // joint_pos_max
|
| 172 |
+
(VecDoF(6) << 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 173 |
+
(VecDoF(6) << 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 174 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 175 |
+
0.3, // gripper_vel_max
|
| 176 |
+
1.5, // gripper_torque_max
|
| 177 |
+
0.086, // gripper_width
|
| 178 |
+
4.90, // gripper_open_readout
|
| 179 |
+
6, // joint_dof
|
| 180 |
+
std::vector<int>{1, 2, 4, 5, 6, 7}, // motor_id
|
| 181 |
+
std::vector<MotorType>{MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4310,
|
| 182 |
+
MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 183 |
+
8, // gripper_motor_id
|
| 184 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 185 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 186 |
+
"base_link", // base_link_name
|
| 187 |
+
"eef_link", // eef_link_name
|
| 188 |
+
model_dir + "/L5_umi.urdf" // urdf_path
|
| 189 |
+
);
|
| 190 |
+
|
| 191 |
+
configurations["L5_iphumi"] = std::make_shared<RobotConfig>(*configurations["L5_umi"]);
|
| 192 |
+
configurations["L5_iphumi"]->robot_model = "L5_iphumi";
|
| 193 |
+
configurations["L5_iphumi"]->urdf_path = model_dir + "/L5_iphumi.urdf";
|
| 194 |
+
|
| 195 |
+
configurations["X7_left"] = std::make_shared<RobotConfig>(
|
| 196 |
+
"X7_left", // robot_model
|
| 197 |
+
(VecDoF(7) << -2.09439, -1.5, -1.5, -1.5, -1.2, -0.3, -0.7854).finished(), // joint_pos_min
|
| 198 |
+
(VecDoF(7) << 2.09439, 0.3, 1.5, 0.3, 1.2, 0.7854, 0.7854).finished(), // joint_pos_max
|
| 199 |
+
(VecDoF(7) << 3.0, 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 200 |
+
(VecDoF(7) << 30.0, 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 201 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 202 |
+
0.3, // gripper_vel_max
|
| 203 |
+
1.5, // gripper_torque_max
|
| 204 |
+
0.088, // gripper_width
|
| 205 |
+
5.03, // gripper_open_readout
|
| 206 |
+
7, // joint_dof
|
| 207 |
+
std::vector<int>{1, 2, 3, 4, 5, 6, 7}, // motor_id
|
| 208 |
+
std::vector<MotorType>{MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340,
|
| 209 |
+
MotorType::DM_J4310, MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 210 |
+
8, // gripper_motor_id
|
| 211 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 212 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 213 |
+
"base_link", // base_link_name
|
| 214 |
+
"eef_link", // eef_link_name
|
| 215 |
+
model_dir + "/X7_left.urdf" // urdf_path
|
| 216 |
+
);
|
| 217 |
+
configurations["X7_right"] = std::make_shared<RobotConfig>(
|
| 218 |
+
"X7_right", // robot_model
|
| 219 |
+
(VecDoF(7) << -2.09439, -0.3, -1.5, -0.3, -1.2, -0.7854, -0.7854).finished(), // joint_pos_min
|
| 220 |
+
(VecDoF(7) << 2.09439, 1.5, 1.5, 1.5, 1.2, 0.3, 0.7854).finished(), // joint_pos_max
|
| 221 |
+
(VecDoF(7) << 3.0, 5.0, 5.0, 5.5, 5.5, 5.0, 5.0).finished(), // joint_vel_max
|
| 222 |
+
(VecDoF(7) << 30.0, 30.0, 40.0, 30.0, 15.0, 10.0, 10.0).finished(), // joint_torque_max
|
| 223 |
+
(Pose6d() << 0.6, 0.6, 0.6, 1.8, 1.8, 1.8).finished(), // ee_vel_max
|
| 224 |
+
0.3, // gripper_vel_max
|
| 225 |
+
1.5, // gripper_torque_max
|
| 226 |
+
0.088, // gripper_width
|
| 227 |
+
5.03, // gripper_open_readout
|
| 228 |
+
7, // joint_dof
|
| 229 |
+
std::vector<int>{1, 2, 3, 4, 5, 6, 7}, // motor_id
|
| 230 |
+
std::vector<MotorType>{MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340, MotorType::DM_J4340,
|
| 231 |
+
MotorType::DM_J4310, MotorType::DM_J4310, MotorType::DM_J4310}, // motor_type
|
| 232 |
+
8, // gripper_motor_id
|
| 233 |
+
MotorType::DM_J4310, // gripper_motor_type
|
| 234 |
+
(Eigen::Vector3d() << 0, 0, -9.807).finished(), // gravity_vector
|
| 235 |
+
"base_link", // base_link_name
|
| 236 |
+
"eef_link", // eef_link_name
|
| 237 |
+
model_dir + "/X7_right.urdf" // urdf_path
|
| 238 |
+
);
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
std::unordered_map<std::string, std::shared_ptr<RobotConfig>> configurations;
|
| 242 |
+
|
| 243 |
+
// Disable copy constructor and assignment operator
|
| 244 |
+
RobotConfigFactory(const RobotConfigFactory &) = delete;
|
| 245 |
+
RobotConfigFactory &operator=(const RobotConfigFactory &) = delete;
|
| 246 |
+
};
|
| 247 |
+
|
| 248 |
+
class ControllerConfig
|
| 249 |
+
{
|
| 250 |
+
public:
|
| 251 |
+
std::string controller_type;
|
| 252 |
+
VecDoF default_kp;
|
| 253 |
+
VecDoF default_kd;
|
| 254 |
+
double default_gripper_kp;
|
| 255 |
+
double default_gripper_kd;
|
| 256 |
+
int over_current_cnt_max;
|
| 257 |
+
double controller_dt;
|
| 258 |
+
bool gravity_compensation;
|
| 259 |
+
bool background_send_recv;
|
| 260 |
+
bool shutdown_to_passive;
|
| 261 |
+
// true: will set the arm to damping then passive mode when pressing `ctrl-C`. (recommended);
|
| 262 |
+
// pressing `ctrl-\` will directly kill the program so this process will be skipped
|
| 263 |
+
// false: will keep the arm in the air when shutting down the controller (both `ctrl-\` and `ctrl-C`).
|
| 264 |
+
// X5 cannot be kept in the air.
|
| 265 |
+
std::string interpolation_method; // "linear" or "cubic" (cubic is not well supported yet)
|
| 266 |
+
double default_preview_time; // The default value for preview time if the command has 0 timestamp
|
| 267 |
+
|
| 268 |
+
ControllerConfig(std::string controller_type, VecDoF default_kp, VecDoF default_kd, double default_gripper_kp,
|
| 269 |
+
double default_gripper_kd, int over_current_cnt_max, double controller_dt,
|
| 270 |
+
bool gravity_compensation, bool background_send_recv, bool shutdown_to_passive,
|
| 271 |
+
std::string interpolation_method, double default_preview_time)
|
| 272 |
+
: controller_type(controller_type), default_kp(default_kp), default_kd(default_kd),
|
| 273 |
+
default_gripper_kp(default_gripper_kp), default_gripper_kd(default_gripper_kd),
|
| 274 |
+
over_current_cnt_max(over_current_cnt_max), controller_dt(controller_dt),
|
| 275 |
+
gravity_compensation(gravity_compensation), background_send_recv(background_send_recv),
|
| 276 |
+
shutdown_to_passive(shutdown_to_passive), interpolation_method(interpolation_method),
|
| 277 |
+
default_preview_time(default_preview_time)
|
| 278 |
+
{
|
| 279 |
+
}
|
| 280 |
+
};
|
| 281 |
+
|
| 282 |
+
class ControllerConfigFactory
|
| 283 |
+
{
|
| 284 |
+
public:
|
| 285 |
+
static ControllerConfigFactory &get_instance()
|
| 286 |
+
{
|
| 287 |
+
static ControllerConfigFactory instance;
|
| 288 |
+
return instance;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
ControllerConfig get_config(const std::string &controller_type, const int joint_dof)
|
| 292 |
+
{
|
| 293 |
+
|
| 294 |
+
auto it = configurations.find(controller_type + "_" + std::to_string(joint_dof));
|
| 295 |
+
if (it != configurations.end())
|
| 296 |
+
{
|
| 297 |
+
return *(it->second);
|
| 298 |
+
}
|
| 299 |
+
else
|
| 300 |
+
{
|
| 301 |
+
throw std::runtime_error(
|
| 302 |
+
"Unknown controller type. Currently available: joint_controller, cartesian_controller");
|
| 303 |
+
}
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
private:
|
| 307 |
+
ControllerConfigFactory()
|
| 308 |
+
{
|
| 309 |
+
configurations["joint_controller_7"] = std::make_shared<ControllerConfig>(
|
| 310 |
+
"joint_controller", // controller_type
|
| 311 |
+
(VecDoF(7) << 80.0, 70.0, 70.0, 70.0, 30.0, 30.0, 20.0).finished(), // default_kp
|
| 312 |
+
(VecDoF(7) << 2.0, 2.0, 2.0, 2.0, 1.0, 1.0, 0.7).finished(), // default_kd
|
| 313 |
+
5.0, // default_gripper_kp
|
| 314 |
+
0.2, // default_gripper_kd
|
| 315 |
+
20, // over_current_cnt_max
|
| 316 |
+
0.002, // controller_dt
|
| 317 |
+
true, // gravity_compensation
|
| 318 |
+
true, // background_send_recv
|
| 319 |
+
true, // shutdown_to_passive
|
| 320 |
+
"linear", // interpolation_method
|
| 321 |
+
0.0 // default_preview_time
|
| 322 |
+
);
|
| 323 |
+
configurations["joint_controller_6"] = std::make_shared<ControllerConfig>(
|
| 324 |
+
"joint_controller", // controller_type
|
| 325 |
+
(VecDoF(6) << 80.0, 70.0, 70.0, 30.0, 30.0, 20.0).finished(), // default_kp
|
| 326 |
+
(VecDoF(6) << 2.0, 2.0, 2.0, 1.0, 1.0, 0.7).finished(), // default_kd
|
| 327 |
+
5.0, // default_gripper_kp
|
| 328 |
+
0.2, // default_gripper_kd
|
| 329 |
+
20, // over_current_cnt_max
|
| 330 |
+
0.002, // controller_dt
|
| 331 |
+
true, // gravity_compensation
|
| 332 |
+
true, // background_send_recv
|
| 333 |
+
true, // shutdown_to_passive
|
| 334 |
+
"linear", // interpolation_method
|
| 335 |
+
0.0 // default_preview_time
|
| 336 |
+
);
|
| 337 |
+
configurations["cartesian_controller_7"] = std::make_shared<ControllerConfig>(
|
| 338 |
+
"cartesian_controller", // controller_type
|
| 339 |
+
(VecDoF(7) << 300.0, 300.0, 300.0, 300.0, 80.0, 50.0, 40.0).finished(), // default_kp
|
| 340 |
+
(VecDoF(7) << 5.0, 5.0, 5.0, 5.0, 1.0, 1.0, 1.0).finished(), // default_kd
|
| 341 |
+
5.0, // default_gripper_kp
|
| 342 |
+
0.2, // default_gripper_kd
|
| 343 |
+
20, // over_current_cnt_max
|
| 344 |
+
0.002, // controller_dt
|
| 345 |
+
true, // gravity_compensation
|
| 346 |
+
true, // background_send_recv
|
| 347 |
+
true, // shutdown_to_passive
|
| 348 |
+
"linear", // interpolation_method
|
| 349 |
+
0.1 // default_preview_time
|
| 350 |
+
);
|
| 351 |
+
configurations["cartesian_controller_6"] = std::make_shared<ControllerConfig>(
|
| 352 |
+
"cartesian_controller", // controller_type
|
| 353 |
+
(VecDoF(6) << 200.0, 200.0, 200.0, 120.0, 80.0, 60.0).finished(), // default_kp
|
| 354 |
+
(VecDoF(6) << 5.0, 5.0, 5.0, 1.0, 1.0, 1.0).finished(), // default_kd
|
| 355 |
+
5.0, // default_gripper_kp
|
| 356 |
+
0.2, // default_gripper_kd
|
| 357 |
+
20, // over_current_cnt_max
|
| 358 |
+
0.002, // controller_dt
|
| 359 |
+
true, // gravity_compensation
|
| 360 |
+
true, // background_send_recv
|
| 361 |
+
true, // shutdown_to_passive
|
| 362 |
+
"linear", // interpolation_method
|
| 363 |
+
0.1 // default_preview_time
|
| 364 |
+
);
|
| 365 |
+
}
|
| 366 |
+
std::unordered_map<std::string, std::shared_ptr<ControllerConfig>> configurations;
|
| 367 |
+
|
| 368 |
+
// Disable copy constructor and assignment operator
|
| 369 |
+
ControllerConfigFactory(const ControllerConfigFactory &) = delete;
|
| 370 |
+
ControllerConfigFactory &operator=(const ControllerConfigFactory &) = delete;
|
| 371 |
+
};
|
| 372 |
+
} // namespace arx
|
| 373 |
+
#endif // CONFIG_H
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/X5.urdf
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<!-- This URDF was automatically created by SolidWorks to URDF Exporter! Originally created by Stephen Brawner (brawner@gmail.com)
|
| 3 |
+
Commit Version: 1.6.0-4-g7f85cfe Build Version: 1.6.7995.38578
|
| 4 |
+
For more information, please see http://wiki.ros.org/sw_urdf_exporter -->
|
| 5 |
+
<robot name="X5">
|
| 6 |
+
<link name="base_link">
|
| 7 |
+
<inertial>
|
| 8 |
+
<origin
|
| 9 |
+
xyz="-3.764e-5 0.00006519 0.03037877"
|
| 10 |
+
rpy="0 0 0" />
|
| 11 |
+
<mass
|
| 12 |
+
value="0.428" />
|
| 13 |
+
<inertia
|
| 14 |
+
ixx="0.00060728"
|
| 15 |
+
ixy="3.437e-7"
|
| 16 |
+
ixz="9.790e-7"
|
| 17 |
+
iyy="0.00060832"
|
| 18 |
+
iyz="-1.696e-6"
|
| 19 |
+
izz="1.917e-4" />
|
| 20 |
+
</inertial>
|
| 21 |
+
<visual>
|
| 22 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 23 |
+
<geometry>
|
| 24 |
+
<mesh filename="./meshes/base_link.STL"/>
|
| 25 |
+
</geometry>
|
| 26 |
+
<material name="">
|
| 27 |
+
<color rgba="0.75294 0.75294 0.75294 1"/>
|
| 28 |
+
</material>
|
| 29 |
+
</visual>
|
| 30 |
+
<collision>
|
| 31 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 32 |
+
<geometry>
|
| 33 |
+
<mesh filename="./meshes/base_link.STL"/>
|
| 34 |
+
</geometry>
|
| 35 |
+
</collision>
|
| 36 |
+
</link>
|
| 37 |
+
<link name="link1">
|
| 38 |
+
<inertial>
|
| 39 |
+
<origin xyz="0.00571213 0.0002547 0.01750661" rpy="0 0 0"/>
|
| 40 |
+
<mass value="0.064"/>
|
| 41 |
+
<inertia ixx="0.00008" ixy="0.00000" ixz="0.00001" iyy="0.00003" iyz="0.00000" izz="0.00007"/>
|
| 42 |
+
</inertial>
|
| 43 |
+
<visual>
|
| 44 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 45 |
+
<geometry>
|
| 46 |
+
<mesh filename="./meshes/X5/link1.STL"/>
|
| 47 |
+
</geometry>
|
| 48 |
+
<material name="">
|
| 49 |
+
<color rgba="0.75294 0.75294 0.75294 1"/>
|
| 50 |
+
</material>
|
| 51 |
+
</visual>
|
| 52 |
+
<collision>
|
| 53 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 54 |
+
<geometry>
|
| 55 |
+
<mesh filename="./meshes/X5/link1.STL"/>
|
| 56 |
+
</geometry>
|
| 57 |
+
</collision>
|
| 58 |
+
</link>
|
| 59 |
+
<joint name="joint1" type="revolute">
|
| 60 |
+
<origin xyz="0 0 0.0603" rpy="0 0 0"/>
|
| 61 |
+
<parent link="base_link"/>
|
| 62 |
+
<child link="link1"/>
|
| 63 |
+
<axis xyz="0 0 1"/>
|
| 64 |
+
<limit lower="-10" upper="10" effort="100" velocity="1000"/>
|
| 65 |
+
</joint>
|
| 66 |
+
<link name="link2">
|
| 67 |
+
<inertial>
|
| 68 |
+
<origin xyz="-0.13225701 0.00072373 4.274e-5" rpy="0 0 0"/>
|
| 69 |
+
<mass value="1.165"/>
|
| 70 |
+
<inertia ixx="0.00057063"
|
| 71 |
+
ixy="0.00011251"
|
| 72 |
+
ixz="0.00001979"
|
| 73 |
+
iyy="0.03669927"
|
| 74 |
+
iyz="1.203e-8"
|
| 75 |
+
izz="0.03683489"/>
|
| 76 |
+
</inertial>
|
| 77 |
+
<visual>
|
| 78 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 79 |
+
<geometry>
|
| 80 |
+
<mesh filename="./meshes/X5/link2.STL"/>
|
| 81 |
+
</geometry>
|
| 82 |
+
<material name="">
|
| 83 |
+
<color rgba="0.75294 0.75294 0.75294 1"/>
|
| 84 |
+
</material>
|
| 85 |
+
</visual>
|
| 86 |
+
<collision>
|
| 87 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 88 |
+
<geometry>
|
| 89 |
+
<mesh filename="./meshes/X5/link2.STL"/>
|
| 90 |
+
</geometry>
|
| 91 |
+
</collision>
|
| 92 |
+
</link>
|
| 93 |
+
<joint name="joint2" type="revolute">
|
| 94 |
+
<origin xyz="0.02 0 0.0402" rpy="0 0 0"/>
|
| 95 |
+
<parent link="link1"/>
|
| 96 |
+
<child link="link2"/>
|
| 97 |
+
<axis xyz="0 1 0"/>
|
| 98 |
+
<limit lower="0" upper="3.14" effort="100" velocity="1000"/>
|
| 99 |
+
</joint>
|
| 100 |
+
<link name="link3">
|
| 101 |
+
<inertial>
|
| 102 |
+
<origin xyz="0.19096098 0.00069065 -0.05342172" rpy="0 0 0"/>
|
| 103 |
+
<mass value="0.546"/>
|
| 104 |
+
<inertia ixx="0.00178249"
|
| 105 |
+
ixy="-0.00003986"
|
| 106 |
+
ixz="0.00571"
|
| 107 |
+
iyy="0.02486615"
|
| 108 |
+
iyz="1.346e-5"
|
| 109 |
+
izz="0.02329476"/>
|
| 110 |
+
</inertial>
|
| 111 |
+
<visual>
|
| 112 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 113 |
+
<geometry>
|
| 114 |
+
<mesh filename="./meshes/X5/link3.STL"/>
|
| 115 |
+
</geometry>
|
| 116 |
+
<material name="">
|
| 117 |
+
<color rgba="0.75294 0.75294 0.75294 1"/>
|
| 118 |
+
</material>
|
| 119 |
+
</visual>
|
| 120 |
+
<collision>
|
| 121 |
+
<origin xyz="0.15 0 -0.055" rpy="0 1.5707963267948966 0"/>
|
| 122 |
+
<geometry>
|
| 123 |
+
<cylinder length="0.15" radius="0.02" />
|
| 124 |
+
</geometry>
|
| 125 |
+
</collision>
|
| 126 |
+
</link>
|
| 127 |
+
<joint name="joint3" type="revolute">
|
| 128 |
+
<origin xyz="-0.264 0 0" rpy="-3.1416 0 0"/>
|
| 129 |
+
<parent link="link2"/>
|
| 130 |
+
<child link="link3"/>
|
| 131 |
+
<axis xyz="0 1 0"/>
|
| 132 |
+
<limit lower="0" upper="3.14" effort="30" velocity="10"/>
|
| 133 |
+
</joint>
|
| 134 |
+
<link name="link4">
|
| 135 |
+
<inertial>
|
| 136 |
+
<origin xyz="0.03092317 0.0066107 -0.03138504" rpy="0 0 0"/>
|
| 137 |
+
<mass value="0.080971"/>
|
| 138 |
+
<inertia ixx="0.00017832"
|
| 139 |
+
ixy="0.00001697"
|
| 140 |
+
ixz="0.0000776"
|
| 141 |
+
iyy="0.00021182"
|
| 142 |
+
iyz="-0.00001779"
|
| 143 |
+
izz="0.00011328"/>
|
| 144 |
+
</inertial>
|
| 145 |
+
<visual>
|
| 146 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 147 |
+
<geometry>
|
| 148 |
+
<mesh filename="./meshes/X5/link4.STL"/>
|
| 149 |
+
</geometry>
|
| 150 |
+
<material name="">
|
| 151 |
+
<color rgba="0.89804 0.91765 0.92941 1"/>
|
| 152 |
+
</material>
|
| 153 |
+
</visual>
|
| 154 |
+
<collision>
|
| 155 |
+
<origin xyz="0.06575 -0.001 -0.02" rpy="0 0 0"/>
|
| 156 |
+
<geometry>
|
| 157 |
+
<cylinder length="0.05" radius="0.025" />
|
| 158 |
+
</geometry>
|
| 159 |
+
</collision>
|
| 160 |
+
</link>
|
| 161 |
+
<joint name="joint4" type="revolute">
|
| 162 |
+
<origin xyz="0.245 0 -0.056" rpy="0 0 0"/>
|
| 163 |
+
<parent link="link3"/>
|
| 164 |
+
<child link="link4"/>
|
| 165 |
+
<axis xyz="0 1 0"/>
|
| 166 |
+
<limit lower="-1.57079632679"
|
| 167 |
+
upper="1.57079632679"
|
| 168 |
+
effort="30"
|
| 169 |
+
velocity="10" />
|
| 170 |
+
</joint>
|
| 171 |
+
<link name="link5">
|
| 172 |
+
<inertial>
|
| 173 |
+
<origin xyz="0.0040681 0.00000885 0.05120675" rpy="0 0 0"/>
|
| 174 |
+
<mass value="0.655"/>
|
| 175 |
+
<inertia ixx="0.00254972"
|
| 176 |
+
ixy="2.600e-7"
|
| 177 |
+
ixz="-0.00021534"
|
| 178 |
+
iyy="0.00255018"
|
| 179 |
+
iyz="-5.980e-7"
|
| 180 |
+
izz="0.00026961"/>
|
| 181 |
+
</inertial>
|
| 182 |
+
<visual>
|
| 183 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 184 |
+
<geometry>
|
| 185 |
+
<mesh filename="./meshes/X5/link5.STL"/>
|
| 186 |
+
</geometry>
|
| 187 |
+
<material name="">
|
| 188 |
+
<color rgba="0.75294 0.75294 0.75294 1"/>
|
| 189 |
+
</material>
|
| 190 |
+
</visual>
|
| 191 |
+
<collision>
|
| 192 |
+
<origin
|
| 193 |
+
xyz="0.055 0.00 0.083"
|
| 194 |
+
rpy="0 1.5707963267948966 0" />
|
| 195 |
+
<geometry>
|
| 196 |
+
<cylinder length="0.025" radius="0.02" />
|
| 197 |
+
</geometry>
|
| 198 |
+
</collision>
|
| 199 |
+
</link>
|
| 200 |
+
<joint name="joint5" type="revolute">
|
| 201 |
+
<origin xyz="0.06575 -0.001 -0.0825" rpy="0 0 0"/>
|
| 202 |
+
<parent link="link4"/>
|
| 203 |
+
<child link="link5"/>
|
| 204 |
+
<axis xyz="0 0 1"/>
|
| 205 |
+
<limit lower="-1.67" upper="1.67" effort="100" velocity="1000"/>
|
| 206 |
+
</joint>
|
| 207 |
+
<link name="link6">
|
| 208 |
+
<inertial>
|
| 209 |
+
<origin xyz="0.05435277 0 0" rpy="0 0 0"/>
|
| 210 |
+
<mass value="0.581000"/>
|
| 211 |
+
<inertia ixx="0.00029" ixy="0.00000" ixz="0.00000" iyy="0.00028" iyz="-0.00001" izz="0.00045"/>
|
| 212 |
+
</inertial>
|
| 213 |
+
<visual>
|
| 214 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 215 |
+
<geometry>
|
| 216 |
+
<mesh filename="./meshes/X5/link6.STL"/>
|
| 217 |
+
</geometry>
|
| 218 |
+
<material name="">
|
| 219 |
+
<color rgba="0.89804 0.91765 0.92941 1"/>
|
| 220 |
+
</material>
|
| 221 |
+
</visual>
|
| 222 |
+
<collision>
|
| 223 |
+
<origin xyz="0 0 0" rpy="0 0 0"/>
|
| 224 |
+
<geometry>
|
| 225 |
+
<mesh filename="./meshes/X5/link6.STL"/>
|
| 226 |
+
</geometry>
|
| 227 |
+
</collision>
|
| 228 |
+
</link>
|
| 229 |
+
<joint name="joint6" type="revolute">
|
| 230 |
+
<origin xyz="0.02845 0 0.0825" rpy="-3.1416 0 0"/>
|
| 231 |
+
<parent link="link5"/>
|
| 232 |
+
<child link="link6"/>
|
| 233 |
+
<axis xyz="1 0 0"/>
|
| 234 |
+
<limit lower="-1.57" upper="1.57" effort="100" velocity="1000"/>
|
| 235 |
+
</joint>
|
| 236 |
+
|
| 237 |
+
<link name="eef_link">
|
| 238 |
+
<inertial>
|
| 239 |
+
<mass value="0.0"/>
|
| 240 |
+
<origin xyz="0.0 0.0 0.0" rpy="0 0 0"/>
|
| 241 |
+
<inertia ixx="0.0" ixy="0.0" ixz="0.0" iyy="0.0" iyz="0.0" izz="0.0"/>
|
| 242 |
+
</inertial>
|
| 243 |
+
</link>
|
| 244 |
+
|
| 245 |
+
<joint name="gripper_fixed_joint" type="fixed">
|
| 246 |
+
<origin xyz="0.145 0.0 0.0" rpy="0 0 0"/>
|
| 247 |
+
<parent link="link6"/>
|
| 248 |
+
<child link="eef_link"/>
|
| 249 |
+
</joint>
|
| 250 |
+
</robot>
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/base_link.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce4a722664700af1dc76cf6174b885f97967a0930c5f67779562fbb3b7bb418a
|
| 3 |
+
size 1804484
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link1.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c4c74d459c2d2e49a4246208659ac41f5942d163394712039670aa3b8eee049
|
| 3 |
+
size 240084
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link2.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2824cb02a5a4e029894ba1fb7a620f7d643355171ca0bdfee4475932bfbbd0f8
|
| 3 |
+
size 4509584
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link3.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcd492ebdd522245cf0962d390d3665142a4425dcb3b727a99d3c9eb4953bac8
|
| 3 |
+
size 1956784
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link4.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1744299ccde9be510cb9415051dadf09677895e410acb062f275cb5ee4e7e33
|
| 3 |
+
size 146384
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link5.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bb540bb30ff468653f384bb8387b37e195e0f1578d1e17f32a620101322a46e
|
| 3 |
+
size 2270184
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/models/meshes/X5/link6.STL
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1105bf55921cffce9bd189342ad2a59946484ef20aad02db0c0f5224d5892698
|
| 3 |
+
size 2533384
|
src/robogym/envs/household/assets/x5/robot/arx5-sdk/source_manifest.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repo": "real-stanford/arx5-sdk",
|
| 3 |
+
"commit": "c160db7834530a3d80fec524547c74e1d4fa8035",
|
| 4 |
+
"files": [
|
| 5 |
+
{
|
| 6 |
+
"path": "models/meshes/X5/base_link.STL",
|
| 7 |
+
"bytes": 1804484,
|
| 8 |
+
"sha256": "ce4a722664700af1dc76cf6174b885f97967a0930c5f67779562fbb3b7bb418a"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"path": "models/meshes/X5/link1.STL",
|
| 12 |
+
"bytes": 240084,
|
| 13 |
+
"sha256": "5c4c74d459c2d2e49a4246208659ac41f5942d163394712039670aa3b8eee049"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"path": "models/meshes/X5/link2.STL",
|
| 17 |
+
"bytes": 4509584,
|
| 18 |
+
"sha256": "2824cb02a5a4e029894ba1fb7a620f7d643355171ca0bdfee4475932bfbbd0f8"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"path": "models/meshes/X5/link3.STL",
|
| 22 |
+
"bytes": 1956784,
|
| 23 |
+
"sha256": "dcd492ebdd522245cf0962d390d3665142a4425dcb3b727a99d3c9eb4953bac8"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"path": "models/meshes/X5/link4.STL",
|
| 27 |
+
"bytes": 146384,
|
| 28 |
+
"sha256": "a1744299ccde9be510cb9415051dadf09677895e410acb062f275cb5ee4e7e33"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"path": "models/meshes/X5/link5.STL",
|
| 32 |
+
"bytes": 2270184,
|
| 33 |
+
"sha256": "3bb540bb30ff468653f384bb8387b37e195e0f1578d1e17f32a620101322a46e"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"path": "models/meshes/X5/link6.STL",
|
| 37 |
+
"bytes": 2533384,
|
| 38 |
+
"sha256": "1105bf55921cffce9bd189342ad2a59946484ef20aad02db0c0f5224d5892698"
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"path": "LICENSE",
|
| 42 |
+
"bytes": 1067,
|
| 43 |
+
"sha256": "ad851f58a4ed28b01d815d74c7c54d18042760b122c89f7e6b4dc7e0126492f6"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"path": "README.md",
|
| 47 |
+
"bytes": 12953,
|
| 48 |
+
"sha256": "c412cf9cbd272ef78a37b48d2cfdf525dabbcfc6fd9b9686ec864e470754ed55"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"path": "include/app/config.h",
|
| 52 |
+
"bytes": 24857,
|
| 53 |
+
"sha256": "cc2141639ca936c3d2d4fbbeb85161f3ed36ca96d58e45390296f76dce1ae265"
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"path": "models/X5.urdf",
|
| 57 |
+
"bytes": 8499,
|
| 58 |
+
"sha256": "b74c5fcf81901767fad33906852ae3400fad739270bd004653110577be11a08d"
|
| 59 |
+
}
|
| 60 |
+
],
|
| 61 |
+
"adaptation": "Resolve missing URDF ./meshes/base_link.STL to upstream models/meshes/X5/base_link.STL; source URDF preserved."
|
| 62 |
+
}
|
src/robogym/envs/household/assets/x5/robot/visual/base_link.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65c94a8437f9c6c3c8c574ac0b3198d7ec3f3109aea1ba4a7191469ea2ea1c93
|
| 3 |
+
size 569456
|
src/robogym/envs/household/assets/x5/robot/visual/link1.usdc
ADDED
|
Binary file (73.2 kB). View file
|
|
|
src/robogym/envs/household/assets/x5/robot/visual/link2.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83470bc077ee7f8bdd800692551cefc5b8afe7951d34f9e6be11faa821b720cc
|
| 3 |
+
size 1414968
|
src/robogym/envs/household/assets/x5/robot/visual/link3.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7027db6821b3b0c19ca193237212a6eda377aedc52835701e8bc0630948785a5
|
| 3 |
+
size 609092
|
src/robogym/envs/household/assets/x5/robot/visual/link4.usdc
ADDED
|
Binary file (44.4 kB). View file
|
|
|
src/robogym/envs/household/assets/x5/robot/visual/link5.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:838ad6074768abcfda7bc1e1c8f780c6ddbac5dfc39d7b25b73a35efc9e462d9
|
| 3 |
+
size 703332
|
src/robogym/envs/household/assets/x5/robot/visual/link6.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a247bdd8a7cfe34848d469d0c16d29b53153a402b8a0d02dbe3e7791d78b17d8
|
| 3 |
+
size 752292
|
src/robogym/envs/household/assets/x5/robot/visual/link6_jawN.usdc
ADDED
|
Binary file (18.9 kB). View file
|
|
|
src/robogym/envs/household/assets/x5/robot/visual/link6_jawP.usdc
ADDED
|
Binary file (14.1 kB). View file
|
|
|
src/robogym/envs/household/assets/x5/robot/visual/link6_palm.usdc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fff384009ec52c1f0eadff272fe078630abe34ae9c6fdb1f34f3f1200069043b
|
| 3 |
+
size 417489
|
src/robogym/envs/household/assets/x5/textures/HDR_LICENSE.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Studio Small 09, 1K HDR environment
|
| 2 |
+
Author: Sergej Majboroda / Poly Haven
|
| 3 |
+
Source: https://polyhaven.com/a/studio_small_09
|
| 4 |
+
Download: https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/studio_small_09_1k.hdr
|
| 5 |
+
License: CC0 1.0 Universal, https://creativecommons.org/publicdomain/zero/1.0/
|
| 6 |
+
License information: https://polyhaven.com/license
|
src/robogym/envs/household/assets/x5/textures/card_A4_recipe.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/card_C1_orders.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/card_C2_orders.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/card_C3_seating.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/cheese_toast_initial.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/flame.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/flame_alpha.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f1c09c29f154b49928ec3861aa5f52d2f3521f1b9cf09107d2ad2fd0895a67a
|
| 3 |
+
size 65664
|
src/robogym/envs/household/assets/x5/textures/french_toast_raw.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/gas_flame_ring.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/jug_graduations.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/mat.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/meal_curry.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/meal_pasta.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/meal_rice.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/meal_soup.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/pancake_top_first_side.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/sauce_stain.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/scale_display_0g.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/scale_display_blank.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/smoke_alpha.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/smoke_wisps.png
ADDED
|
Git LFS Details
|
src/robogym/envs/household/assets/x5/textures/studio_small_09_1k.hdr
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7cfda5f4e98e623db12b8bfd0184e048488e4855d9c83e2751fb44a32e80c45
|
| 3 |
+
size 1615248
|
src/robogym/envs/household/assets/x5/textures/toast_overdone.png
ADDED
|
Git LFS Details
|
src/robogym/envs/lab/assets/arx_x5/arx_x5.urdf
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<robot name="arx_x5">
|
| 3 |
+
<link name="base_link">
|
| 4 |
+
<inertial>
|
| 5 |
+
<origin xyz="-3.0001E-05 3.0589E-05 0.027324" rpy="0 0 0" />
|
| 6 |
+
<mass value="0.43995" />
|
| 7 |
+
<inertia ixx="0.00017" ixy="0.00000" ixz="0.00000" iyy="0.00017" iyz="0.00000" izz="0.00016" />
|
| 8 |
+
</inertial>
|
| 9 |
+
<visual>
|
| 10 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 11 |
+
<geometry>
|
| 12 |
+
<mesh filename="./meshes/base_link.STL" />
|
| 13 |
+
</geometry>
|
| 14 |
+
<material name="">
|
| 15 |
+
<color rgba="0.75294 0.75294 0.75294 1" />
|
| 16 |
+
</material>
|
| 17 |
+
</visual>
|
| 18 |
+
<collision>
|
| 19 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 20 |
+
<geometry>
|
| 21 |
+
<mesh filename="./meshes/base_link.STL" />
|
| 22 |
+
</geometry>
|
| 23 |
+
</collision>
|
| 24 |
+
</link>
|
| 25 |
+
<link name="link1">
|
| 26 |
+
<inertial>
|
| 27 |
+
<origin xyz="0.0054231 -0.0080289 0.017086" rpy="0 0 0" />
|
| 28 |
+
<mass value="0.066982" />
|
| 29 |
+
<inertia ixx="0.00008" ixy="0.00000" ixz="0.00001" iyy="0.00003" iyz="0.00000" izz="0.00008" />
|
| 30 |
+
</inertial>
|
| 31 |
+
<visual>
|
| 32 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 33 |
+
<geometry>
|
| 34 |
+
<mesh filename="./meshes/link1.STL" />
|
| 35 |
+
</geometry>
|
| 36 |
+
<material name="">
|
| 37 |
+
<color rgba="0.79216 0.81961 0.93333 1" />
|
| 38 |
+
</material>
|
| 39 |
+
</visual>
|
| 40 |
+
<collision>
|
| 41 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 42 |
+
<geometry>
|
| 43 |
+
<mesh filename="./meshes/link1.STL" />
|
| 44 |
+
</geometry>
|
| 45 |
+
</collision>
|
| 46 |
+
</link>
|
| 47 |
+
<joint name="joint1" type="revolute">
|
| 48 |
+
<origin xyz="0 0 0.0605" rpy="0 0 0" />
|
| 49 |
+
<parent link="base_link" />
|
| 50 |
+
<child link="link1" />
|
| 51 |
+
<axis xyz="0 0 1" />
|
| 52 |
+
<limit lower="-3.140000104904175" upper="2.618000030517578" effort="30.0" velocity="5.0" />
|
| 53 |
+
</joint>
|
| 54 |
+
<link name="link2">
|
| 55 |
+
<inertial>
|
| 56 |
+
<origin xyz="-0.13237 0.0020852 0.00010549" rpy="0 0 0" />
|
| 57 |
+
<mass value="1.0795" />
|
| 58 |
+
<inertia ixx="0.00051" ixy="0.00001" ixz="-0.00004" iyy="0.01599" iyz="0.00000" izz="0.01605" />
|
| 59 |
+
</inertial>
|
| 60 |
+
<visual>
|
| 61 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 62 |
+
<geometry>
|
| 63 |
+
<mesh filename="./meshes/link2.STL" />
|
| 64 |
+
</geometry>
|
| 65 |
+
<material name="">
|
| 66 |
+
<color rgba="0.75294 0.75294 0.75294 1" />
|
| 67 |
+
</material>
|
| 68 |
+
</visual>
|
| 69 |
+
<collision>
|
| 70 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 71 |
+
<geometry>
|
| 72 |
+
<mesh filename="./meshes/link2.STL" />
|
| 73 |
+
</geometry>
|
| 74 |
+
</collision>
|
| 75 |
+
</link>
|
| 76 |
+
<joint name="joint2" type="revolute">
|
| 77 |
+
<origin xyz="0.02 0 0.04" rpy="0 0 0" />
|
| 78 |
+
<parent link="link1" />
|
| 79 |
+
<child link="link2" />
|
| 80 |
+
<axis xyz="0 1 0" />
|
| 81 |
+
<limit lower="-0.05000000074505806" upper="3.5" effort="40.0" velocity="5.0" />
|
| 82 |
+
</joint>
|
| 83 |
+
<link name="link3">
|
| 84 |
+
<inertial>
|
| 85 |
+
<origin xyz="0.18531 0.00068376 -0.051638" rpy="0 0 0" />
|
| 86 |
+
<mass value="0.54534" />
|
| 87 |
+
<inertia ixx="0.00036" ixy="-0.00003" ixz="-0.00039" iyy="0.00423" iyz="0.00001" izz="0.00420" />
|
| 88 |
+
</inertial>
|
| 89 |
+
<visual>
|
| 90 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 91 |
+
<geometry>
|
| 92 |
+
<mesh filename="./meshes/link3.STL" />
|
| 93 |
+
</geometry>
|
| 94 |
+
<material name="">
|
| 95 |
+
<color rgba="1 0.98431 0.96471 1" />
|
| 96 |
+
</material>
|
| 97 |
+
</visual>
|
| 98 |
+
<collision>
|
| 99 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 100 |
+
<geometry>
|
| 101 |
+
<mesh filename="./meshes/link3.STL" />
|
| 102 |
+
</geometry>
|
| 103 |
+
</collision>
|
| 104 |
+
</link>
|
| 105 |
+
<joint name="joint3" type="revolute">
|
| 106 |
+
<origin xyz="-0.264 0 0" rpy="3.1416 0 0" />
|
| 107 |
+
<parent link="link2" />
|
| 108 |
+
<child link="link3" />
|
| 109 |
+
<axis xyz="0 1 0" />
|
| 110 |
+
<limit lower="-0.10000000149011612" upper="3.200000047683716" effort="30.0" velocity="5.5" />
|
| 111 |
+
</joint>
|
| 112 |
+
<link name="link4">
|
| 113 |
+
<inertial>
|
| 114 |
+
<origin xyz="0.040231 0.0044807 -0.035335" rpy="0 0 0" />
|
| 115 |
+
<mass value="0.11714" />
|
| 116 |
+
<inertia ixx="0.00019" ixy="-0.00002" ixz="-0.00009" iyy="0.00023" iyz="0.00002" izz="0.00014" />
|
| 117 |
+
</inertial>
|
| 118 |
+
<visual>
|
| 119 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 120 |
+
<geometry>
|
| 121 |
+
<mesh filename="./meshes/link4.STL" />
|
| 122 |
+
</geometry>
|
| 123 |
+
<material name="">
|
| 124 |
+
<color rgba="0.79216 0.81961 0.92941 1" />
|
| 125 |
+
</material>
|
| 126 |
+
</visual>
|
| 127 |
+
<collision>
|
| 128 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 129 |
+
<geometry>
|
| 130 |
+
<mesh filename="./meshes/link4.STL" />
|
| 131 |
+
</geometry>
|
| 132 |
+
</collision>
|
| 133 |
+
</link>
|
| 134 |
+
<joint name="joint4" type="revolute">
|
| 135 |
+
<origin xyz="0.245 0 -0.056" rpy="0 0 0" />
|
| 136 |
+
<parent link="link3" />
|
| 137 |
+
<child link="link4" />
|
| 138 |
+
<axis xyz="0 1 0" />
|
| 139 |
+
<limit lower="-1.600000023841858" upper="1.5499999523162842" effort="15.0" velocity="5.5" />
|
| 140 |
+
</joint>
|
| 141 |
+
<link name="link5">
|
| 142 |
+
<inertial>
|
| 143 |
+
<origin xyz="0.003612 -1.5455E-05 0.055214" rpy="0 0 0" />
|
| 144 |
+
<mass value="0.63488" />
|
| 145 |
+
<inertia ixx="0.00083" ixy="0.00000" ixz="0.00007" iyy="0.00082" iyz="0.00000" izz="0.00026" />
|
| 146 |
+
</inertial>
|
| 147 |
+
<visual>
|
| 148 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 149 |
+
<geometry>
|
| 150 |
+
<mesh filename="./meshes/link5.STL" />
|
| 151 |
+
</geometry>
|
| 152 |
+
<material name="">
|
| 153 |
+
<color rgba="0.69804 0.69804 0.69804 1" />
|
| 154 |
+
</material>
|
| 155 |
+
</visual>
|
| 156 |
+
<collision>
|
| 157 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 158 |
+
<geometry>
|
| 159 |
+
<mesh filename="./meshes/link5.STL" />
|
| 160 |
+
</geometry>
|
| 161 |
+
</collision>
|
| 162 |
+
</link>
|
| 163 |
+
<joint name="joint5" type="revolute">
|
| 164 |
+
<origin xyz="0.06775 0.0005 -0.0865" rpy="0 0 0" />
|
| 165 |
+
<parent link="link4" />
|
| 166 |
+
<child link="link5" />
|
| 167 |
+
<axis xyz="0 0 1" />
|
| 168 |
+
<limit lower="-1.5700000524520874" upper="1.5700000524520874" effort="10.0" velocity="5.0" />
|
| 169 |
+
</joint>
|
| 170 |
+
<link name="link6">
|
| 171 |
+
<inertial>
|
| 172 |
+
<origin xyz="0.041697 2.4368E-05 0.00014464" rpy="0 0 0" />
|
| 173 |
+
<mass value="0.44089" />
|
| 174 |
+
<inertia ixx="0.00038" ixy="0.00000" ixz="0.00000" iyy="0.00028" iyz="0.00000" izz="0.00050" />
|
| 175 |
+
</inertial>
|
| 176 |
+
<visual>
|
| 177 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 178 |
+
<geometry>
|
| 179 |
+
<mesh filename="./meshes/link6.STL" />
|
| 180 |
+
</geometry>
|
| 181 |
+
<material name="">
|
| 182 |
+
<color rgba="0.89804 0.91765 0.92941 1" />
|
| 183 |
+
</material>
|
| 184 |
+
</visual>
|
| 185 |
+
<collision>
|
| 186 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 187 |
+
<geometry>
|
| 188 |
+
<mesh filename="./meshes/link6.STL" />
|
| 189 |
+
</geometry>
|
| 190 |
+
</collision>
|
| 191 |
+
</link>
|
| 192 |
+
<joint name="joint6" type="revolute">
|
| 193 |
+
<origin xyz="0.02895 0 0.0865" rpy="-3.1416 0 0" />
|
| 194 |
+
<parent link="link5" />
|
| 195 |
+
<child link="link6" />
|
| 196 |
+
<axis xyz="1 0 0" />
|
| 197 |
+
<limit lower="-2.0" upper="2.0" effort="10.0" velocity="5.0" />
|
| 198 |
+
</joint>
|
| 199 |
+
<link name="link7">
|
| 200 |
+
<inertial>
|
| 201 |
+
<origin xyz="-0.00035522 -0.007827 -0.0029883" rpy="0 0 0" />
|
| 202 |
+
<mass value="0.064798" />
|
| 203 |
+
<inertia ixx="0.00002" ixy="0.00000" ixz="0.00000" iyy="0.00003" iyz="0.00000" izz="0.00003" />
|
| 204 |
+
</inertial>
|
| 205 |
+
<visual>
|
| 206 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 207 |
+
<geometry>
|
| 208 |
+
<mesh filename="./meshes/link7.STL" />
|
| 209 |
+
</geometry>
|
| 210 |
+
<material name="">
|
| 211 |
+
<color rgba="1 1 1 1" />
|
| 212 |
+
</material>
|
| 213 |
+
</visual>
|
| 214 |
+
<collision>
|
| 215 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 216 |
+
<geometry>
|
| 217 |
+
<mesh filename="./meshes/link7.STL" />
|
| 218 |
+
</geometry>
|
| 219 |
+
</collision>
|
| 220 |
+
</link>
|
| 221 |
+
<joint name="joint7" type="prismatic">
|
| 222 |
+
<origin xyz="0.08657 0.024896 -0.0002436" rpy="0 0 0" />
|
| 223 |
+
<parent link="link6" />
|
| 224 |
+
<child link="link7" />
|
| 225 |
+
<axis xyz="0 1 0" />
|
| 226 |
+
<limit lower="0.0" upper="0.04399999976158142" effort="10.0" velocity="0.1" />
|
| 227 |
+
</joint>
|
| 228 |
+
<link name="link8">
|
| 229 |
+
<inertial>
|
| 230 |
+
<origin xyz="-0.00035522 0.0078277 0.0024201" rpy="0 0 0" />
|
| 231 |
+
<mass value="0.064798" />
|
| 232 |
+
<inertia ixx="0.00002" ixy="0.00000" ixz="0.00000" iyy="0.00003" iyz="0.00000" izz="0.00003" />
|
| 233 |
+
</inertial>
|
| 234 |
+
<visual>
|
| 235 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 236 |
+
<geometry>
|
| 237 |
+
<mesh filename="./meshes/link8.STL" />
|
| 238 |
+
</geometry>
|
| 239 |
+
<material name="">
|
| 240 |
+
<color rgba="1 1 1 1" />
|
| 241 |
+
</material>
|
| 242 |
+
</visual>
|
| 243 |
+
<collision>
|
| 244 |
+
<origin xyz="0 0 0" rpy="0 0 0" />
|
| 245 |
+
<geometry>
|
| 246 |
+
<mesh filename="./meshes/link8.STL" />
|
| 247 |
+
</geometry>
|
| 248 |
+
</collision>
|
| 249 |
+
</link>
|
| 250 |
+
<joint name="joint8" type="prismatic">
|
| 251 |
+
<origin xyz="0.08657 -0.0249 -0.00024366" rpy="0 0 0" />
|
| 252 |
+
<parent link="link6" />
|
| 253 |
+
<child link="link8" />
|
| 254 |
+
<axis xyz="0 -1 0" />
|
| 255 |
+
<limit lower="0.0" upper="0.04399999976158142" effort="10.0" velocity="0.1" />
|
| 256 |
+
</joint>
|
| 257 |
+
<link name="grasp_center" />
|
| 258 |
+
<joint name="tool_frame" type="fixed">
|
| 259 |
+
<parent link="link6" />
|
| 260 |
+
<child link="grasp_center" />
|
| 261 |
+
<origin xyz="0.145 0 0" rpy="0 1.5707963267948966 0" />
|
| 262 |
+
</joint>
|
| 263 |
+
</robot>
|