[ROS in 5 mins] 042 – What is roswtf?

[ROS in 5 mins] 042 - What is roswtf?

Written by Bayode Aderinola

23/09/2018

In this video, we’ll see what the roswtf tool is. We’ll also see how and why this tool is used in ROS.

Let’s go!

Step 0. Create a project in Robot Ignite Academy(RIA)

We have the best online ROS course available in RIA. It helps you learn ROS in the easiest way without setting up ROS environment locally. The only thing you need is a browser! Create an account here and start to browse the trial course for free now! We’ll use the TF ROS 101 unit 4  as an example today.

Step 1. roswtf

The roswtf is a debugging tool in ROS which helps you to find the problem in your simulation.

Let’s have some examples. In the terminal, please type

ROS_IP= roswtf

The roswtf will check the system statically and dynamically. The static errors(e.g. the compilation error) will be shown in the static checks summary part. The dynamic checks summary shows the error found while running the ROS graph with ROS master. Here you can see that the roswtf found that the ROS_IP is invalid because it’s an empty string!

Let’s try it one more time with

ROS_MASTER_URI=127.1.1.1 roswtf

This time you will get an error shows that the 127.1.1.1 is not a valid url.

In conclusion, the roswtf is a powerful debugging tool to help you debugging your ROS program.

Want to learn more?

If you are a ROS beginner and want to learn ROS basics fast, we recommend you take any of the following courses on Robot Ignite Academy:

 

Edited by: Tony Huang


Resources mentioned in the video:

Robot Ignite Academy, the place to learn to program robots using only a web browser (the environment used in the video for demonstration)

ROS Development Studio (ROSDS), another powerful online tool for pushing your ROS learning in a practical way

– roswtf on the ROS wiki

 

We love feedback!

Did you like this video? Whatever the case, please leave a comment in the comments section below, so we can interact and learn from each other.

If you want to learn about other ROS topics, please let us know on the comments area and we will do a video about it.

Thank you!

Masterclass 2023 batch2 blog banner

Check Out These Related Posts

129. ros2ai

129. ros2ai

I would like to dedicate this episode to all the ROS Developers who believe that ChatGPT or...

read more

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This