sea-bass / pyrobosim

ROS 2 enabled 2D mobile robot simulator for behavior prototyping.

Home Page:https://pyrobosim.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add colcon testing to `pyrobosim_ros` package

sea-bass opened this issue · comments

The pyrobosim_ros package needs some unit tests, but these should be separate from the core pyrobosim tests since the ROS interface is optional.

As a proof of concept, we should add unit tests for the pyrobosim_ros/pyrobosim_ros/ros_conversions.py file and configure them to run with colcon test on that package.

Today at work I learned how to set this up, so for future me (or whomever else grabs this): https://docs.ros.org/en/humble/How-To-Guides/Ament-CMake-Python-Documentation.html#using-ament-cmake-pytest