ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-08-08 01:43:21 -0500 | marked best answer | Nodelet error while launching pcl_to_scan launch file. Hi there, I want to launch the following file to convert pointcloud to laserscan: However, whenever I try to launch this file, I get the following error: I don't know if I installed nodelet correctly. I need some guidance to troubleshoot these problems: ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet] ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet] ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet] ERROR: cannot launch node of type [nodelet/nodelet]: can't locate node [nodelet] in package [nodelet] Any help will be greately appreciated. |
2016-05-09 20:58:10 -0500 | marked best answer | ipc_bridge Example Publisher MATLAB Error Hi, I've been following the ipc_bridge package (https://alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge) in order to connect MATLAB to ROS. I've installed MEX Compiler and able to compile every package with the correct version of GCC (with the help of linking mex compiler with the correct gcc version). Note that I'm using Groovy on Ubuntu 12.04. However, when I try to run the ~/catkin_ws/src/ipc-bridge/ipc_bridge_stack/ipc_bridge_example/example_publisher.m from MATLAB, I get the following errors: What should I do to overcome this? Any help will be greately appreciated. |
2015-08-19 13:05:47 -0500 | marked best answer | Using diff drive to drive a new robot Hello, I'm trying to make a model of my own robot and plugins. However, I can't drive the robot. Moreover,the information is not being published into /gz/cmd_vel or /gazebo/cmd_vel or /gz/odom topics. Here is the header of my model.sdf Here are the plugins of my model.sdf I don't understand these parameters, anything else except <robotbaseframe> seems right for my robot. Can anybody explain what should I write in robotBaseFrame tag. What should I to drive the robot? Do I need any other plugin? Any answer will be much appreciated. |
2014-06-20 15:12:19 -0500 | received badge | ● Famous Question (source) |
2014-06-20 15:12:19 -0500 | received badge | ● Notable Question (source) |
2014-06-20 15:12:19 -0500 | received badge | ● Popular Question (source) |
2014-03-29 06:50:29 -0500 | received badge | ● Famous Question (source) |
2014-03-27 20:44:02 -0500 | received badge | ● Famous Question (source) |
2014-03-25 22:38:18 -0500 | received badge | ● Notable Question (source) |
2014-02-08 08:18:44 -0500 | received badge | ● Popular Question (source) |
2014-01-28 17:31:32 -0500 | marked best answer | Transforming PointCloud topic to LaserScan topic Hello there, I have been trying to convert a PointCloud topic which is generated by gazebo_ros_openni_kinect into LaserScan topic. The gazebo plugin publishes a simulated openni output to /cam3d/depth/points topic, and it seems to work correctly. I was able to inspect the code that pcl_to_scan package has, and managed to rebuilt it into a standalone working source file using the ros kinect publisher tutorials and disabling dynamic reconfigure. The file publishes some laser data. However, the laser data seems to decrease over time, and when it reaches 0, it starts over. For example, when the data is first published: (Range values are around 0.8)
And after a while, it is like this: (Range values are ... (more) |
2014-01-28 17:31:25 -0500 | marked best answer | Converting a PointCloud topic into LaserScan topic Hello, I'm working on a project that uses Kinect for robot navigation. We use ROS Groovy as distro and Gazebo for simulation, and have sensor and model plugins for the robot model. We have manipulated kinect model using the .sdf file and added libgazebo_ros_openni_kinect.so file as plugin. So now, whenever we launch the robot model in Gazebo, it publishes topics like these: /cam3d/depth/image_raw, /cam3d/depth/points, /cam3d/rgb/image_raw ... Our model.sdf contains this part for the kinect model: Every package that ROS offers are used with launch files and is included with openni. Since we intend to use only robot model to achieve this, I have to find a way to write a script or manipulate the existing script, just to convert a PointCloud topic (comes from model plugin) to LaserScan topic (output). Is something like that possible? I found pointcloud_to_laserscan package which has source files like cloud_to_scan.cpp cloud_throttle.cpp, but they also use openni and needed to be called from launch file. Any help regarding this issue, or any other easier methods to deal with this situation will be greately appreciated. Thanks in advance. |
2014-01-28 17:31:21 -0500 | marked best answer | Using PointCloud data for object detection Hello, I'm working on a project that uses Kinect as sensor for a robot. I intend to use PointCloud library for ROS. However, I don't know how to resolve or use the PointCloud data in order to detect objects. The object detection will be used in order to avoid obstacles using potential fields principle. So, I need to transform PointCloud data to obtain all possible obstacles (their coordinates, width, height, distance) in order to create forces to be used in the robot navigation. I don't know which tutorial should I follow? I would really appreciate if anybody gives me some guidance. Thanks in advance. |
2014-01-28 17:31:18 -0500 | marked best answer | How do I use pcl_to_scan to convert PointCloud into LaserScan? Hello, I need to use PointCloud library and convert the point cloud information into LaserScan so that it acts as laser scanner. I found pcl_to_scan (google it) package, But don't know how to use it? Can anybody explain to me its usage? Any answers will be much appreciated. |
2014-01-28 17:31:15 -0500 | marked best answer | How to install ROS on pcDuino ? (Lubuntu 12.04 ARM) Hello, Last week, I've purchased a pcDuino. It comes with Lubuntu v12.04. In order to download, compile, and install ROS; I'm following the documentation of Pandaboard from this link the Pandaboard source installation However, when I try to install the remaining dependencies with the command. It gives an error that says "Could Not Detect OS: tried windows,ubuntu,...." I don't know if it's because of the reason that pcDuino uses Lubuntu. I've searched about this error but there is no certain answer that I've understood. It would be appreciated if anybody can help me solve this problem or tell me just an easier way to install ROS on pcDuino? |
2014-01-22 19:59:50 -0500 | commented answer | Eclipse IDE problem If you assured that you havent done anything wrong there, I can ask a colleague of mine who had the same problem. |
2014-01-22 19:57:23 -0500 | commented answer | Eclipse IDE problem You have to execute make eclipse-project to a project that you've already created using "roscreate-pkg <pkg-name> roscpp. The folder should be like cd ~/catkin_ws/src/<pkg-name> , provided that your catkin workspace is in ~/catkin_ws. |
2013-12-23 11:00:07 -0500 | commented question | What is the easiest way to create/publish a topic on ROS using a remote MATLAB client? I've decided to use Rosbridge since it is connected easily using Java-WebSocket and since the MATLAB can use java libraries. |
2013-12-23 10:58:25 -0500 | commented question | ROSBridge : How are data arrays represented and sent via JSON? I don't know how exactly rosbridge handles the data, but since the websockets are used, the memory spaces of payload and trailer are allocated. With websockets data is sent in between 0x00 and 0xFF in a packet. You can examine the rosbridge_library codes to see the conversion. |
2013-12-16 01:57:10 -0500 | received badge | ● Famous Question (source) |
2013-12-15 08:41:29 -0500 | asked a question | Rosbridge TCP Error: __init__() got an unexpected keyword argument 'parameters' Hello, I need to use rosbridge tcp in order to communicate with MATLAB through TCP. I've succesfully installed rosbridge tcp (groovy-devel). When I run rosbridge tcp, it says that port 9090 is open for communication and when I send data from the following this matlab script I get error on the rosbridge tcp server: I've also checked what's inside rosbridge_tcp.py and found those parameters. Maybe the problem might be that they're wrongly configured. I need some help to overcome this issue. Any help will be greately appreciated. Thanks in advance. |
2013-12-13 04:28:31 -0500 | commented answer | Using rosbridge protocol to talk with MATLAB Okay, rosbridge_tcp is ready. When I send the data I get an error, (at least connection is now correct). Please see the UPDATE2 |
2013-12-13 03:57:08 -0500 | commented answer | Using rosbridge protocol to talk with MATLAB Ah, I got what you say, i'll check |
2013-12-13 03:45:36 -0500 | commented answer | Using rosbridge protocol to talk with MATLAB sorry that i'm a beginner but where do i check exactly? |
2013-12-13 03:40:26 -0500 | commented answer | Using rosbridge protocol to talk with MATLAB Strangely, when I do git clone this, rosbridge_tcp does not appear in scripts folder |
2013-12-09 09:56:27 -0500 | commented answer | Using rosbridge protocol to talk with MATLAB Ah, you're right. I will check that out and get back to you. Thanks for the answer. |
2013-12-09 06:06:48 -0500 | received badge | ● Notable Question (source) |
2013-12-08 09:39:37 -0500 | received badge | ● Popular Question (source) |
2013-12-08 07:36:28 -0500 | edited question | Using rosbridge protocol to talk with MATLAB Hello everybody, I'm working on a project in which I have to communicate between MATLAB and ROS. To do this, I found rosbridge protocol easiest. The rosbridge server opens a socket on port 8080 (using customized launchfile) ( or 9090 by default). To talk with it through MATLAB, I think it would be good to use tcpip library and send JSON string message. https://github.com/RobotWebTools/rosbridge_suite/blob/hydro-devel/ROSBRIDGE_PROTOCOL.md is the link I'm following to learn about rosbridge protocol. But I don't know that it would work. (doesn't work for me so far) Does rosbridge protocol parses the string JSON that I sent from MATLAB and advertise/publish/subscribe topics automatically? I've greated a simple /chatter in order to test my hypothesis but I can't get it working. Anyway, I need some help figuring out rosbridge protocol and solving the problems that I've mentioned. The procedure that I've followed is like this: (http://wiki.ros.org/rosbridge_suite/Tutorials/RunningRosbridge) I've installed the rosbridge using this: Then, I've launched the server: On the client side, I've used the tcpip MATLAB library (http://www.mathworks.com/help/instrument/tcpip.html) Start a TCP/IP echo server and create a TCPIP object. I've entered something on JSON_MSG part but I couldnt receive any data on server side (simply using rostopic echo). Can anybody please give me some ideas on how to use this json message or whether this procedure would work or not? Note that I use ROS groovy with Ubuntu 12.04. Any help will be greatly appreciated. Thank you. UPDATE: I've tried the following JSON message, but something is wrong. No data is being received from the server side. UPDATE2: I've installed rosbridge_tcp, and run it. Now, when I try to send data from MATLAB, I get the following error on the server side. Although, it does seem OK, when there's no data sent. |