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

shlock's profile - activity

2021-11-12 14:41:50 -0500 received badge  Famous Question (source)
2021-10-23 09:51:57 -0500 received badge  Famous Question (source)
2021-06-15 10:46:12 -0500 received badge  Famous Question (source)
2021-04-25 07:03:49 -0500 received badge  Nice Answer (source)
2021-04-24 09:16:55 -0500 received badge  Teacher (source)
2021-04-24 09:16:55 -0500 received badge  Necromancer (source)
2021-04-24 09:16:55 -0500 received badge  Self-Learner (source)
2021-04-24 02:02:42 -0500 received badge  Notable Question (source)
2021-04-24 02:01:54 -0500 received badge  Notable Question (source)
2021-04-24 02:01:38 -0500 marked best answer Obstacle showing up in global costmap and not inflating

Hey, I have setup costmap parameters using the tutorial and answers from the forum but I still can't get it to work right. The local cost map doesn't show the obstacle, the obstacle shows up in the global cost map but it is not inflated. I did try putting the inflation and obstacle layer in the local costmap with static and inflation layer in the global one but it didn't change much. Here are the params, how should I got about correcting this?


common params

robot_base_frame: dbot/base_link

max_obstacle_height: 4.0
robot_radius: 0.25

plugins:
  - {name: static_layer, type: "costmap_2d::StaticLayer"}
  - {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
  - {name: inflated_layer, type: "costmap_2d::InflationLayer"}


static_layer:
  map_topic: /map
  subscribe_to_updates: true

obstacle_layer:
  observation_sources: laser depth

  laser:
    topic: /dbot/scan
    sensor_frame: dbot/sensor_laser
    observation_persistence: 10.0
    expected_update_rate: 10.0
    data_type: LaserScan
    clearing: true
    marking: true
    max_obstacle_height: 3.0
    min_obstacle_height: 0.05
    obstacle_range: 4.0
    raytrace_range: 6.0

  depth:
    topic: /dbot/kinect/depth/points
    sensor_frame: dbot/kinect
    observation_persistence: 10.0 
    expected_update_rate: 10.0
    data_type: PointCloud2
    clearing: true
    marking: true
    max_obstacle_height: 3.0
    min_obstacle_height: 0.05
    obstacle_range: 3.0
    raytrace_range: 3.0

inflated_layer:
  inflation_radius: 1.0
  cost_scaling_factor: 10.0

global params

global_costmap:
  global_frame: map
  robot_base_frame: dbot/base_link

  # update_frequency: 10.0 -> 5.0 # Changed
  # publish_frequency: 10.0 -> 2.0 # Changed
  transform_tolerance: 0.5

  static_map: true
  height: 50
  widht: 50

local params

local_costmap:
  global_frame: dbot/odom
  robot_base_frame: dbot/base_link
  # update_frequency: 10.0 -> 5.0 # Changed
  # publish_frequency: 10.0 -> 2.0  # Changed
  transform_tolerance: 0.5

  static_map: false
  rolling_window: true
  width: 6
  height: 6
  resoultion: 0.05
2021-04-24 02:01:38 -0500 received badge  Scholar (source)
2021-04-24 02:01:34 -0500 commented question Obstacle showing up in global costmap and not inflating

I posted the parameter files in the answer. Hope it helps.

2021-04-24 02:00:35 -0500 answered a question Obstacle showing up in global costmap and not inflating

Here are the parameters which I am using working after following skpro19's advice. I actually dropped the depth source f

2021-04-24 01:41:08 -0500 received badge  Notable Question (source)
2021-04-05 23:04:11 -0500 commented question Navigation doesn't work when launching robot under a ns

Nope. I had to go back to melodic. You can follow this Issue for noetic. Once it gets solved we'll be able to do it on n

2021-04-05 23:04:01 -0500 commented question Navigation doesn't work when launching robot under a ns

Nope. I had to go back to melodic. You can follow this [Issue(https://github.com/ros/robot_state_publisher/pull/139) for

2021-04-05 22:48:55 -0500 commented question Navigation doesn't work when launching robot under a ns

Nope. I had to go back to melodic. You can follow this [Issue] (https://github.com/ros/robot_state_publisher/pull/139) f

2021-04-05 22:48:55 -0500 received badge  Commentator
2021-04-05 14:52:38 -0500 received badge  Popular Question (source)
2021-03-09 04:11:01 -0500 commented question How to send waypoints to move_base using rospy?

Does you node directly print 'Waypoint_follower node successfully executed' after executing? If so you might have to add

2021-03-09 02:59:25 -0500 commented question rosrun tab completion not working and find: ‘’: Datei oder Verzeichnis nicht gefunden

@mab0189 when I face this issue, I usually do rospack find package-name and after that the tab completion works so it mi

2021-03-09 02:59:06 -0500 commented question rosrun tab completion not working and find: ‘’: Datei oder Verzeichnis nicht gefunden

@mab0189 when i face this issue, I usually do rospack find package-name and after that the tab completion works so it mi

2021-03-09 02:45:22 -0500 commented question DWA doesn't avoid obstacles and overshoots the trajectory

Sorry, I only asked you to share so that when someone more experienced saw the post they would have more info. Have you

2021-03-08 23:18:45 -0500 commented question How to send waypoints to move_base using rospy?

I'm not sure and might be wrong but shouldn't the return statement be outside of the for loop otherwise it will just end

2021-03-08 23:18:31 -0500 commented question How to send waypoints to move_base using rospy?

I'm not sure and might be wrong but shouldn't the return statement be outside of the for loop otherwise it will just end

2021-03-08 23:15:45 -0500 commented question How to send waypoints to move_base using rospy?

I'm not sure and might be wrong but shouldn't the return statement be outside of the for loop otherwise it will just end

2021-03-08 23:06:10 -0500 commented question How to send waypoints to move_base using rospy?

I'm not sure and might be wrong but shouldn't the return statement be outside of the for loop otherwise it will just end

2021-03-08 22:57:32 -0500 commented question How to send waypoints to move_base using rospy?

I'm not sure and might be wrong but shouldn't the return statement be outside of the for loop

2021-03-08 04:51:58 -0500 commented question these days i am working on an Under Water Skane robot. I hope to use ros for both simulations and control it. Where should I start?

For starting with ROS you should look at the official ROS tutorials and for simulation you could use Gazebo with the buo

2021-03-07 08:14:24 -0500 answered a question DWA doesn't avoid obstacles and overshoots the trajectory

I think would be helpful if you shared your navigation parameter files.

2021-03-07 08:14:24 -0500 received badge  Rapid Responder
2021-03-03 05:11:17 -0500 asked a question Navigation doesn't work when launching robot under a ns

Navigation doesn't work when launching robot under a ns Hey, I'm trying to get multi-robot simulations on noetic. I used

2021-02-27 03:32:21 -0500 received badge  Popular Question (source)
2021-02-19 20:11:08 -0500 received badge  Popular Question (source)
2021-02-19 13:15:17 -0500 commented answer Updating origin of local costmap when robot moves to a different floor

Update: okay turns out my max. obstacle height was set too low so the robot wasn't marking new obstacles when at higher

2021-02-19 13:14:52 -0500 commented answer Updating origin of local costmap when robot moves to a different floor

Update: okay turns out my max. obstacle height was set too low so the robot wasn't marking new obstacles when at higher

2021-02-19 10:35:48 -0500 commented answer Updating origin of local costmap when robot moves to a different floor

I tried using that but it didn't actually clear it. The global_frame changing didn't work as well as the robot just woul

2021-02-19 04:49:53 -0500 answered a question Updating origin of local costmap when robot moves to a different floor

Okay so after looking for several ways to get the local costmap to stay on the same plane as the map, i tried changing t

2021-02-19 04:49:53 -0500 received badge  Rapid Responder (source)
2021-02-18 12:11:55 -0500 edited question Updating origin of local costmap when robot moves to a different floor

Updating origin of local costmap when robot moves to a different floor Hello, I am trying to get a robot to move throug

2021-02-18 12:11:55 -0500 received badge  Editor (source)
2021-02-18 12:08:47 -0500 asked a question Updating origin of local costmap when robot moves to a different floor

Updating origin of local costmap when robot moves to a different floor Hello, I am trying to get a robot to move throug

2021-02-17 15:53:42 -0500 commented question Obstacle showing up in global costmap and not inflating

edit: I moved the plugins and reduced the sensor update rates and it seems to be working for now. I'll test a bit more t

2021-02-17 15:45:52 -0500 edited question Obstacle showing up in global costmap and not inflating

Obstacle showing up in global costmap and not inflating Hey, I have setup costmap parameters using the tutorial and answ

2021-02-17 15:37:37 -0500 commented question Obstacle showing up in global costmap and not inflating

I did try that before it didn't change much. Actually after restarting (and some minor changes) it is actually showing a

2021-02-17 15:36:05 -0500 commented question Obstacle showing up in global costmap and not inflating

I did try that before it didn't change much. Actually after restarting (and some minor changes) it is actually showing a

2021-02-17 15:16:17 -0500 received badge  Student (source)
2021-02-17 15:11:30 -0500 asked a question Obstacle showing up in global costmap and not inflating

Costmap paramters help Hey, I have setup costmap parameters using the tutorial and answers from the forum but I still ca

2020-11-19 08:52:26 -0500 commented answer Creating custom Gazebo world files from sdf's/dae's for use with roslaunch

Thank you. After looking around for a day this finally worked for me.

2020-11-19 00:40:26 -0500 received badge  Supporter (source)