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

tb12's profile - activity

2020-12-28 14:16:12 -0500 commented answer Using cartographer for creating map, how??

It looks like you need to run the Cartographer grid node in order to save the map. https://google-cartographer-ros.readt

2020-12-28 14:12:08 -0500 commented answer Using cartographer for creating map, how??

All of your topics look like they match. While running your node and the bagfile, do you get any output to "/scan_matche

2020-12-28 12:12:36 -0500 commented answer Using cartographer for creating map, how??

ok, and what about the rosbag node?

2020-12-28 09:29:21 -0500 commented answer Using cartographer for creating map, how??

what i would recommend is to make sure your cartographer node is subscribed to the same topics that are being published.

2020-12-28 08:51:12 -0500 commented answer Using cartographer for creating map, how??

You need to run your SLAM node and rosbag together. When you run a rosbag the data will be published to ROS similar to i

2018-10-30 15:29:40 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:29:21 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:29:08 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:27:28 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:26:59 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:12:50 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:12:33 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:12:20 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:11:22 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:11:05 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:09:22 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:08:52 -0500 edited question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-10-30 15:08:52 -0500 received badge  Editor (source)
2018-10-30 14:49:57 -0500 asked a question Running rviz gets "Aborted (core dumped)"

Running rviz gets "Aborted (core dumped)" After running a dist-upgrade I am no longer able to run rviz. Below is the out

2018-09-06 08:04:51 -0500 received badge  Necromancer (source)
2018-06-28 09:55:37 -0500 received badge  Teacher (source)
2018-06-28 09:55:37 -0500 received badge  Necromancer (source)
2018-04-17 10:46:30 -0500 received badge  Supporter (source)
2018-04-05 15:25:06 -0500 commented answer Fusing multiple sensors of same type using robot_localization.

where is the "two-wheel differential-drive-mobile robot" example?

2017-03-30 18:51:07 -0500 received badge  Commentator
2017-03-21 17:54:29 -0500 commented question Robot model not localizing in the map.

I disagree. this map makes a lot of sense. you are building a 2D map and your map Z value is 0 at the location of your laser scans. you are not building a map of the floor, you are building a map at the level of your laser scanner.

2017-03-17 19:31:13 -0500 answered a question How can I get ICP covariances using laser_scan_matcher?

there are parameters publish_pose_with_covariance and publish_pose_with_covariance_stamped which will publish the ICP covariance (if it is being calculated) or instead a diagonal 1e-9 matrix if the ICP covariance is not calculated. I am not sure if this parameter was available when this question was asked, but I am posting this for anyone who comes across the question from now on and wants an answer :)

2017-03-07 12:52:12 -0500 commented question Trying to interface pixhawk IMU through MAVROS and HECTOR_SLAM

did you solve this? I am having a similar issue.

2017-02-27 13:47:32 -0500 commented answer EKF for localization given a MAP

unless you are not allowed to use AMCL, I would recommend using AMCL with an odometry source and then, if you want, fusing them together using an EKF like robot_localization (I know this is a year old, but I wanted to answer this for anyone who looks at this question later)

2017-02-27 12:42:53 -0500 answered a question Publishing compressed images

you can republish the compressed image as an uncompressed image:

rosrun image_transport republish compressed in:=/image_raw out:=/image_raw

2017-02-25 18:13:03 -0500 commented answer Using cartographer for creating map, how??

trajectory_builder_2d is a configuration file that is referenced by default from the tutorial launch file

2017-02-23 15:29:25 -0500 commented question Limiting LaserScan range for Map Building

Which slam algorithm are you using?

2017-02-22 18:13:33 -0500 answered a question hector_slam: how to load a saved map (and perform localization)

I have gotten AMCL to work with the LaserScanMatching node using just a Lidar. I set the fixed frame in LaserScanMatching to odom and the base frame to base_link. In AMCL it uses the intuitive parameter names, odom frame is odom, base frame is base_link. The tf tree then goes map -> odom by amcl, odom -> base_link by laser_scan_matching.

I will try to get this working with hector slam also as the odometry, if anyone has gotten that please let me know how!

2017-02-09 11:00:16 -0500 received badge  Enthusiast
2017-02-06 11:00:27 -0500 commented answer Using cartographer for creating map, how??

what errors are you getting when you launch cartographer mapping?

2017-02-06 10:59:20 -0500 commented answer Using cartographer for creating map, how??

and of course your urg_node publishes to scan

2017-02-06 10:59:07 -0500 commented answer Using cartographer for creating map, how??

in the rqt graph you have cartographer_node subscribed to tf, tf_static, and scan, and publishing the scan matcher, submap list, and tf.

tf gets your robot state publisher as well as the static transforms. and the robot state publisher is also publishing to tf_static.

2017-02-06 10:54:46 -0500 commented answer Using cartographer for creating map, how??

i cant post any pictures yet, but the tf tree is:

world -> map -> base_link -> laser, and base_link also points to other links which are being ignored based on my configurations.

2017-02-02 02:04:19 -0500 answered a question Using cartographer for creating map, how??

I also use a laser scanner but I don't have any odometry data (I assume you mean from your wheels?) and it works fine. Here is my configuration file, which is almost identical to the given backpack_2d.lua file from the demo:

include "map_builder.lua"

options = {
  map_builder = MAP_BUILDER,
  map_frame = "map",
  tracking_frame = "base_link",
  published_frame = "base_link",
  odom_frame = "base_link",
  provide_odom_frame = false,
  use_odometry = false,
  use_laser_scan = true,
  use_multi_echo_laser_scan = false,
  num_point_clouds = 0,
  lookup_transform_timeout_sec = 0.2,
  submap_publish_period_sec = 0.3,
  pose_publish_period_sec = 5e-3,
}

MAP_BUILDER.use_trajectory_builder_2d = true
TRAJECTORY_BUILDER_2D.use_imu_data = false

return options

The configuration file can be called from a launch file as so:

<launch>
  <param name="robot_description"
    textfile="$(find cartographer_ros)/urdf/backpack_2d.urdf" />

  <node name="robot_state_publisher" pkg="robot_state_publisher"
    type="robot_state_publisher" />

  <node name="cartographer_node" pkg="cartographer_ros"
      type="cartographer_node" args="
          -configuration_directory $(find cartographer_ros)/configuration_files
          -configuration_basename backpack_2d.lua"
      output="screen">
     <!--<remap from="echoes" to="scan" />-->
  </node>

  <node pkg="tf" type="static_transform_publisher" name="world_to_map_broadcaster" args="0 0 0 0 0 0 world map 50" />
  <node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link laser 50" />

</launch>

Be sure to configure the simtime somewhere too