Skip to main content

4 posts tagged with "ros2"

View All Tags

ROS 2 on a Raspberry Pi Robot

· 24 min read
Michael Hart
Mike Likes Robots

This post shows how to use ROS 2 to control the CamJam EduKit #3. It uses a Raspberry Pi Zero 2W, which is a small development board with minimal compute power. However, the Pi Zero can still run a full Linux Operating System, which makes it a great entry point into building your own cost-effective robot. All instructions should be applicable to more powerful Raspberry Pi models, such as the 4 or 5 models.

The CamJam EduKit #3 is a cheap robot kit you can use to build your robot. I have a series of videos on YouTube of how to assemble and run the kit, and a blog post that will tell you what each video is for. It comes with a series of worksheets to get to following a line course or avoiding obstacles; this post aims to combine the line following with obstacle avoidance, while using ROS 2 to read the sensors and move the robot.

This post is also available in video form. If you'd prefer to watch, click the link below:

Getting Started with ROS 2

· 13 min read
Michael Hart
Mike Likes Robots

Many of the blogs on this site and the videos on my YouTube channel make use of ROS 2, but I have yet to describe what ROS 2 is or why it's worth taking the time to learn. This article is an entry level post on what ROS 2 is, the basic concepts, and why you might want to learn it.

If you'd prefer to see this post in video form, please check the following link for the YouTube video:

Your First Robot Kit: CamJam EduKit #3

· 5 min read
Michael Hart
Mike Likes Robots

If you want a cheap robot kit, it's hard to do better than the CamJam EduKit #3. This is a small kit which you can assemble into a two-wheeled robot with a caster, as long as you buy a few extras. It comes with a line sensor and ultrasound distance sensor, plus a series of exercise sheets to work through in order to build the robot and get it running. You can optionally get your own chassis, or you can use the box the kit comes in.

I have recorded videos that cover all of the exercises given by the repository and uploaded them to YouTube. This post goes through each video and briefly explains what it shows, so you can follow along if you choose to buy the kit. I also use the box as the chassis!

ROS2 Control with the JetBot Part 2: Building a ros2_control System

· 17 min read
Michael Hart
Mike Likes Robots

This is the second part of the "ROS2 Control with the JetBot" series, where I show you how to get a JetBot working with ROS2 Control! This is a sequel to the part 1 blog post, where I showed how to drive the JetBot's motors using I2C and PWM with code written in C++.

In this post, I show the next step in making ROS2 Control work with the WaveShare JetBot - wrapping the motor control code in a System. I'll walk through some concepts, show the example repository for ROS2 Control implementations, and then show how to implement the System for JetBot and see it running.

This post is also available in video form - check the video link below if you want to follow along!