Ask Your Question

acwatkins's profile - activity

2021-03-30 08:49:17 -0600 marked best answer Docker ROS GUI tutorial

I have been following the tutorial found here: http://wiki.ros.org/docker/Tutorials/GUI

I can get the insecure method working using xhost +local:root however, I am concerned about security, so would like to use the second method where you pass your /etc/passwd and such to the container. This, however, doesn't work for me, copying the example exactly. Has Docker changed since this was written to not allow this? Note: Due to volume mount time, the $USER field didn't work as it didn't find my user name, so I used my user id instead.

Docker version 19.03.4-ce, build 9013bf583a

2019-12-12 03:52:46 -0600 received badge  Famous Question (source)
2019-11-19 04:50:04 -0600 received badge  Notable Question (source)
2019-11-18 03:10:37 -0600 received badge  Popular Question (source)
2019-11-17 06:42:56 -0600 asked a question Docker ROS GUI tutorial

Docker ROS GUI tutorial I have been following the tutorial found here: http://wiki.ros.org/docker/Tutorials/GUI I can

2019-05-16 10:07:35 -0600 received badge  Student (source)
2019-04-07 22:41:22 -0600 marked best answer ROS Navigation is flying into obstacles at altitude

I'm trying to get 2D navigation working on a drone. I don't care about altitude, but I want to navigate at my current altitude in 2D. I have basically set this up using the tutorials but have tweaked along the way trying to debug this issue. I am using a single 360 lidar simulated in gazebo with urdf, so no point cloud abilities.

I made a single wall with a goal on the other side in gazebo. If I am at 5m altitude, it flies straight into the wall. If I'm at 3m altitude it tries to go around, but clips the corner. I have tried messing with the max_obstacle_height and min_obstacle height as well as voxel settings. However, I'm wondering if the voxel stuff requires a point cloud rather than my 2d laser scan traveling up the wall.

In rviz, there is a costmap for the wall. With voxel enabled, it draws a single line point cloud to the current altitude of the wall but no effect on flight. Without voxel it seems to decay off the map, even though I'm getting a live return from the wall via lidar.

local_costmap_params.yaml


local_costmap:
  global_frame: odom
  robot_base_frame: base_link
  update_frequency: 2.0
  publish_frequency: 2.0
  static_map: false
  rolling_window: true
  width: 50.0
  height: 50.0
  resolution: 0.1
  plugins:
    - {name: obstacle_layer, type: "costmap_2d::VoxelLayer"} 
    - {name: inflation_layer, type: "costmap_2d::InflationLayer"}

global_costmap_params.yaml


global_costmap:
  global_frame: /map
  robot_base_frame: base_link
  update_frequency: 2.0
  static_map: false
  rolling_window: true
  width: 500.0
  height: 500.0
  resolution: 0.1
  plugins:
    - {name: obstacle_layer, type: "costmap_2d::VoxelLayer"} 
    - {name: inflation_layer, type: "costmap_2d::InflationLayer"}

costmap_common_params.yaml


obstacle_range: 40.0
raytrace_range: 40.0
max_obstacle_height: 60
min_obstacle_height: 0
footprint: [ [0.5, 0.5], [-0.5, 0.5], [-0.5, -0.5], [0.5, -0.5] ]
#robot_radius: 0.5

#point_cloud_sensor: {sensor_frame: frame_name, data_type: PointCloud, topic: topic_name, marking: true, clearing: true}

obstacle_layer:
    laser_scan_sensor: 
        sensor_frame: lightware
        data_type: LaserScan
        topic: /theseus/lightware
        marking: true
        clearing: true
        max_obstacle_height: 60
        min_obstacle_height: 0
        obstacle_range: 100.0
        raytrace_range: 100.0
    observation_sources: laser_scan_sensor
    publish_voxel_map: true
    z_resolution: 0.5
    z_voxels: 120
    z_origin: 5

inflation_layer:
    inflation_radius: 5.0
    cost_scaling_factor: 10.0
2018-11-12 07:30:41 -0600 received badge  Famous Question (source)
2018-03-08 11:06:04 -0600 received badge  Notable Question (source)
2018-03-08 00:18:57 -0600 received badge  Popular Question (source)
2018-02-22 11:49:40 -0600 edited question ROS Navigation is flying into obstacles at altitude

ROS Navigation is flying into obstacles at altitude I'm trying to get 2D navigation working on a drone. I don't care abo

2018-02-22 11:47:08 -0600 asked a question Navigation running into a wall at altitude

Navigation running into a wall at altitude I'm trying to get 2D navigation working on a drone. I don't care about altitu

2018-02-22 11:47:07 -0600 asked a question ROS Navigation is flying into obstacles at altitude

ROS Navigation is flying into obstacles at altitude I'm trying to get 2D navigation working on a drone. I don't care abo