Category : ros

I created ROS Service with a client and server node. I created a ROS Service that pass the IMU sensors values from the Server to Client. And Im able to call the server and client node and get the values. But when call them with the launch file I got zero Here the server node ..

Read more

i am trying to publish a image using python . and i was trying to subscribe it through c++. the node can communicate but the subscriber code cannot encode the image topic.this is my code . pub.publish(br.cv2_to_imgmsg(frame)) where the br is cvbridge function and i have been using cvq_to_imgmsg here. on the subscriber side. image_transport::Subscriber ..

Read more

i followed the documentation http://techawarey.com/programming/install-opencv-c-c-in-ubuntu-18-04-lts-step-by-step-guide/ to install OpenCV and it was successful. then I followed the documentation https://automaticaddison.com/working-with-ros-and-opencv-in-ros-noetic/#Connect_Your_Built-in_Webcam_to_Ubuntu_2004_on_a_VirtualBox. for creating a subscriber publisher of image for c++. when I tried to catkin_make after creating a package . I got the following error saying. CMake Error at /opt/ros/noetic/share/cv_bridge/cmake/cv_bridgeConfig.cmake:113 (message): Project ‘cv_bridge’ specifies ‘/usr/include/opencv4’ as an include ..

Read more

I’m trying to concatenate a pcl::PolygonMesh triangulation variable (triang) to a "buffer" pcl::PolygonMesh triangulation variable (triang_buffer). I’ve tried to do it by: triang_buffer += triang; and by: bool pcl::PolygonMesh::concatenate(triang_buffer, triang); but when I compile it, it appears these errors respectively: error: no match for ‘operator+=’ (operand types are ‘pcl::PolygonMesh’ and ‘pcl::PolygonMesh’) triang_buffer += triang; and ..

Read more

‘m trying to use mongodb with rviz. Hence, i tried compiling warehouse_ros_mongo after doing a git clone to ~/catkin_ws/src folder . However, the cmake fails anyone has any idea on how to fix it. Otherwise, can some recommend a package to use with ros in order to connect the mongodb and interact with rviz/moveit. Error ..

Read more