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

nikfio's profile - activity

2018-06-18 10:48:02 -0500 received badge  Famous Question (source)
2018-04-19 10:09:52 -0500 received badge  Notable Question (source)
2018-04-19 10:09:52 -0500 received badge  Popular Question (source)
2018-02-20 04:51:20 -0500 received badge  Enthusiast
2018-02-19 07:14:43 -0500 commented answer robot_localization: unable to use odometry/filtered as input

are you generating the /map topic? what about trying another package different from ekf ? or do you have to use that ab

2018-02-18 03:29:56 -0500 answered a question robot_localization: unable to use odometry/filtered as input

Are you using the laptop as a master connected through wifi with the robot? What is the output of rosrun tf view_

2018-02-18 03:16:17 -0500 asked a question hokuyo UTM-30LX-EW cannot open network

hokuyo UTM-30LX-EW cannot open network Hello everyone, I'm working with the Hokuyo UTM-30LX-EW connected to the raspber

2018-02-16 23:34:20 -0500 edited question Hokuyo Ethernet connection error in Raspberry

Hokuyo Ethernet connection error in Raspberry Hello everyone, I am trying to run the Hokuyo UTM-30LX-EW with raspberry

2018-02-16 23:34:20 -0500 received badge  Editor (source)
2018-02-16 23:13:17 -0500 asked a question Hokuyo Ethernet connection error in Raspberry

Hokuyo Ethernet connection error in Raspberry Hello everyone, I am trying to run the Hokuyo UTM-30LX-EW with raspberry

2018-02-09 03:32:39 -0500 received badge  Famous Question (source)
2018-02-08 15:27:50 -0500 marked best answer Unable to start costmaps in navigation stack

Hello everyone. I am now working with the Create 2 robot - Roomba 600 platform - with the driver from AutonomyLab and a Hokuyo LRF. Everything is running perfect, but when I try to enable the navigation stack, the terminal does not log activation of obstacle layer and inflation layer, meaning the costmaps are not enabled on Rviz.

Meanwhile in Gazebo everithing works smoothly with the same parameters settings, so I have two computers connected in the same wireless, this is the procedure I take*

  1. launch create and hokuyo driver with scan:=base_scan frame_id:="same name written in urdf file"
  2. rosrun gmapping slam_gmapping scan:=base_scan _linearUpdate:=0 _angularUpdate:=0 - starts LiveSlam()
  3. start move_base node with all the parameters of global and local planner, global and local costmap

Communications is realized with a local VPN, port 1194 over UDP.

I tried many possible solutions but no one seems to work in a stable way, so I would like to ask for your help here. One thing that made me think is about the view_frames output that is very different from gazebo case, which uses use_sim_time = true, so a possible cause I was thinking is about time synchronization.

Il'post here some important screenshot and config settings and outputs:

In common_costmap_params.yaml:

 #Configuration for the sensors that the costmap will use to update a map
observation_sources: base_scan
base_scan: {sensor_frame: hokuyo_link, data_type: LaserScan, topic: /base_scan, expected_update_rate: 0.4,observation_persistence: 0.0, marking: true, clearing: true, max_obstacle_height: 0.4, min_obstacle_height: 0.08}

From navigation stack logging:

[ WARN] [1518088865.446447100]: Timed out waiting for transform from base_footprint to map to become available before running costmap, tf error: Lookup would require extrapolation into the past.  Requested time 1518088839.115352594 but the earliest data is at time 1518088855.527055015, when looking up transform from frame [base_footprint] to frame [map]. canTransform returned after 0.100919 timeout was 0.1.

From view frames:

map->odom->base_footprint->base_link-> to everyone published by robot_state_publisher related to urdf tree

It's showing 20 Hz on slam_gmapping, robot driver and LRF sensor with also:

Most recent transform: 1518088979.565 ( 26.377 sec old)
Buffer length: 4.900 sec

The tf parts published by robot_state_publisher are posting: average rate = 10000 Hz

And in these components of the frames at "most recent transform" I have:

Most recent transform: 0.000 ( 1518089005.943 sec old)
Buffer length: 0.000 sec

The important effect of all of this is that move_base_node ends up to not be a subscriber of /base_scan, so the obstacle plugins cannot enable.

I think wrote the most important effects for me, but if you suggest to post something else i will be happy to. I would be very grateful to the ones who want to give suggestions or ideas.

2018-02-08 15:27:50 -0500 received badge  Scholar (source)
2018-02-08 15:27:47 -0500 received badge  Supporter (source)
2018-02-08 06:47:18 -0500 received badge  Notable Question (source)
2018-02-08 06:47:17 -0500 answered a question Unable to start costmaps in navigation stack

SOLVED!! Guys, if you a have a strange result from rosrun tf view_frames The first thing to make sure it's to check

2018-02-08 06:43:06 -0500 commented question Unable to start costmaps in navigation stack

SOLVED! it was because of synchronization, my laziness made me avoid section 5 of that article before. The first run of

2018-02-08 06:36:48 -0500 commented question Unable to start costmaps in navigation stack

Essentially, because by simply setting ROS_IP and ROS_MASTER_URI was not working, I guess it's due to having desktop pc

2018-02-08 06:15:50 -0500 received badge  Popular Question (source)
2018-02-08 06:03:55 -0500 commented question Unable to start costmaps in navigation stack

Regarding vpn configuration, I tried any solution but that one seemed to be the only one really working. At first, I pre

2018-02-08 05:59:55 -0500 edited question Unable to start costmaps in navigation stack

Unable to start costmaps in navigation stack Hello everyone. I am now working with the Create 2 robot - Roomba 600 platf

2018-02-08 05:58:03 -0500 commented question Unable to start costmaps in navigation stack

thank you @gvdhoorn for your reply. Communication is stable through the tun0 interface, I can ping each other and run t

2018-02-08 05:46:17 -0500 asked a question Unable to start costmaps in navigation stack

Unable to start costmaps in navigation stack Hello everyone. I am now working with the Create 2 robot - Roomba 600 platf