ros-industrial / robotiq

Robotiq packages (http://wiki.ros.org/robotiq)
BSD 2-Clause "Simplified" License
228 stars 378 forks source link

This goal was canceled because another goal was recieved by the simple action server #181

Open ysl208 opened 3 years ago

ysl208 commented 3 years ago

Hi, I am using your gripper action server and wrote an action client that sends a goal to the action server.

$ rostopic echo /gripper/goal
header: 
  seq: 11
  stamp: 
    secs: 1606906589
    nsecs: 903884543
  frame_id: ''
goal_id: 
  stamp: 
    secs: 1606906589
    nsecs: 903884669
  id: "/ur_actuator_server-12-1606906589.903884669"
goal: 
  command: 
    position: -0.01
    max_effort: 100.0

For some reason it seems to fail because it thinks that there is a new goal being sent. But in the above echo it only shows one goal, so I'm not sure what's going wrong here.

$ rostopic echo /gripper/status
header: 
  seq: 16496
  stamp: 
    secs: 1606906595
    nsecs:  45961902
  frame_id: ''
status_list: 
  - 
    goal_id: 
      stamp: 
        secs: 1606906466
        nsecs: 661330786
      id: "/rapid_pbd/ur_actuator_server-11-1606906466.661330786"
    status: 8
    text: "This goal was canceled because another goal was recieved by the simple action server"
  - 
    goal_id: 
      stamp: 
        secs: 1606906589
        nsecs: 903884669
      id: "/rapid_pbd/ur_actuator_server-12-1606906589.903884669"
    status: 0
    text: ''