Course

Unit Testing with ROS Python

Learn how to perform Unit Tests with ROS on the 3 main levels of testing: Python tests, ROS tests, and Integration tests

Course Overview

Description

Currently, there exist thousands of ROS packages, and that number is growing every year. As a robotics developer, you will have to constantly update your code. But it is very easy to introduce errors or bugs. So with this in mind, unit testing becomes an essential tool that allows you to make incremental updates to your code more quickly.  

Learning Objectives

  • Create Python Unit Tests
  • Create ROS Unit Tests
  • Create ROS Integration Tests

Simulation robots used in this course

Parrot AR.Drone, TurtleBot 2 Robot

Level

Intermediate

}

Duration

8h 20m

What projects will you be doing?

[ROS Q&A] 168 - What are the differences between global and local costmap

Library Unit Tests

Create unit tests at a Python-code level

ROS Mini Challenge #2 - RViz

ROS unit tests

Create unit tests at a ROS-node level

ros-project-tutorial-My-Robotic-Manipulator-02---URDF-+-XACRO

ROS Integration Tests

Create unit tests at a behavioral level

ros-project-tutorial-My-Robotic-Manipulator-02---URDF-+-XACRO

Unit Testing MicroProject

A small project to put into practice everything you’ve learned during this course

What you will learn

Course Syllabus

Unit 1: Introduction to the Course

An introduction to the Course. It includes a simple demo.

10 min.

Unit 2: Basic Concepts

Some basic concepts related to ROS Unit Testing: testing tools, levels of testing…

1 hr.

Unit 3: Library Unit Tests

Learn how to create Library Unit tests, which are tests at a Python-code level.

1 hr. 

Unit 4: ROS-Node Level Tests

Learn how to create ROS Node-level tests, which are tests at a ROS level.

1 hr. 

Unit 5: ROS Integration Tests

Learn how to create ROS Integration tests, which are tests at a behavior level.

1 hr. 

Unit 6: MicroProject

A small project to put into practice everything you’ve learned during the course.

4 hrs. 

Unit 7: Final Recommendations

What to do after finishing the Course?

10 min.

Ready to get started?

Create an account to start learning

What’s next

People interested in this course also viewed

Course

ROS RViz Advanced Markers

Course

Debug Cases

Top companies choose The Construct for Enterprise to equip their teams with ROS & Robotics skills.