openarm_ros2/openarm_bringup/config/openarm_controllers.yaml

85 lines
2.1 KiB
YAML
Raw Normal View History

# Copyright (c) 2024 Stogl Robotics Consulting UG (haftungsbeschränkt)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Source of this file are templates in
# [RosTeamWorkspace](https://github.com/StoglRobotics/ros_team_workspace) repository.
#
# Author: Dr. Denis
#
controller_manager:
ros__parameters:
update_rate: 100 # Hz
joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster
forward_position_controller:
type: forward_command_controller/ForwardCommandController
forward_velocity_controller:
type: forward_command_controller/ForwardCommandController
joint_trajectory_controller:
type: joint_trajectory_controller/JointTrajectoryController
forward_position_controller:
ros__parameters:
joints:
- rev1
- rev2
- rev3
- rev4
- rev5
- rev6
- rev7
interface_name: position
forward_velocity_controller:
ros__parameters:
joints:
- rev1
- rev2
- rev3
- rev4
- rev5
- rev6
- rev7
interface_name: velocity
joint_trajectory_controller:
ros__parameters:
joints:
- rev1
- rev2
- rev3
- rev4
- rev5
- rev6
- rev7
command_interfaces:
- position
state_interfaces:
- position
state_publish_rate: 50.0 # Defaults to 50
action_monitor_rate: 50.0 # Defaults to 20
allow_partial_joints_goal: false # Defaults to false
constraints:
stopped_velocity_tolerance: 0.01 # Defaults to 0.01
goal_time: 0.0 # Defaults to 0.0 (start immediately)