ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error in launching Joystick_contol.launch

asked 2018-04-29 07:51:28 -0500

Kashyap.m94 gravatar image

Hey guys,

I am trying to control my robot arm with a XBOX 360 console, When I am trying to launch the launch file (joystick_control.launch), I am getting the following error below. Can anyone kindly tell me as to where am I committing the mistake? Thanks in advance !

roslaunch joystick_control.launch 
... logging to /home/kashyap/.ros/log/0e62e4cc-4b94-11e8-91a2-e82a44e7a573/roslaunch-kashyap-Lenovo-ideapad-320-15IKB-21878.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://kashyap-Lenovo-ideapad-320-15IKB:34895/
SUMMARY
========
PARAMETERS
* /joy/autorepeat_rate: 40
* /joy/coalesce_interval: 0.025
* /joy/deadzone: 0.2
* /joy/dev: /dev/input/js0
* /rosdistro: kinetic
* /rosversion: 1.12.13

NODES
/
 joy (joy/joy_node)
moveit_joy (moveit_ros_visualization/moveit_joy.py)
ROS_MASTER_URI=http://localhost:11311

process[joy-1]: started with pid [21895]
process[moveit_joy-2]: started with pid [21896]
[ERROR] [1524996050.168624845]: Couldn't open joystick /dev/input/js0. Will retry every second.
[ INFO] [1524996050.967877063]: Loading robot model 'igus'...
[ INFO] [1524996050.967919483]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ INFO] [1524996051.220354327]: Loading robot model 'igus'...
[ INFO] [1524996051.220388920]: No root/virtual joint specified in SRDF. Assuming fixed joint
[FATAL] [1524996051.417448]: Check if you started movegroups. Exiting.
Traceback (most recent call last):
 File "/home/kashyap/catkin_ws/src/moveit/moveit_ros/visualization/scripts/moveit_joy.py", line 42, in <module>
app = MoveitJoy()
File "/home/kashyap/catkin_ws/src/moveit/moveit_ros/visualization/src/moveit_ros_visualization/moveitjoy_module.py", line 381, in __init__
 self.updatePlanningGroup(0)
File "/home/kashyap/catkin_ws/src/moveit/moveit_ros/visualization/src/moveit_ros_visualization/moveitjoy_module.py", line 405, in updatePlanningGroup
raise rospy.ROSInitException(msg)
rospy.exceptions.ROSInitException: Check if you started movegroups. Exiting.
[moveit_joy-2] process has died [pid 21896, exit code 1, cmd /home/kashyap/catkin_ws/src/moveit/moveit_ros/visualization/scripts/moveit_joy.py __name:=moveit_joy __log:=/home/kashyap/.ros/log/0e62e4cc-4b94-11e8-91a2-e82a44e7a573/moveit_joy-2.log].
log file: /home/kashyap/.ros/log/0e62e4cc-4b94-11e8-91a2-e82a44e7a573/moveit_joy-2*.log
edit retag flag offensive close merge delete

Comments

Are you running the move_group node? Seems like it's not able to find that node.

Sidd gravatar image Sidd  ( 2018-05-05 11:44:29 -0500 )edit

Yes, I am doing that too. The kind of error I am facing is in the link below. Can you kindly check it from the link below

https://discourse.ros.org/t/move-grou...

Kashyap.m94 gravatar image Kashyap.m94  ( 2018-05-05 11:49:58 -0500 )edit

It seems that the demo.launch is already running a move_group node, and gets killed when you run the second launch script.

Sidd gravatar image Sidd  ( 2018-05-05 18:07:53 -0500 )edit

As for the second error it seems that you don't have joint_trajectory_action_controller for your arm controller.

Sidd gravatar image Sidd  ( 2018-05-05 18:11:02 -0500 )edit

Any idea or can you guide me how can I correct this errors?

Kashyap.m94 gravatar image Kashyap.m94  ( 2018-05-06 05:13:34 -0500 )edit

Check if you're running the correct (and only) move_group instance for the first one. As for the second one, it might be a namespacing error or that you're not loading the controller in your launch script.

Sidd gravatar image Sidd  ( 2018-05-07 23:59:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-29 09:33:46 -0500

Have a look at here, it might help! https://answers.ros.org/question/2544...

edit flag offensive delete link more

Comments

I did actually go through the above link earlier, but the problem there and the problem I am getting are different.

Kashyap.m94 gravatar image Kashyap.m94  ( 2018-04-30 05:01:37 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-04-29 07:51:28 -0500

Seen: 967 times

Last updated: Apr 29 '18