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

Abdul Mannan's profile - activity

2022-08-24 23:42:12 -0500 edited question Could not find a package configuration file provided by "control_toolbox"

Could not find a package configuration file provided by "control_toolbox" Hello, I am trying to install control_toolbox

2022-08-18 02:47:54 -0500 asked a question Could not find a package configuration file provided by "control_toolbox"

Could not find a package configuration file provided by "control_toolbox" Hello, I am trying to install control_toolbox

2021-04-08 03:11:38 -0500 commented answer No JPEG data found in image

Could you please explain how you changed format from mjped to yuyu?

2020-12-28 21:06:21 -0500 commented answer externalcontrol URCap from ur_robot_driver cannot establish connection with host pc

I am having exactly the same problem. Also, when I run nc 192.168.0.77 50002 (my host IP address is 192.168.0.77), I get

2020-12-28 20:34:08 -0500 commented answer externalcontrol URCap from ur_robot_driver cannot establish connection with host pc

I am having exactly the same problem. How did you ping from robot side? Did you use Touch Panel i.e. PolyScope ? Or Did

2020-12-28 19:39:51 -0500 commented answer externalcontrol URCap from ur_robot_driver cannot establish connection with host pc

I am having exactly the same problem. How did you ping from robot side? Did you use Touch Panel i.e. PolyScope ?

2020-04-13 19:58:16 -0500 received badge  Nice Answer (source)
2020-04-07 06:07:40 -0500 received badge  Famous Question (source)
2020-04-07 06:07:40 -0500 received badge  Notable Question (source)
2019-09-18 10:59:07 -0500 marked best answer Frustrating Errors in Loading Motion Planning Library

I am facing very unusual problems. I have been using ROS-Indigo under Ubuntu 14.04 on my Virtual Machine and ROS-Indgio under Ubuntu 14.04 on my laptop. Surprisingly, I am seeing totally different kinds of errors on all of these machines while I am using the same tutorials.

Coming to the point, I am trying to run PR2 moveit tutorials given here. On my laptop, I am seeing the following error

PluginlibFactory: The plugin for class 'moveit_rviz_plugin/MotionPlanning' failed to load.  Error: According to the loaded plugin descriptions the class moveit_rviz_plugin/MotionPlanning with base class type rviz::Display does not exist.

and the following error

Exception while loading planner 'ompl_interface/OMPLPlanner': According to the loaded plugin descriptions the class ompl_interface/OMPLPlanner with base class type planning_interface::PlannerManager does not exist.

It is really very frustrating. So, I tried to run it on my virtual machine as well. Please help me, how can I handle this. I have been spending a lot of time on it and it is not working.

2019-05-20 02:02:33 -0500 marked best answer "brics_actuator" for ROS Kinetic

Hi,

I am trying to use a package Youbot Simulation. The problem is that it asks me for brics_actuator. I have tried using this link and this link.

I shall be very thankful to you if someone could give me some clue to help me resolve this.

I am using ROS Kinetic.

Thank You in advanced.

=========== Edit 1 ==============

After using this link, I got the following error,

    In file included from /opt/ros/kinetic/include/moveit/macros/class_forward.h:40:0,
                 from /opt/ros/kinetic/include/moveit/kinematics_base/kinematics_base.h:42,
                 from /home/khan/catkin_ws/src/youbot-manipulation/youbot_arm_kinematics_moveit/ros/include/youbot_arm_kinematics_moveit/youbot_arm_kinematics_moveit.h:6,
                 from /home/khan/catkin_ws/src/youbot-manipulation/youbot_arm_kinematics_moveit/ros/src/youbot_arm_kinematics_moveit.cpp:1:
/opt/ros/kinetic/include/moveit/macros/declare_ptr.h:52:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
   typedef std::shared_ptr<Type> Name##Ptr;                                                                             \
                ^
/opt/ros/kinetic/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
   MOVEIT_DECLARE_PTR(C, C);
   ^
/opt/ros/kinetic/include/moveit/kinematics_base/kinematics_base.h:137:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
 MOVEIT_CLASS_FORWARD(KinematicsBase);
 ^
/opt/ros/kinetic/include/moveit/macros/declare_ptr.h:53:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
   typedef std::shared_ptr<const Type> Name##ConstPtr;
                ^
/opt/ros/kinetic/include/moveit/macros/class_forward.h:51:3: note: in expansion of macro ‘MOVEIT_DECLARE_PTR’
   MOVEIT_DECLARE_PTR(C, C);
   ^
/opt/ros/kinetic/include/moveit/kinematics_base/kinematics_base.h:137:1: note: in expansion of macro ‘MOVEIT_CLASS_FORWARD’
 MOVEIT_CLASS_FORWARD(KinematicsBase);
 ^
youbot-manipulation/youbot_arm_kinematics_moveit/CMakeFiles/youbot_arm_kinematics_moveit.dir/build.make:62: recipe for target 'youbot-manipulation/youbot_arm_kinematics_moveit/CMakeFiles/youbot_arm_kinematics_moveit.dir/ros/src/youbot_arm_kinematics_moveit.cpp.o' failed

I believe that I have to enable C++11. Could you please tell me how did you do it? I think the error which I was receiving previously has been removed.

2019-04-18 15:55:59 -0500 marked best answer Writing Robot Dynamics Based Control in ROS

Please excuse me if my question is too basic. I have gone through ROS control package and moveit etc. But, I want to test my own controller. My question is simple. How can I do this? For example, I want to write my controller like

M(q)q_ddot + C(q,q_dot)q_dot +G(q) = tau

and so I design my control law "tau" as

tau = M^-1(a_q) + C(q,q_dot)q_dot + G(q)

Can anyone guide me for the steps I should take? I have modeled my robot in ROS using URDF etc. Now, I want to evaluate my own control law.

I have been following book Learning ROS for robotics programming and Mastering ROS for robotics programming but I could not understand this. Your words will be highly appreciable. Thanks.

2018-12-03 08:13:46 -0500 answered a question Has the turtlebot simulator been released for melodic version?

I guess turtlebot3 simulation has been released for melodic.

2018-06-22 06:18:06 -0500 received badge  Famous Question (source)
2018-06-21 11:07:50 -0500 received badge  Famous Question (source)
2017-10-17 03:30:08 -0500 marked best answer Book: Mastering ROS for Robotics Programming, 2nd Edn; Chapter 2 - Working with 3D Robot Modeling in ROS

Hi,

I am facing a problem in running tutorials given in the book: Mastering ROS in Robotic Programming, Chapter 2.

I am using Ubuntu 16.04 with ROS Kinetic. In particular, when I run my launch file as

khan@khan:~/catkin_ws/src/mastering_ros_robot_description_pkg/launch$ roslaunch mastering_ros_robot_description_pkg view_arm.launch

The following error occurs.

unknown macro name: xacro:base 
XacroException(u'unknown macro name: xacro:base',)

I have checked the file again and again and there is nothing I changed. It is the tutorial files. I don't know why it is not running. Please, suggest any help. Thank you so much.

2017-10-13 00:39:40 -0500 received badge  Notable Question (source)
2017-10-05 12:35:39 -0500 received badge  Popular Question (source)
2017-10-05 11:15:26 -0500 edited question "brics_actuator" for ROS Kinetic

"brics_actuator" for ROS Kinetic Hi, I am trying to use a package Youbot Simulation. The problem is that it asks me for

2017-10-05 11:14:15 -0500 commented answer "brics_actuator" for ROS Kinetic

I believe that I have to enable C++11. Could you please tell me how did you do it? I think the error which I was receivi

2017-10-05 11:14:09 -0500 edited question "brics_actuator" for ROS Kinetic

"brics_actuator" for ROS Kinetic Hi, I am trying to use a package Youbot Simulation. The problem is that it asks me for

2017-10-05 09:21:56 -0500 commented answer "brics_actuator" for ROS Kinetic

I have tried but it does not work.

2017-10-04 10:41:03 -0500 asked a question "brics_actuator" for ROS Kinetic

"brics_actuator" for ROS Kinetic Hi, I am trying to use a package Youbot Simulation. The problem is that it asks me for

2017-09-27 10:40:07 -0500 answered a question Error when installing pr2-simulator

You don't need to do that. Just go into your source file like cd ~/catkin_ws cd src in source file clone pr2 like t

2017-09-25 07:02:23 -0500 received badge  Famous Question (source)
2017-05-12 17:17:01 -0500 marked best answer cannot launch node of type interactive_marker_twist_server

I am using ROS-Kinetic under Ubuntu 16.06. I am constantly seeing this error in my screen.

ERROR: cannot launch node of type [interactive_marker_twist_server/marker_server]: interactive_marker_twist_server

I have gone through this Link and it shows this package is available for indigo and jade only. I tried but it does not work with Kinetic. I don't want to develop my expertise for indigo. Please, help. Thanks in advance

2017-05-12 17:16:11 -0500 received badge  Famous Question (source)
2017-05-12 17:16:11 -0500 received badge  Notable Question (source)
2017-04-26 12:40:09 -0500 received badge  Taxonomist
2017-04-20 14:14:38 -0500 marked best answer Book: Learning ROS for Robotics Programming 2nd Edn; Chapter 5 homography.cpp:16:39: fatal error: opencv2/nonfree/nonfree.hpp: No such file or directory

Hello, I am studying the book for beginners to understand ROS. When I compile chapter 5 tutorials, I face this problem.

/home/khan/catkin_ws/src/chapter5_tutorials/src/homography.cpp:16:39: fatal error: opencv2/nonfree/nonfree.hpp: No such file or directory

To resolve this problem, I have already gone through the following method mentioned herelink text

sudo apt-get update
sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get update
sudo apt-get install libopencv-nonfree-dev

but in following that method, I got another error such as

  E: Unable to locate package libopencv-nonfree-dev

to resolve this problem, I followed the method mentioned here as

sudo gedit /etc/apt/sources.list

and then make its backup and further change by adding these lines into the source.list file

deb http://kr.archive.ubuntu.com/ubuntu precise main restricted universe
deb-src http://kr.archive.ubuntu.com/ubuntu precise restricted main multiverse universe
deb http://kr.archive.ubuntu.com/ubuntu precise-updates main restricted universe
deb-src http://kr.archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe

and then finally updating it with

sudo apt-get update

After going through this whole method, still I am seeing this error

W: Failed to fetch http://ppa.launchpad.net/xqms/opencv-nonfree/ubuntu/dists/vivid/main/binary-amd64/Packages  404  Not Found

Please, help me in it, I have spent plenty of time in figuring it out and still my chapter5 tutorials are not being compiled. I shall buy cookies for you. :)

After going through the method explained by Dear Jarvis Schultz, I followed this problem further and I am getting this message. @Jarvisschults. i.e. undo the changes I made in source.list and run the following.

sudo add-apt-repository ppa:xqms/opencv-nonfree

I am getting this message. 

Please be aware of potential patent issues when using this PPA. For a list of included algorithms see:
http://docs.opencv.org/modules/nonfree/doc/nonfree.html
More info: https://launchpad.net/~xqms/+archive/ubuntu/opencv-nonfree

I guess it is worth mentioning that I am using Linux 15.04 under ROS Jade with graphic card NVIDIA GeForce GT630. I feel there might be some issue with it as I read it from this link in which the message is,

please do not advise users to add the Proprietary GPU Drivers PPA when it is not necessary, the nvidia-352 drivers are available in the official Ubuntu repositories. Adding this PPA is an option when these drivers don't work properly and you want to install the latest official stable NVIDIA drivers from the NVIDIA short-lived branch.

2017-04-20 14:09:36 -0500 marked best answer Book: Learning ROS for Robotics Programming, 2nd Edn; Chapter 5 - USB Camera is not running

I am using Ubuntu 15.04 and jade version of ROS. I am trying to use the usb camera by the method given in the book on page 187. My camera is already good and I checked it by the "cheese" method explained in there. Here is what I am doing

$ sudo apt-get install ros-jade-usb-cam

$ roslaunch chapter5_tutorials usb_cam.launch view:=true

here is what I am getting after doing this

[ERROR] [1453172400.684518103]: Webcam: expected picture but didn't get it...


[ERROR] [1453172400.684518103]: Webcam: expected picture but didn't get it...

Can any please tell me, how can I solve this problem? After getting Stefan Kohlbrecher; I am going to add the steps I took. Thank you so much Stefan Kohlbrecher for your kind response. Here is what I followed from your prescribed solution from here and here and also from here.

rosparam set usb_cam/pixel_format yuyv
roslaunch chapter5_tutorials usb_cam.launch view:=true

and here is what I got,

[ERROR] [1453352737.003836186]: Webcam: expected picture but didn't get it...
[mjpeg @ 0x1ffd7c0] mjpeg: unsupported coding type (cd)
[ERROR] [1453352737.043623383]: Webcam: expected picture but didn't get it...

I don't know why the code, commands and method shown in book is still not working.

2017-04-20 14:02:31 -0500 marked best answer Book: Learning ROS for Robotics Programming, 2nd Edn; Chapter 4 example1 Not Working - dynamaximal driver not installed

I thoroughly followed all the instructions given on chapter 4 of the book (Learning ROS for Robotics Programming 2nd edition) on Jade. That's the error I am seeing ![image description]. I have also followed all the instructions given in ROS tutorials ( http://wiki.ros.org/joy/Tutorials/Wri... ) but doing this giving me another type of error i.e. dynamaximal driver not installed. If possible please help me for any of it.

I am using ubuntu 15.04 on Jade. Thanks in advance.

2017-03-31 15:19:07 -0500 marked best answer Book: Mastering ROS for Robotics Programming, 2nd Edn; Chapter 3 - Simulating Robot using ROS & Gazebo

I am facing many problems. I am trying to learn ROS from the book they have supported officially but unfortunately, I am facing problem. I tried to simulate the model given in Chapter 2 of the same book and faced problem which is already reported here.

Now in the sequel, I am trying to learn Gazebo to simulate 7DOF robot given in that chapter given online but when I run it, I get this error.

-- Could not find the required component 'controller_manager'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "controller_manager" with any of the following names:

    controller_managerConfig.cmake
    controller_manager-config.cmake

  Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or
  set "controller_manager_DIR" to a directory containing one of the above
  files.  If "controller_manager" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  chapter_3_codes/diff_wheeled_robot_control/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!

I am using Ubuntu 16.04 under ROS Kinetic. I have also tried to run under Virtual Machine for Ubuntu 14.04 and ROS Indigo and got this error.

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package): 

Could not find a package configuration file provided by "joy" with any of
  the following names:
joyConfig.cmake
joy-config.cmake

Add the installation prefix of "joy" to CMAKE_PREFIX_PATH or set "joy_DIR"
  to a directory containing one of the above files.  If "joy" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  chapter_3_codes/diff_wheeled_robot_control/CMakeLists.txt:7 (find_package)


-- Could not find the required component 'joy'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.

Edit 1: September 6, 2016

Are you sure you ran the rosdep commands properly? Were there any errors? If I look at chapter_3_codes/diff_wheeled_robot_control/package.xml for instance, I definitely see a <build_depend>controller_manager</build_depend> and a run_depend, which should have resulted in rosdep installing ros-$distro-controller-manager for you.

I followed these official tutorials (link) to thoroughly check the rosdep.. I also checked the installed packages by using command

apt-cache search ros-kinetic

and I did see these packages available in installation

ros-kinetic-control-msgs - control_msgs contains base messages and actions useful for controlling robots.
ros-kinetic-control-toolbox - The control toolbox contains modules that are useful across all controllers. 
ros-kinetic-controller-interface - Interface base class for controllers
ros-kinetic-controller-manager - The controller manager.
ros-kinetic-controller-manager-msgs - Messages and services for the controller manager.
ros-kinetic-controller-manager-tests - controller_manager_tests

So, I guess the necessary packages are still there. But still I tried to run as per your instructions to run this command.

sudo apt-get install python-rosinstall

and simply got this

Reading package lists... Done
Building dependency tree       
Reading state ...
(more)
2017-03-26 18:32:31 -0500 received badge  Famous Question (source)
2017-03-14 11:07:10 -0500 received badge  Student (source)
2017-03-14 11:07:06 -0500 received badge  Famous Question (source)
2016-12-28 06:26:23 -0500 received badge  Famous Question (source)
2016-12-28 01:20:02 -0500 commented question Cannot see depth image - Kinect - Unable to convert '32FC1' image for display: 'cv_bridge.cvtColorForDisplay()

No. Please let me know if you solve this problem.