Code Monkey home page Code Monkey logo

Comments (7)

mintar avatar mintar commented on July 24, 2024

Here is how you do it:

<launch>
  <node name="sick_tim551_2050001" pkg="sick_tim" type="sick_tim551_2050001" respawn="false" output="screen">
      <param name="frame_id" type="str" value="my_laser" />
  </node>
</launch>

from sick_tim.

mintar avatar mintar commented on July 24, 2024

Oh, and you can check that it's working by running rostopic echo /scan and checking the frame_id.

from sick_tim.

thomassimon avatar thomassimon commented on July 24, 2024

Indeed on the topic, it's the correct frame.
But I have checked on the tf monitor and the tf tree.
Also I use the launch file of the sick_tim551.

from sick_tim.

jspricke avatar jspricke commented on July 24, 2024

If it's wrong in the tf tree, it's on your side, check your URDF.
The modifications to the launch file proposed by mintar are for the sick_tim551.

from sick_tim.

thomassimon avatar thomassimon commented on July 24, 2024

For the example, do I have to change it in the robot_description and the urdf linked to the package ?

from sick_tim.

jspricke avatar jspricke commented on July 24, 2024

If you use our urdf macro, change it like: <xacro:sick_tim310 name="my_laser" ros_topic="scan" />, name is the tf name.

from sick_tim.

thomassimon avatar thomassimon commented on July 24, 2024

Thanks.

from sick_tim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.