Hi, I am wondering if there is an updated tutorial on giving joint commands to gazebo through ROS.
First I run this in one window, and it launches.
roslaunch stretch_gazebo gazebo.launch rviz:=true
I try to write a node in raspy to give action commands: when I try to initialize a SimpleActionClient, it isn’t working:
self.trajectory_arm_client = actionlib.SimpleActionClient( '/stretch_arm_controller/follow_joint_trajectory', FollowJointTrajectoryAction) server_reached = self.trajectory_arm_client.wait_for_server(timeout=rospy.Duration(60.0)) rospy.loginfo("Waiting for server_reached") rospy.loginfo("Server Reached:{0}".format(server_reached))
It outputs Server Reached:false