hello,
i tried to execute the action client to move the robot and also take photos.
i used the “Twist” message and a while loop but the robot doesn’t move.
this is the while loop i created:
state_result = client.get_state()
rate = rospy.Rate(1)
rospy.loginfo("state_result: "+str(state_result))
pub.publish(move)
while state_result < DONE:
rospy.loginfo(“Doing Stuff while waiting for the Server to give a result…”)
pub.publish(move)
rate.sleep()
state_result = client.get_state()
rospy.loginfo("state_result: "+str(state_result))
move.linear.x = 0
move.angular.z = 0
pub.publish(move)
do u see a problem?
thanks!