# ROS Nav project transform/particle cloud issues

**URL:** <https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929>\
**Category:** ROS Navigation In 5 Days\
**Created:** [June 6, 2020, 9:17pm UTC](https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929 "2020-06-06T21:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.crider](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/david.crider/32/10_2.png) [@david.crider](https://get-help.theconstruct.ai/u/david.crider)\
**Post date:** [June 6, 2020, 9:17pm UTC](https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929/1 "2020-06-06T21:17:48Z")

</div>

Hello. I am currently trying to work on the ROS nav project, but I cannot get the system to publish and /particlecloud data. I think there may be an issue with the transforms, as Rviz displays an error stating there is no transform between map and summit\_xl\_a\_odom.

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/7/7ebd80fe282a59553e231036064895ad99bbc231.jpeg)  
I took a look at the frames graph, and it is totally different from the one show in the project document.  
Project document:  
 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/5/5a22e0cf051bba839d64534d3758fddbe10f9d29.png)  
Generated frames graph:  
 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/8/8f6da19a0dad2b0592447bc3fa551e7e6e003e95.png)

I’ve tried several things, including forcing the transform in a launch file, to no avail. Here is the AMCL node launch file I’m trying to use. Any help would be greatly appreciated.

\<?xml version="1.0"?\> 

```
<param name="use_map_topic" value="$(arg use_map_topic)"/>

<!--

<param name="odom_frame_id" value="summit_xl_a_odom"/>

<param name="base_frame_id" value="summit_xl_a_base_link"/>

<param name="global_frame_id" value="map"/>

-->

<!--<remap from="map" to="/map"/>-->

<!-- Publish scans from best pose at a max of 10 Hz -->

<param name="odom_model_type" value="diff"/>

<param name="odom_alpha5" value="0.1"/>

<param name="gui_publish_rate" value="5.0"/>

<param name="laser_max_beams" value="60"/>

<param name="laser_max_range" value="12.0"/>

<param name="min_particles" value="500"/>

<param name="max_particles" value="2000"/>

<param name="kld_err" value="0.05"/>

<param name="kld_z" value="0.99"/>

<param name="odom_alpha1" value="0.2"/>

<param name="odom_alpha2" value="0.2"/>

<!-- translation std dev, m -->

<param name="odom_alpha3" value="0.2"/>

<param name="odom_alpha4" value="0.2"/>

<param name="laser_z_hit" value="0.5"/>

<param name="laser_z_short" value="0.05"/>

<param name="laser_z_max" value="0.05"/>

<param name="laser_z_rand" value="0.5"/>

<param name="laser_sigma_hit" value="0.2"/>

<param name="laser_lambda_short" value="0.1"/>

<param name="laser_model_type" value="likelihood_field"/>

<!-- <param name="laser_model_type" value="beam"/> -->

<param name="laser_likelihood_max_dist" value="2.0"/>

<param name="update_min_d" value="0.25"/>

<param name="update_min_a" value="0.2"/>

<param name="odom_frame_id" value="odom"/>

<param name="resample_interval" value="1"/>

<!-- Increase tolerance because the computer can get quite busy -->

<param name="transform_tolerance" value="1.0"/>

<param name="recovery_alpha_slow" value="0.0"/>

<param name="recovery_alpha_fast" value="0.0"/>

<remap from="scan" to="$(arg scan_topic)"/>    

```

---

<div class="post-metadata">

**Author:** ![albertoezquerro](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/albertoezquerro/32/7031_2.png) [@albertoezquerro](https://get-help.theconstruct.ai/u/albertoezquerro)\
**Post date:** [June 8, 2020, 9:02am UTC](https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929/2 "2020-06-08T09:02:55Z")

</div>

Hello @david.crider,

The problem is that you are setting the wrong odometry frame. You are setting the frame to **odom** here:

`<param name="odom_frame_id" value="odom"/>`

But actually, the correct frame name is **summit\_xl\_a\_odom** , as you can see in the frames tree graph (the image from the notebook is outdated, I will fix it this week). This should fix your problem. Also, you don’t need to generate the tf since this is indeed the work of the **amcl** node.

Best,

---

<div class="post-metadata">

**Author:** ![david.crider](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/david.crider/32/10_2.png) [@david.crider](https://get-help.theconstruct.ai/u/david.crider)\
**Post date:** [June 8, 2020, 2:20pm UTC](https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929/3 "2020-06-08T14:20:54Z")

</div>

Hello, thank you for the help.  
That seems to have fixed the transform issue. However, there is still nothing published on the particle cloud topic.

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/5/5fbc8008817de17b4e12eaaf2fcf24ff72622cb1.jpeg)  
additionally, any time I try to use the 2d pose estimate tool, the rviz terminal says the pose is updated, but there is no change on the GI.

---

<div class="post-metadata">

**Author:** ![albertoezquerro](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/albertoezquerro/32/7031_2.png) [@albertoezquerro](https://get-help.theconstruct.ai/u/albertoezquerro)\
**Post date:** [June 9, 2020, 9:19am UTC](https://get-help.theconstruct.ai/t/ros-nav-project-transform-particle-cloud-issues/3929/4 "2020-06-09T09:19:09Z")

</div>

Hello @david.crider,

Try unchecking the **PoseArray** display, and then checking it again for refreshing it. This might solve the issue. If not, try to modify the **base\_frame\_id** for **summit\_xl\_a\_base\_footprint**. Also, if you want to visualize the pose update in RViz here, you should change the Fixed Frame on RViz to **map**.

Best,
