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

AsifA's profile - activity

2019-07-07 02:15:35 -0500 received badge  Guru (source)
2019-07-07 02:15:35 -0500 received badge  Great Answer (source)
2018-06-26 12:41:28 -0500 received badge  Enlightened (source)
2018-06-26 12:41:28 -0500 received badge  Good Answer (source)
2017-04-10 05:31:37 -0500 received badge  Nice Answer (source)
2017-02-28 12:16:24 -0500 marked best answer gmapping not working for LaserScan obtained from but_velodyne_proc

Hi, I am using but_velodyne_proc package to obtain 2d laser scan sensor_msgs/LaserScan from a 3d Velodyne sensor_msgs/PointCloud2. It seems that it works fine because I can visualize laser scan and point cloud in rviz. However, problem arises when I try to use this 360 degree laser scan data with gmapping to obtain a 2d occupancy map using:

rosrun gmapping slam_gmapping scan:=/velodyne/scan

It gives me following error:

slam_gmapping: /tmp/buildd/ros-hydro-openslam-gmapping-0.1.0-2precise-20140617-1746/scanmatcher/scanmatcher.cpp:563: void GMapping::ScanMatcher::setLaserParameters(unsigned int, double*, const OrientedPoint&): Assertion `beams<2048' failed. Aborted (core dumped)

The error of "beam 2048" is coming from here. Gmapping is working fine when I am using LaserScan from the lidar installed on my robot. Do you think this is because I am feeding 360 degree scan? I can see that scan header of the lidar is coming with angle_min: -2.35619449615 angle_max: 2.35619449615, whereas header of LaserScan obtained from Velodyne is angle_min: -3.14159274101 angle_max: 3.14159274101. I am very beginner with all this stuff and do not understand the meaning of "LASER_MAXBEAMS 2048" defined in the header file. Your guideline to fix this problem is much appreciated!

2016-06-05 13:40:25 -0500 received badge  Famous Question (source)
2016-05-06 09:48:58 -0500 received badge  Notable Question (source)
2016-05-06 03:59:08 -0500 received badge  Popular Question (source)
2016-05-06 03:20:52 -0500 commented answer ImportError: No module named wx

By "system-installed python modules" you mean the python that comes by default with Ubuntu 14.04?

2016-05-06 03:04:38 -0500 commented answer ImportError: No module named wx

Yes. I have Anaconda and SALOME installed.

2016-05-06 00:36:57 -0500 commented answer ImportError: No module named wx

Its already installed on my system. To make sure, I removed and installed again but no luck. Do you think there are some path issues?

2016-05-05 17:07:32 -0500 asked a question ImportError: No module named wx

Hi. I am using husky_description and want to launch description.launch, which I was used to successfully launch in ROS Hydro at Ubuntu 12.04. Now I am using ROS Indigo on Ubuntu 14.04 and it shows me following error.

Traceback (most recent call last): File "/opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher", line 5, in <module> import wx ImportError: No module named wx

[joint_state_publisher-3] process has died [pid 11298, exit code 1, cmd >/opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/asif/.ros/log/5bdd4b1c-130a-11e6-a55d-d4bed970caa5/joint_state_publisher-3.log]. log file: /home/asif/.ros/log/5bdd4b1c-130a-11e6-a55d-d4bed970caa5/joint_state_publisher-3*.log

I can not import wx in python shell as well (it shows the same ImportError). In another system (ROS Indigo, Ubuntu 14.04 and default installations of python2.7), it works fine. I have installed wxtools using sudo apt-get install python-wxtools. and the error is still there. Probably, the error is due to some additional python installations such as Anaconda 2.4.1 and SALOME. Any idea how to handle it? Thanks

2016-03-03 10:36:33 -0500 received badge  Famous Question (source)
2016-01-20 01:28:05 -0500 received badge  Notable Question (source)
2016-01-19 12:53:27 -0500 received badge  Popular Question (source)
2015-12-07 17:12:18 -0500 asked a question pcl (pointcloud) to mesh

Hi, I want to convert pointcloud data set to mesh. What I know is that first I need to convert pointcloud recorded in a rosbag to pcd, then pcd to ply, and finally ply to mesh using MeshLab.

I can create number of pcd files from pointcloud using

rosrun pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory>

but I have no idea how to convert pcd files to a ply file. Can anyone suggest me how to do pcd to ply or if there is a better way to convert pcl to mesh?

Thank you.

2015-08-14 16:08:21 -0500 received badge  Necromancer (source)
2015-08-14 14:56:24 -0500 answered a question Complete coverage path planning ros

This may not be very relevant but if you are interested in sensor planning when you have a mobile remote sensor (gas sensor, camera, laser or any other for which you can define sensing range and field of view) and you want to cover the whole environment by taking measurements at minimum number of positions then here is a possible solution.

However, the code is not available on ROS. Hopefully I will be able to release it at some point in near future.

2015-01-13 17:01:02 -0500 received badge  Famous Question (source)
2014-12-03 19:23:23 -0500 received badge  Famous Question (source)
2014-11-09 13:13:44 -0500 received badge  Notable Question (source)
2014-10-10 02:20:29 -0500 received badge  Famous Question (source)
2014-09-30 14:57:02 -0500 marked best answer Replay rosbags recorded with --split option

Hi,

I have recorded number of rosbags using --split option, say "file_0.bag", "file_1.bag", "file_2.bag" and so on to build a map. My question is: how to play them back one after the other. Using $ rosbag play file_0.bag file_1.bag file_2.bag plays all files at the same time. Whereas, I want to play one after another.

Thanks.

2014-09-30 14:56:04 -0500 received badge  Famous Question (source)
2014-09-24 02:12:37 -0500 received badge  Taxonomist
2014-09-22 20:17:06 -0500 received badge  Famous Question (source)
2014-09-07 15:49:47 -0500 received badge  Notable Question (source)
2014-09-07 15:17:49 -0500 received badge  Popular Question (source)
2014-09-06 17:49:27 -0500 received badge  Popular Question (source)
2014-09-06 07:36:31 -0500 asked a question Getting and logging current *weather conditions* in ROS

Is it possible in ROS to record current weather conditions from a website or weather-indicator in Ubuntu? I would like to record current atmosphere temperature, humidity, etc for some experiments. Thanks.

2014-09-06 06:52:33 -0500 commented answer Save ROS configurations like "profile" in Matlab

Great. In order to use local time instead of universal you can remove -u from date option.

2014-09-05 21:49:35 -0500 commented answer Convert VelodyneScan to PointCloud2 from a rosbag file

Yes it does. Thanks

2014-09-05 21:09:07 -0500 edited question Save ROS configurations like "profile" in Matlab

Hi,

I am launching a main.launch file. This file is calling several other configuration files of several nodes depending on the task. I know that I can record the data using rosbag record when I'm on mission.

Is there a possibility to save all the configurations along with rosbag? I am looking for some thing similar as profile in Matlab.

Any help is much appreciated. :)

2014-09-05 21:09:07 -0500 received badge  Editor (source)