浏览代码

TcpServer class was renamed

/devin-main-fix
LaurieCheers 4 年前
当前提交
d45009f5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      tutorials/pick_and_place/ROS/src/niryo_moveit/scripts/server_endpoint.py

4
tutorials/pick_and_place/ROS/src/niryo_moveit/scripts/server_endpoint.py


import rospy
from ros_tcp_endpoint import TCPServer, RosPublisher, RosSubscriber, RosService
from ros_tcp_endpoint import TcpServer, RosPublisher, RosSubscriber, RosService
from niryo_moveit.msg import NiryoMoveitJoints, NiryoTrajectory
from niryo_moveit.srv import MoverService

ros_node_name = rospy.get_param("/TCP_NODE_NAME", 'TCPServer')
tcp_server = TCPServer(ros_node_name)
tcp_server = TcpServer(ros_node_name)
# Create ROS communication objects dictionary for routing messages
tcp_server.source_destination_dict = {

正在加载...
取消
保存