Converting sensor_msgs::PCLPointCloud2 to sensor_msgs::PointCloud and reverse

 

Converting sensor_msgs::PCLPointCloud2 to sensor_msgs::PointCloud and reverse Read More »

Converting pcl::PCLPointCloud2 to pcl::PointCloud and reverse

 

  more about pcl point cloud and conversion

Converting pcl::PCLPointCloud2 to pcl::PointCloud and reverse Read More »

Assembling Laser scans into PCL point cloud Using Gazebo and ROS

For this work, first I loaded the RRBot in Gazebo and launched Its joints controller, then I sent a periodic signal to the robot such that the laser scanner mounted on the robot swings. In the following, I assembled the incoming laser scans with the transformation from tf and created PCL point cloud. Install the necessary

Assembling Laser scans into PCL point cloud Using Gazebo and ROS Read More »

Control your robot with a joystick in ROS

In other tutorials, I showed how to get access to the joystick and how to code with that. In this tutorial, I’m going to show you how to do that without writing any line of code. First, install the required packages:

Now call the following

  This will publish the topic “/joy_node” which

Control your robot with a joystick in ROS Read More »

Controlling your robot with joystick and reading data from it

First, install the necessary package:

make sure your joystick is working:

also, make sure your controller has correct permissions:

The permission on the last column must be rw, if it “–” like this:

then correct the permission:

run the Joy node and roscore:

The joystick data are being published under

Controlling your robot with joystick and reading data from it Read More »

How to use a calibrated camera in ROS

In my previous tutorial I showed you how to calibrate a camera with ROS. In this tutorial, I’m gonna show you how to rectify the images from coming from your camera. First, open your text editor and paste the following text into it:

make the necessary changes and save it under usb_cam_stream_publisher.launch Now run it:

Open

How to use a calibrated camera in ROS Read More »