# Problem with teleop

Hi all,

My teleop didnt work properly in my electric installation. I got the command velocity info that I passed to husky A200. But the problem was, husky didnt move a bit. So I tried to replace the below mentioned three packages with another set of same packages in opt/ros/electric/stacks:-

clearpath_common

clearpath_husky

clearpath_kinect

I also rosmaked all of them. It all went error free. But, when I tried to run:-

roslaunch husky_teleop teleop.launch

It gave me this error :-

ERROR: cannot launch node of type [clearpath_teleop/teleop.py]: Cannot locate node of type [teleop.py] in package [clearpath_teleop]

But the node is present, when I checked the location. I also tried to replace the new ones with my old packages. But still the same error persisted.

Any help would be appreciated. Thanks in advance

edit retag close merge delete

Sort by » oldest newest most voted

Are you sure that clearpath_teleop is in your ROS_PACKAGE_PATH? Try with roscd clearpath_teleop.

Also, I don't believe this will solve the problem you had according to your previous question. Did you try fixing what I assume to be a networking problem? Otherwise, this node won't work either.

more

@Lorentz

Yeah clearpath_teleop is my ROS_PACKAGE_PATH. I tried to set ROS_IP and other variables like this :-

export ROS_IP=192.168.1.2 (WHICH IS HUSKY'S ip)

export ROS_HOSTNAME=cpr-sal-01 (which is husky's name)

export ROS_MASTER_URI=http://cpr-sal-01:11311

I tried the above, but it didnt work. Have I done this correctly ?. Thanks in advance

more

Please don't create new answers just for discussion. Either use the comment functionality or edit your original answer. ROS_IP must be the ip of your local computer. You don't need to set ROS_HOSTNAME if you have set ROS_IP. Please provide the output of the commands I posted in your other question.

( 2012-09-03 02:49:45 -0500 )edit