ros-industrial-consortium / descartes

ROS-Industrial Special Project: Cartesian Path Planner
Apache License 2.0
131 stars 91 forks source link

Could not connect to action server - Could not execute trajectory #240

Open manujtrehan opened 5 years ago

manujtrehan commented 5 years ago

I was trying to control my robot model and make it follow a cartesian path using ros_descartes. However, while trying to execute the code, I get the following errors:

[ WARN] [1560596479.774029295]: Nominal time value must be greater than or equal to 0.0
[ INFO] [1560596479.785635458]: Computed path of length 10 with cost 4.097252
[ERROR] [1560596484.797170637]: Could not connect to action server
[ERROR] [1560596484.812627409]: Could not execute trajectory!
[ WARN] [1560596484.812992340]: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
[ WARN] [1560596484.813060895]: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.

Can someone please help me with solving this issue?

benthebear93 commented 3 years ago

Test env : 18.04 melodic It was old one but I solve by changing controller.yaml file from

controller_list:
  - name: ""
    action_ns: joint_trajectory_action
    type: FollowJointTrajectory
    joints: [joint_1, joint_2, joint_3, joint_4, joint_5, joint_6]

to

controller_list:
  - name: ""
    action_ns: joint_trajectory_action
    type: FollowJointTrajectory
    joints: 
      - joint_1
      - joint_2
      - joint_3
      - joint_4
      - joint_5
      - joint_6