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

wsAndy's profile - activity

2022-08-11 04:04:36 -0500 received badge  Favorite Question (source)
2022-01-11 18:34:42 -0500 received badge  Nice Answer (source)
2021-09-03 08:21:34 -0500 received badge  Notable Question (source)
2021-09-03 08:21:34 -0500 received badge  Popular Question (source)
2021-07-28 01:21:40 -0500 received badge  Necromancer (source)
2018-06-25 11:49:48 -0500 marked best answer hector_exploration_controller publishs twist really slowly
 Hello everyone,
    I try to use `hector_exploration_node` and `hector_exploration_controller` to let robot explore the unknown environment in the stage_ros.
    I simulate the environment by `stage_ros` and create the map by `gmapping` .

    The problem is that I can get the topic `/exploration_path` published by `hector_exploration_node` , but no goals topic . And  there is a trajectory from the robot to the unknown environment .
But the robot only rotate and cant move forward. And the  it costs `hector_exploration_node` 20 more seconds every cycle.

I also find similar problems here.

Here is the rviz.

image description

So , please give me some advice. Thanks first!

2018-02-04 22:28:40 -0500 received badge  Famous Question (source)
2018-02-04 22:28:40 -0500 received badge  Notable Question (source)
2018-02-04 22:28:40 -0500 received badge  Popular Question (source)
2017-08-11 04:15:21 -0500 received badge  Famous Question (source)
2017-04-30 03:03:25 -0500 marked best answer QPainter::begin: Paint device returned engine == 0, type: 3

When I want to run hector_geotiff to print map in a existed map , rosrun hector_geotiff geotiff_saver , Some thing happens.

QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
[ INFO] [1432901455.048771190]: Out drawPath
[ INFO] [1432901455.052592317]: Writing image with file /map_20:10:53.tif failed with error Device not writable
[ INFO] [1432901455.052827484]: GeoTiff created in 1.661217 seconds

I search some infomation in Internet but I haven't find a useful one.

Could you help me ?

Thanks!

Thanks!

2017-03-31 14:23:10 -0500 received badge  Famous Question (source)
2017-03-31 10:06:28 -0500 received badge  Famous Question (source)
2017-03-29 17:39:31 -0500 marked best answer detect qrcode with zbar_ros

I could use zbar_ros with a webcamera to detect QRcode successfully. But when I change the camera ,and add <remap from="device" to="/dev/video1"/>.

I can't start zbar_ros successfully.

The detail indormation is here.

 exbot@ubuntu:~/zbar_ros$ roslaunch zbar_ros example.launch 
... logging to /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/roslaunch-ubuntu-9697.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:45860/

SUMMARY
========

PARAMETERS
 * /barcode_reader/throttle_repeated_barcodes: 2.0
 * /rosdistro: indigo
 * /rosversion: 1.11.10
 * /uvc_camera/device: /dev/video1

NODES
  /
    barcode_reader (zbar_ros/barcode_reader_node)
    uvc_camera (nodelet/nodelet)
    zbar_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [9709]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 693c9cd0-fbab-11e4-b783-485ab6072ea3
process[rosout-1]: started with pid [9722]
started core service [/rosout]
process[zbar_manager-2]: started with pid [9739]
process[uvc_camera-3]: started with pid [9740]
process[barcode_reader-4]: started with pid [9775]
**[zbar_manager-2] process has died [pid 9739, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager __name:=zbar_manager __log:=/home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/zbar_manager-2.log].**
log file: /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/zbar_manager-2*.log
[uvc_camera-3] process has finished cleanly
log file: /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/uvc_camera-3*.log
2017-02-23 13:41:10 -0500 received badge  Famous Question (source)
2017-02-17 04:06:15 -0500 asked a question publish or subscribe depth image with python cv2

Hello everyone!

I don not know how to publish or subscribe depth image with cv2 module.

For example, if I want to publish depth image, I load a .png depth image in the computer. and the codes are below.

depth_image = cv2.imread(os.path.join(self.path,depth_image_name))

d_image = np.array(depth_image)

send_depth = Image()

send_depth.encoding = '32FC1'

...

But when I use rqt_image_view to check the published image, it cannot show the image and occurs warns ImageView.callback_image() while trying to convert image from '32FC1' to 'rgb8' an exception was thrown (Image is wrongly formed: height * step != size or 480 * 2560 != 921600)

I add cv2.CV_LOAD_IMAGE_UNCHANGED in cv2.imread(), but the problem is still here.

And when I want to subscribe the depth image with python, which type should I set in cvimage = self.bridge.imgmsg_to_cv2(data,"32FC1")(here is 32FC1)

Thanks first!

2017-02-09 19:10:06 -0500 received badge  Famous Question (source)
2017-02-09 19:02:15 -0500 received badge  Popular Question (source)
2017-02-09 19:02:15 -0500 received badge  Notable Question (source)
2017-01-03 06:31:13 -0500 commented question how to use frontier_exploration with my robot???

please add more useful information such as the node graph , message graph and so on.

2016-12-29 03:03:56 -0500 received badge  Notable Question (source)
2016-12-27 07:13:28 -0500 received badge  Popular Question (source)
2016-12-23 01:55:21 -0500 asked a question no TF between base_link and map in multiple-robots in gazebo

Hello everyone,

I want to simulate two robots( turtlebots ) in gazebo instead of stage_ros. I use the model described in here, and the TF problem( no transform from map to odom in amcl.Timed out waiting for transform from robot_0/base_link to map to become available before running costmap, tf error: . canTransform returned after 0.1 timeout was 0.1.) occurs. There is also another problem here, the author could add two or more robots in stage_ros but when I change the code to gazebo( simply change the world model , add gazebo_ros, change the global_frame_id,etc ), the TF problem still stay.

The topic flow is below. image description

In this experiment, I only add one robot with tf_prefix and ns, as I think if one robot is ok, than two is also.

I also try to delete the ns and tf_prefix, than the single robot could work and the topic is here. image description

Could you help me, please..

Thanks first.

2016-11-15 04:19:32 -0500 commented answer vision navigation in indigo

I use RTABmap instead of gmapping since I don't have laser. It works well for me and it could also listen laser scan topic in RTABmap, I think it's a good choice. Besides, if you use mono camera, maybe you could use ORBSLAM.

2016-09-30 15:25:10 -0500 marked best answer Xtion_pro_live Skeleton_tracker cannot work

Hello everyone,

    I can use xtion pro live by openni2 . `roslaunch openni2_launch openni2.launch`
 I want to use xtion pro live to detect human skeleton . But I cannot use `NiTE v2` as I cannot download it from [here](http://openni.ru/files/nite/index.html). 
 openni2_tracker is cannot use too. 
 And other tutorials like [skeleton_tracker](https://github.com/Chaos84/skeleton_tracker) is also unwork.
 I mean we cannot use skeleton now without NiTE v2 ???
 Or are there any package taht I can use or other way that could solve my problem ? 
 Thanks first!
2016-08-27 05:05:43 -0500 received badge  Famous Question (source)
2016-07-26 10:49:03 -0500 answered a question add AR tag in gazebo

Well, I have solved this problem. A sample approach is to change the original model. For example, since the model Beer has textures, we could change the model to AR tag. Besides , we need to replace the cylinder in model.sdf to box, and change the size of the box.

2016-07-26 06:38:30 -0500 asked a question add AR tag in gazebo

Hello everyone,

I'm wondering how to add an AR tag in the gazebo's world these days. But I have not found the right way to solve this problem. Or could I add an image to the world?

Thanks first!

2016-07-15 20:16:11 -0500 commented answer how to change the plugin's param in launch

Thanks for your answer. If the parameters were defined in the inheritance class, I could reconfigure them in lanch.But the problem is that they are defined in the base class. How could I reconfigure them in the launch file? The instance of this problem is the jpeg quality in the image_transport.

2016-07-15 20:09:27 -0500 received badge  Notable Question (source)
2016-07-14 09:14:23 -0500 received badge  Popular Question (source)
2016-07-14 01:50:03 -0500 asked a question how to change the plugin's param in launch

Hello!

I find that image_transport provides only one param (image_transport)for us to choose different compressed plugins. And if I set image_transport to compressed, I could change the param jpeg_quality with the help of rqt_reconfigure, but now, I want to change this param in launch file instead of rqt_reconfigure, how could I do?

Thanks first!

2016-07-07 14:10:21 -0500 received badge  Famous Question (source)
2016-07-05 14:47:32 -0500 received badge  Notable Question (source)
2016-05-24 10:02:18 -0500 commented answer QPainter::begin: Paint device returned engine == 0, type: 3

Thanks for your advice! I had solved this problem last years but I forget the detail approach. I remember that I also give the full path to the directory. I think you are right. Thanks again.

2016-05-24 01:27:39 -0500 answered a question which version of Opencv should I use?

Hello, both of them are great, if you have not learned openCV, just to learn opencv3 since it have some different definitions of static parameters and this version has a better frame than opencv2.

However, when you want to use openCV3 , you need to be really careful since some algorithms like SURF are not built directly in a traditional way, which means maybe you need to spend several hours to build the developing environment with the help of documents.Besides, lots of existing codes are wrote with opencv2,so be careful if you want to make an old package ,there will be many problems. :)

If you want to know more about the difference between opencv2 and opencv3, I think you should go to opencv's website

2016-05-23 02:14:56 -0500 commented answer Face detection with ROS Indigo and laptop webcam

I mean, since cob_people_detection use xtion pro live defaultly, you could change the codes in cob_people_detection.

2016-05-23 02:13:54 -0500 commented answer Face detection with ROS Indigo and laptop webcam

Well, what you need to do is not change the codes in openni.

2016-05-22 20:43:26 -0500 commented answer Face detection with ROS Indigo and laptop webcam

It's not easy to use a big package directly : )

2016-05-22 20:41:59 -0500 commented answer Face detection with ROS Indigo and laptop webcam

Besides, if you have linked your xtion pro live, maybe you should change the usb interface and have another try.