Gazebo Checkerboard Generator

I’d like to share a script to generate a Gazebo checkerboard model automatically. It can generate checkerboards of any size and with any number of squares. There are more details in the file header.

Link to Script

The script is simple and straightforward, but I thought it could save some time if anyone is dealing with checkerboards in Gazebo, because of the amount of boilerplate involved with setting up a new model. It could also be used as a jumping-off point for an AR tag generator.

I wrote the script this past summer, when I worked at Diligent Robotics in Austin, TX writing ROS code for medical assistance robots (they are also hiring!). Diligent is committed to having good simulation environments for testing, and this script was part of that effort.

2 Likes