Skip to content

Commit

Permalink
Added warning messages for robot's movement.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsd-dev committed Sep 6, 2018
1 parent 14e9877 commit 8df328d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ur_driver/test_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_trajectory_goal(_jnt_names, q1, q2, q3, t=t_stamps):

def handle_send_goal(_traj_ac, g):
_traj_ac.send_goal(g)
rospy.logwarn("The robot is going to move now!")
try:
_traj_ac.wait_for_result()
except KeyboardInterrupt:
Expand Down Expand Up @@ -99,7 +100,8 @@ def get_controller():

def user_menu():
choice=True
print("""
rospy.logwarn("Choosing any of the options below will move the robot's joint 5 and 6 by 0.3 radians in either direction. Make sure there is enough free space for this movement, especially if an end-effector is mounted on the robot.")
print("""
1.Perform a pre-defined sequence of joint movements once
2.Perform a pre-defined sequence of joint movements in a loop
3.Set joint values in JointTrajectory in a disordered way
Expand Down

0 comments on commit 8df328d

Please sign in to comment.