Line Following Model Car

This is something I have wanted to do for some while for fun. Note that it has nothing to do with my work at Manna, so don’t make any assumptions about the technologies being used! I also don’t get much spare time, so updates are likely to be irregular.

Objectives
This is experimenting for fun, so may go in a number of different directions. However, I do want to see how close I can get to a car that accurately stays over a line, steered using Ackerman steering rather than a differential drive. This sounds simple but most examples I see seem to be too ‘approximate’, too slow or not very smooth.

Software / Hardware Approach
I’ll predominantly be using Python and open source libraries such as OpenCV and ROS. Probably ROS2, in fact. Where we need speed, we’ll use C++.

The usual suspects will be present, such a Raspberry Pi and Jetson. I’m also interested in the OpenMV unit, stereo and depth vision, RFID, mesh networking and others as things progress. For example, maybe having two cars maintaining distancing on the same circuit.

Chassis Selection
There are a vast number of notable car projects based on different chassis. and with different levels of aspiration from simple line following through to full autonomy. Many examples of the great Donkey Car project are based on the Exceed 1/16 scale truck. At the other end of the spectrum is the MIT RaceCar project and derivations of that such as Racecar/j. This also has some great support material available from others, such as Jim at JetsonHacks.

I want something a little larger than 1/16th, so have picked a 1/110 scale car from Hobbyking. The Quanum Vandal 1/10 buggy is particularly affordable and comes as a kit or assembled with ESC and motor. I picked the latter for simplicity. With a 2S battery pack, it should hopefully not be too fast for my purposes.

From the images on the website, it looks as though it should be simple to build on a couple of platforms for components – there are some unused holes in the baseplate. I’ll probably also want to set up odometry of some sort, and there look to be some options for that, too, maybe from the driveshaft, wheels or electronically.



In the next post, I’ll go over prepping the kit before making the first modifications.

Advertisement

Personal Values

I think it’s important for anyone to be clear about what drives them, both for themselves and for others. I’ll sometimes ask about these if I am interviewing prospective employees. However, we spend too little time in education or beyond in helping individuals articulate their own values.

In my opinion, Core Values are crucial, especially to guide us when there are tough decisions to be made or in resolving difficult situations with others (I’m also thinking of the use of social media here). No one is perfect, and we cannot always live up to our values completely, but they should serve to guide our behaviours and aspirations.

They are also as important corporately as they are for individuals, but that’s a whole other topic.

Here are my Core Values – can you articulate yours?

World Class
If something is worth doing, do it at the level of the best. For me, this is also about harnessing technology for beneficial outcomes on a global scale.

Integrity
This is about honesty, reliability and doing what has been promised.

Innovation
I love taking problems and looking at new ways to solve them. This is also about self-renewal and continually challenging oneself to think differently and learn from others.

Pragmatism
I like to apply what I do to in the ‘real world’. This means I am focused on applying technique, hardware, software and theory for a practical, realisable outcome – and normally with a strong sense of urgency.

Care
There are lots of dimensions to this! I care for those I work with, for my clients and business partners. I care about the quality of the work that I do and the products I create. I care deeply about social and global issues.