Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rf2o won't work for my data #14

Open
facontidavide opened this issue Mar 16, 2018 · 4 comments
Open

rf2o won't work for my data #14

facontidavide opened this issue Mar 16, 2018 · 4 comments

Comments

@facontidavide
Copy link

Hi,

I tried your package but I was not able to make it work.
This is the launch file

<launch>
  <node pkg="rf2o_laser_odometry" type="rf2o_laser_odometry_node" name="rf2o_laser_odometry" output="screen">
    <param name="laser_scan_topic" value="/navLaser/scan"/>        # topic where the lidar scans are being published
    <param name="odom_topic" value="/odom_rf2o" />              # topic where tu publish the odometry estimations
    <param name="publish_tf" value="false" />                   # wheter or not to publish the tf::transform (base->odom)
    <param name="base_frame_id" value="/base_link"/>            # frame_id (tf) of the mobile robot base. A tf transform from the laser_frame to the base_frame is mandatory
    <param name="odom_frame_id" value="/odom" />                # frame_id (tf) to publish the odometry estimations
    <param name="freq" value="6.0"/>                            # Execution frequency.
    <param name="verbose" value="true" />                       # verbose
    <param name="init_pose_from_topic" value="" />
  </node>
</launch>

temp.bag.tar.gz

Any suggestion?

@agn-7
Copy link

agn-7 commented Mar 30, 2018

what is your error?
Is laser scan not found warning?

@artivis
Copy link

artivis commented Apr 18, 2018

Notice that rf2o seems not to be REP117 compliant. If the laser-scan data contains +/- Inf and/or NaNs it fails computing the odom covariance and nothing happens - in the base case scenario.
See a fix on my fork artivis@ae01076.

@ChouBot
Copy link

ChouBot commented Aug 9, 2018

I confirm that the fix of @artivis worked for me. I am using Sick TIM 561.

@HaoQChen
Copy link

Notice that rf2o seems not to be REP117 compliant. If the laser-scan data contains +/- Inf and/or NaNs it fails computing the odom covariance and nothing happens - in the base case scenario.
See a fix on my fork artivis@ae01076.

this work for me, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants