ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

查看: 1599|回复: 1

[求助] /joint_trajectory_controller/state话题

[复制链接]
发表于 2023-4-13 15:37:24 | 显示全部楼层 |阅读模式

马上注册成为ROSABC会员,随时发帖回复。

您需要 登录 才可以下载或查看,没有账号?会员注册

x
1、在控制器配置文件:[backcolor=rgba(175, 184, 193, 0.2)]gazebo_controllers.yaml

[backcolor=rgba(175, 184, 193, 0.2)]设置如下代码:

# Publish joint_states
joint_state_controller:
  type: joint_state_controller/JointStateController
  publish_rate: 50
  
joint_trajectory_controller:
  type: "joint_trajectory_controller/JointTrajectoryController"
  publish_rate: 50

2、在启动文件添加如下语句

<!-- Load the controller parameters onto the parameter server -->
  <rosparam file="$(find Gluon_moveit_config)/config/gazebo_controllers.yaml" />
  <include file="$(dirname)/ros_controllers.launch"/>


3、运行:roslaunch Gluon_moveit_config gazebo.launch
4、查阅话题:rostopic list
并没有出现/joint_trajectory_controller/state话题

您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2025-6-15 20:28 , Processed in 0.145528 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表