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

FelixF's profile - activity

2017-04-07 06:48:36 -0500 received badge  Famous Question (source)
2017-01-19 04:20:13 -0500 received badge  Enthusiast
2017-01-18 11:46:11 -0500 commented answer Localization SLAM how to do?

The Problem is that the position of the car shown in rviz don't update, allthough the car is moving

I aded the amcl_pose to the question

2017-01-18 11:44:57 -0500 received badge  Editor (source)
2017-01-17 21:52:30 -0500 received badge  Famous Question (source)
2017-01-17 16:21:51 -0500 commented question Localization SLAM how to do?

I think I have to reconfigure my whole tf tree... But I don't get it :/

2017-01-17 15:28:09 -0500 commented answer Localization SLAM how to do?

yeah the whole path planing is working, check my comments on top please

2017-01-17 15:27:28 -0500 commented answer Localization SLAM how to do?

please check my comment on top. You are right I deleted this tf, but the porblem is still alive :/

2017-01-17 15:26:32 -0500 commented question Localization SLAM how to do?

So I set the init pose and I set a goal, then the Path the Robot should drive appears. the echo of cmd_vel contains good values. But if I start moving arround the LiDAR the ArrowCloud won't get smaler and also the polygon of the robot does not move

2017-01-17 10:51:33 -0500 received badge  Notable Question (source)
2017-01-17 01:37:34 -0500 received badge  Popular Question (source)
2017-01-16 13:25:01 -0500 asked a question Localization SLAM how to do?

Hey guys,

I try to develop an autonomous driving car. The problem is that I don't know how to localize the car on my SLAM map.

I only use a LiDAR UTM-30LX LiDAR to navigate. I created successfully a SLAM map with hector mapping.

Now I want to estimate a start point and a goal. I use the navigation stack with move base to navigate. As local planner I have implemented the teb_local_planner because of the Ackermann steering. I can estimate a start point and can set a goal. I also can forward my cmd_vel to the car with a steering angle and a speed info. But the position of the robot on the map in rviz don't change.

Can you help me and tell me what I have to do? I can't start playing around to find a good config for the teb_local_planner like this :(

Here is my launch file:

<launch>
  <node pkg="urg_node" type="urg_node" name="urg_node">
    <param name="ip_address" type="string" value="192.168.0.10"/>
  </node>
  <param name="pub_map_odom_transform" value="true"/>
  <param name="map_frame" value="map"/>
  <param name="base_frame" value="base_frame"/>
  <param name="odom_frame" value="odom"/>
  <node pkg="tf" type="static_transform_publisher" name="map_2_odom" args="0 0 0 0 0 0 /map /odom 100"/>
  <node pkg="tf" type="static_transform_publisher" name="odom_2_base_footprint" args="0 0 0 0 0 0 /odom /base_footprint 100"/>
  <node pkg="tf" type="static_transform_publisher" name="base_footprint_2_base_link" args="0 0 0 0 0 0 /base_footprint /base_link 100"/>
  <node pkg="tf" type="static_transform_publisher" name="base_link_2_base_stabilized_link" args="0 0 0 0 0 0 /base_link /base_stabilized 100"/>
  <node pkg="tf" type="static_transform_publisher" name="base_stablized_2_base_frame" args="0 0 0 0 0 0 /base_stabilized /base_frame 100"/>
  <node pkg="tf" type="static_transform_publisher" name="base_frame_2_laser_link" args="0 0 0 0 0 0 /base_frame /laser 100"/>
  <node pkg="tf" type="static_transform_publisher" name="base_2_nav_link" args="0 0 0 0 0 0 /base_frame /nav 100"/>
  <node pkg="amcl" type="amcl" name="amcl"/>
  <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
    <rosparam file="$(find autonomous_car)/launch/costmaps/costmap_common_params.yaml" command="load" ns="global_costmap"/>
    <rosparam file="$(find autonomous_car)/launch/costmaps/costmap_common_params.yaml" command="load" ns="local_costmap"/>
    <rosparam file="$(find autonomous_car)/launch/costmaps/local_costmap_params.yaml" command="load"/>
    <rosparam file="$(find autonomous_car)/launch/costmaps/global_costmap_params.yaml" command="load"/>
    <rosparam file="$(find autonomous_car)/launch/costmaps/teb_local_planner_params.yaml" command="load"/>
    <param name="clearing_rotation_allowed" value="false"/>
  </node>
  <node pkg="rviz" type="rviz" name="rviz" args="-d $(find hector_slam_example)/launch/rviz_cfg.rviz"/>
</launch>

My amcl_pose dont update, but the car is moving with the speed and angle from the first input :/

rostopic echo /amcl_pose

header:

seq: 0

stamp:

secs: 1484760781

nsecs: 434161143

frame_id: map

pose:

pose:

position: 

  x: 1.50654940711

  y: 3.46721180218

  z: 0.0

orientation: 

  x: 0.0

  y: 0.0

  z: -0.773900494384

  w: 0.633307212016

covariance: [0.18227685925353398, 0.0027654181834790847, 0.0, 0.0, 0.0, 0.0, 0.0027654181834790847, 0.22445548719072939, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ... (more)

2016-11-27 14:14:30 -0500 received badge  Notable Question (source)
2016-11-20 08:39:08 -0500 received badge  Scholar (source)
2016-11-20 08:07:44 -0500 received badge  Supporter (source)
2016-11-18 12:40:51 -0500 received badge  Popular Question (source)
2016-11-18 07:27:11 -0500 asked a question teb_local_planner steering angle

Hi Guys,

I'm new in the ROS environment and this community, so first of all I want to say Hello to everyone of you.

I want to setup an SLAM based autonomous car. The car should detect obstacle with the help of a Lidar sensor. I'am able to create a map of the environment and set an estimation point and a goal. For the navigation I use the navigation stack + the teb_local_planner. There I have some troubles with the MAP update because I have only a Pentium Processor in the notebook. But maybe I can fix this problem with bette configuraions. My problem as soon as I got a path I have to send the moving commands to my car. For that I have a raspberry pi on the car who will forward a steering angle and a speed value to my motor management. But I don't know in wich topic the teb_local_planner publish these topics.

If you need more information tell what I have to publish to you.

Many thanks and I look forward to your answers :)

Best, Felix