pi_tracker catkin

asked 2014-06-16 12:49:45 -0500

morenot gravatar image

Hi I am using pi_tracker with catkin, I saved the package inside src and the catkin_make. When I try to launch skeleton.launch it says it is not a launch file. Does anyone know how to fix this problem?

edit retag flag offensive close merge delete

Comments

We need more information to help you, like "what was the actual error (copy and paste it)", "what commands did you run", things like that.

William gravatar image William  ( 2014-06-16 13:28:46 -0500 )edit

alonso@cseebaxter:~/DissertationMorenoGroovy/src$ roslaunch pi_tracker skeleton.launch [skeleton.launch] is neither a launch file in package [pi_tracker] nor is [pi_tracker] a launch file name This is what I got and the pi_tracker is located as follows alonso@cseebaxter:~/DissertationMorenoGroovy/src/pi_tracker$

morenot gravatar image morenot  ( 2014-06-17 05:33:48 -0500 )edit

Did you sourced the setup file from the devel folder after invoking catkin_make?

Dirk Thomas gravatar image Dirk Thomas  ( 2014-06-17 15:20:33 -0500 )edit

Yes I did and I am not getting that error anymore, I realized that I had to "run" my robot's bash before, but now I am getting another error when doing "roslaunch pi_tracker skeleton.launch" (I should mention I am using groovy)

morenot gravatar image morenot  ( 2014-06-18 09:16:53 -0500 )edit

Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/groovy/stacks/xacro/xacro.py '/home/alonso/DissertationMorenoGroovy/src/pi_tracker/urdf/pi_robot/pi_robot_with_two_arms.xacro'] returned with code [1]. Param xml is "param command="$(find xacro)/xacro.py '$(find pi_tracker)/urdf/pi_robot/pi_robot_with_two_arms.xacro'" name="robot_description"/

morenot gravatar image morenot  ( 2014-06-18 09:17:02 -0500 )edit

Param xml is "param command="$(find xacro)/xacro.py '$(find pi_tracker)/urdf/pi_robot/pi_robot_with_two_arms.xacro'" name="robot_description"/

morenot gravatar image morenot  ( 2014-06-18 09:17:33 -0500 )edit
1

The skeleton.launch file needs a URDF model of the robot you are using. The default is to load the two-arm version of Pi Robot which you probably do not have. So modify the skeleton.launch file so that the robot_description param points to the actual location of the URDF file for your robot.

Pi Robot gravatar image Pi Robot  ( 2014-06-19 09:05:48 -0500 )edit

skeleton.launch is working properly. Changed everything to my URDF, now when I try tracker.launch I get the following error.... from dynamixel_controllers.srv import TorqueEnable, SetTorqueLimit, SetSpeed ImportError: No module named dynamixel_controllers.srv I don't understand this. THank you

morenot gravatar image morenot  ( 2014-06-23 06:54:14 -0500 )edit