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

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-03-17 02:38:47 -0600

sam gravatar image

Wow~~Great success!! Thank you very much~~~

Let me summarized my error:

First, I don't know I should run echo "export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;" >> ~/.bashrc so I just run this command for temporially can be make by rosmake: export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;

Second, When I change my project name,I also change the controller_plugins.xml file's type. That I shouldn't change, but I couldn't find it, so I continue to try to change namespace or pluginname or something...

Now it's works~~ Thank you again~~

My screen shows:

 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/type MyControllerPlugin
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/joint_name r_shoulder_pan_joint
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosrun pr2_controller_manager pr2_controller_manager load MyControllerClass
 Loaded MyControllerClass
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$

Next terminal:

 [INFO] 1300372190.324458: Started controllers: base_controller, base_odometry, head_traj_controller, laser_tilt_controller, torso_controller, r_gripper_controller, l_gripper_controller, r_arm_controller, l_arm_controller
 [ INFO] [1300372190.359610589, 0.596000000]: Initializing Odom sensor
 [ INFO] [1300372190.400242444, 0.641000000]: Odom sensor activated
 [ INFO] [1300372190.450955336, 0.685000000]: Kalman filter initialized with odom measurement
 [ WARN] [1300372211.880481727, 21.544000000]: The deprecated controller type MyControllerPlugin was not found.  Using the namespaced version joint_controller_pkg/MyControllerPlugin instead.  Please update your configuration to use the namespaced version.
click to hide/show revision 2
add one small question

Wow~~Great success!! Thank you very much~~~

Let me summarized my error:

First, I don't know I should run echo "export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;" >> ~/.bashrc so I just run this command for temporially can be make by rosmake: export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;

Second, When I change my project name,I also change the controller_plugins.xml file's type. That I shouldn't change, but I couldn't find it, so I continue to try to change namespace or pluginname or something...

Now it's works~~ Thank you again~~

My screen shows:

 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/type MyControllerPlugin
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/joint_name r_shoulder_pan_joint
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosrun pr2_controller_manager pr2_controller_manager load MyControllerClass
 Loaded MyControllerClass
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$

Next terminal:

 [INFO] 1300372190.324458: Started controllers: base_controller, base_odometry, head_traj_controller, laser_tilt_controller, torso_controller, r_gripper_controller, l_gripper_controller, r_arm_controller, l_arm_controller
 [ INFO] [1300372190.359610589, 0.596000000]: Initializing Odom sensor
 [ INFO] [1300372190.400242444, 0.641000000]: Odom sensor activated
 [ INFO] [1300372190.450955336, 0.685000000]: Kalman filter initialized with odom measurement
 [ WARN] [1300372211.880481727, 21.544000000]: The deprecated controller type MyControllerPlugin was not found.  Using the namespaced version joint_controller_pkg/MyControllerPlugin instead.  Please update your configuration to use the namespaced version.

The last question is that there appear one warning,is that correct for controllers?

Wow~~Great success!! Thank all of you very much~~~

Let me summarized my error:

First, I don't know I should run echo "export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;" >> ~/.bashrc so I just run this command for temporially can be make by rosmake: export ROS_PACKAGE_PATH=$PWD:$ROS_PACKAGE_PATH;

Second, When I change my project name,I also change the controller_plugins.xml file's type. That I shouldn't change, but I couldn't find it, so I continue to try to change namespace or pluginname or something...

Now it's works~~ Thank you again~~

My screen shows:

 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/type MyControllerPlugin
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosparam set MyControllerClass/joint_name r_shoulder_pan_joint
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$ rosrun pr2_controller_manager pr2_controller_manager load MyControllerClass
 Loaded MyControllerClass
 sam@sam-desktop:~/code/ros/controller/joint_controller_pkg$

Next terminal:

 [INFO] 1300372190.324458: Started controllers: base_controller, base_odometry, head_traj_controller, laser_tilt_controller, torso_controller, r_gripper_controller, l_gripper_controller, r_arm_controller, l_arm_controller
 [ INFO] [1300372190.359610589, 0.596000000]: Initializing Odom sensor
 [ INFO] [1300372190.400242444, 0.641000000]: Odom sensor activated
 [ INFO] [1300372190.450955336, 0.685000000]: Kalman filter initialized with odom measurement
 [ WARN] [1300372211.880481727, 21.544000000]: The deprecated controller type MyControllerPlugin was not found.  Using the namespaced version joint_controller_pkg/MyControllerPlugin instead.  Please update your configuration to use the namespaced version.

The last question is that there appear one warning,is that correct for controllers?