ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2023-02-21 09:47:33 -0500 | received badge | ● Good Question (source) |
2020-12-14 16:23:24 -0500 | received badge | ● Self-Learner (source) |
2019-08-01 04:36:08 -0500 | received badge | ● Nice Answer (source) |
2019-06-29 00:42:45 -0500 | received badge | ● Good Answer (source) |
2019-05-01 12:43:24 -0500 | received badge | ● Nice Answer (source) |
2016-12-20 23:00:17 -0500 | received badge | ● Nice Question (source) |
2015-11-16 01:31:45 -0500 | marked best answer | Dynamically reconfiguring map_start_x/y My quick question is: can we change the map_start_x and map_start_y parameters of the hector_mapping node once it's running? Or do we need to restart the node with those parameters? Thank you in advance, Ernest |
2015-11-16 01:30:54 -0500 | received badge | ● Famous Question (source) |
2015-10-13 04:02:35 -0500 | received badge | ● Popular Question (source) |
2015-10-13 04:02:35 -0500 | received badge | ● Famous Question (source) |
2015-10-13 04:02:35 -0500 | received badge | ● Notable Question (source) |
2014-04-20 06:54:10 -0500 | marked best answer | rosserial - cannot import [custom messages] package Hello, I am having trouble using a custom ROS message type on my Arduino. I believe I have the latest version of ros-fuerte-rosserial I have written & compiled a custom package called arduino_msgs, which worked since rosmsg show finds it. I have ran rosrun rosserial_client make_library.py to "bind" it to my arduino libraries, and I have received a good ouput. My arduino node has two subscribers & one publisher. The publisher uses an arduino_msgs message type, and the subscribers are std_msgs. When I run rosrun rosserial_python serial_node.py /dev/ttyACM0, I get the following output (lunarex is the name of my computer..) ..ad infinitum so the bottom line is that my custom package (arduino_msgs) cannot be imported by rosserial, and therefore I cannot publish to a topic with that message type. Everything else works fine, so I can work around it using std_msgs, but if someone could point me to a solution that would be great. Thanks! Ernest ---EDIT--- I have acted upon fergs's three suggestions. 1) rosmake arduino_msgs produces this correct output (more) |
2014-04-20 06:53:04 -0500 | marked best answer | Hector_mapping RVIZ visualization showing everything but the map Hi, So, this is an odd one. I got the following "good" visualisation of hector_mapping in RVIZ (http://i.imgur.com/lYppRzn.png (imgur link) because I need 20 karma to attach an image..) by running this simple launch file: I must have changed something because when I re-ran re-ran the hector_mapping node and the visualisation I got http://i.imgur.com/yoiXaUy.png (this) - the base_link frame seems to be moving fine but I don't see the map (what was in grey on the first screenshot) anymore. Any idea why the map isn't being displayed anymore? Thanks in advance, Ernest Some extra info: tf_monitor returns this: |
2014-04-20 06:53:03 -0500 | marked best answer | hector_mapping: base_link -> laser transform times out once Hi, I'm setting up a hector_mapping node. My simple launch file sets up a static base_link -> laser transform: When I run it, I get the following error, but only once: Does that mean there is one lookupTransform call for which the tf wasn't set up, but then it found it? Thanks in advance, Ernest |
2014-04-20 06:53:02 -0500 | marked best answer | Writing a Python node that publishes AND subscribes to topics of different message frequency Hi, I'm trying to write a node in Python that subscribes to a topic and listens to another. One way I have managed to do that is by issuing the publish command in the callback. However, this approach only lets my node publish when a new message comes in from the topic it is subscribed to. So my publisher is "constrained" to the subscribed topic's frequency. Is there an other way to do this? I've looked online and couldn't find anything. Thanks in advance, Ernest |
2014-03-27 08:31:13 -0500 | received badge | ● Famous Question (source) |
2014-02-04 18:03:42 -0500 | marked best answer | Using odometry from hector_mapping for move_base (Nav stack) Hi, To run move_base (part of the Navigation stack), I need to provide an odom topic which move_base can subscribe to. I use hector_mapping for odometry on my robot, and have set the Is it possible to output odom as a topic from hector_mapping? If not, how should I go about constructing odom messages from hector_mapping topics? (I have a hunch that this is possible seeing as a tf from map to odom is available..) Thank you in advance, Ernest Edit: Alternatively, is there a way in move_base to use the incoming map->odom tf for odometry (as opposed to the odom topic) ? |
2014-01-28 17:30:28 -0500 | marked best answer | How to save the state of hector_mapping in case it fails? In certain situations, my LiDAR's platform is subject to sharp motions which hector_mapping cannot handle. In this question, I asked Stefan Kohlbrecher, (one of) the author(s) of the hector_mapping package, what causes this. Following his comments, I would like to know how to save the full internal state of hector_mapping to restart it with a valid state in case it fails. Thank you very much, Ernest |
2014-01-28 17:30:24 -0500 | marked best answer | Global path not changing despite newly discovered obstacle Hi, I'm using move_base to generate paths based on a map & odom generated by hector_mapping. The below rviz screenshot sums up my problem quite well: essentially as the new (middle) obstacle appeared in my LiDAR's view, the global path (in green) doesn't update. It seems properly inflated (blue). So what happens is that move_base keeps going onto the global path until it arrives too close to the obstacle, and then it backs up (recovery mode). Any ideas why my global path isn't changing?
My yamls: |
2014-01-28 17:30:24 -0500 | marked best answer | tf frames in different time epoch from ros time? I am trying to tackle the following warning when running Navigation: The transform timed out because the time & the pose stamp are extremely different. Are they in different time epochs? If so, how can that be solved? Thanks, Ernest |
2014-01-28 17:30:24 -0500 | marked best answer | Providing odom to move_base through a map->odom tf Hi, I'm providing odometry to move_base through a map->odom tf provided by hector_mapping. This means that my odom topic is empty, which I think is the cause of a host of warnings, such as: I have managed to make move_base ignore the lack of odom messages by going to costmap_2d_ros.cpp of the costmap_2d package and doing this (warning: this is a bad hack!): My question: is this a dangerous workaround? Is there a better way to tell move_base to ignore the odom topic? Thank you in advance, EDIT Sometimes, the two times are very different, which leads me to think that they might be in different time epochs: When this happens, the quick hack described above doesn't help.. |
2014-01-28 17:30:24 -0500 | marked best answer | inscribed and circumscribed radii of the robot used despite footprint being set Hi, I've declared my robot's footprint in my common costmap params: and so I haven't set inscribed or circumscribed radii, because those can be figured out from my footprint. Nevertheless, when I run move_base I get this warning: Any idea why? Can I safely ignore this warning? Thanks, Ernest |
2014-01-28 17:30:21 -0500 | marked best answer | "SearchDir angle change too large" kills hector_mapping Hi, I've noticed that when sharp pose changes occur on my laser frame, the following error sometimes appears & kills hector_mapping: I was wondering: what exactly causes this, and if it is indeed linked to an unfeasible change of pose or laser scan data, what are the precise constraints on hector_mapping? Thank you very much! Ernest |
2014-01-28 17:30:20 -0500 | marked best answer | Setting the scan_subscriber_queue_size Hi, I'm trying to set a good scan_subscriber_queue_size for my hector_mapping node. According to the wiki:
I'm not sure what logfiles being played back means; my node just take in scans from hokuyo_node, so is it ok to leave the default value of 5? Thanks, Ernest |