Skip to content

Commit

Permalink
Add interactive marker to moveit example launch file (backport #205)
Browse files Browse the repository at this point in the history
  • Loading branch information
svastits committed Dec 20, 2024
1 parent 2c84eda commit 140c853
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/industrial_ci_humble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
ref: humble

# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/industrial_ci_jazzy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
with:
fetch-depth: 0
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ repos:
name: ament_cppcheck
exclude: .*/fri_client_sdk/.*|.*/mock/.*
description: Static code analysis of C/C++ files.
stages: [commit]
stages: [pre-commit]
entry: env AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS=TRUE ament_cppcheck
language: system
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
Expand All @@ -98,7 +98,7 @@ repos:
name: ament_cpplint
exclude: .*/fri_client_sdk/.*|.*/mock/.*
description: Static code analysis of C/C++ files.
stages: [commit]
stages: [pre-commit]
entry: ament_cpplint
language: system
files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$
Expand All @@ -110,7 +110,7 @@ repos:
- id: ament_lint_cmake
name: ament_lint_cmake
description: Check format of CMakeLists.txt files.
stages: [commit]
stages: [pre-commit]
entry: ament_lint_cmake
language: system
files: CMakeLists\.txt$
Expand All @@ -122,7 +122,7 @@ repos:
name: ament_copyright
exclude: .*/fri_client_sdk/.*|.*/mock/.*
description: Check if copyright notice is available in all files.
stages: [commit]
stages: [pre-commit]
entry: ament_copyright
language: system

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,15 @@ def launch_setup(context, *args, **kwargs):
)

rviz_config_file = (
get_package_share_directory("kuka_resources") + "/config/view_6_axis_planning_scene.rviz"
get_package_share_directory("kuka_resources") + "/config/planning_6_axis.rviz"
)

robot_description_kinematics = {
"robot_description_kinematics": {
"manipulator": {"kinematics_solver": "kdl_kinematics_plugin/KDLKinematicsPlugin"}
}
}

startup_launch = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
[get_package_share_directory("kuka_iiqka_eac_driver"), "/launch/startup.launch.py"]
Expand All @@ -93,6 +99,9 @@ def launch_setup(context, *args, **kwargs):
name="rviz2",
output="log",
arguments=["-d", rviz_config_file, "--ros-args", "--log-level", "error"],
parameters=[
robot_description_kinematics,
],
)

to_start = [startup_launch, move_group_server, rviz]
Expand Down

0 comments on commit 140c853

Please sign in to comment.