Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab sim refactor #382

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/arm_on_rail_sim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@ cmake_minimum_required(VERSION 3.22)
project(arm_on_rail_sim)

find_package(ament_cmake REQUIRED)
find_package(picknik_accessories REQUIRED)


# Install all XML files in directory
set(PICKNIK_ACCESSORIES_SHARE_DIR
"${CMAKE_INSTALL_PREFIX}/../picknik_accessories/share/picknik_accessories/mujoco_assets/"
)
# Destination directory
set(DEST_DIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/description/")

install(DIRECTORY "${PICKNIK_ACCESSORIES_SHARE_DIR}"
DESTINATION "${DEST_DIR}"
FILES_MATCHING PATTERN "*")

# Install individual XML files
#
# set(EXTERNAL_XML_FILES
# "${PICKNIK_ACCESSORIES_SHARE_DIR}/ur5e/ur5e_globals.xml"
# "${PICKNIK_ACCESSORIES_SHARE_DIR}/ur5e/ur5e.xml"
# # Add additional files here if desired
# )
# foreach(xml_file IN LISTS EXTERNAL_XML_FILES)
# install(FILES "${xml_file}"
# DESTINATION "${DEST_DIR}"
# )
# endforeach()

install(
DIRECTORY
Expand Down
1 change: 1 addition & 0 deletions src/arm_on_rail_sim/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ hardware:
path: "config/moveit/picknik_ur.srdf"
urdf_params:
- mujoco_model: "description/scene.xml"
# - mujoco_model: "description/lab_scene.xml"
mewtwoshaurd marked this conversation as resolved.
Show resolved Hide resolved

moveit_params:
servo:
Expand Down
Binary file removed src/arm_on_rail_sim/description/assets/Cube.stl
Binary file not shown.
Binary file removed src/arm_on_rail_sim/description/assets/base.stl
Binary file not shown.
Loading
Loading