Cover image for SMARS Lab upgrade with PyCharm

SMARS Lab upgrade with PyCharm

Upgrading the SMARS Lab code with PyCharm


 14 March 2025   |     2 minute read   |   By Kevin McAleer   |   Share this article on

Video

For every project I create, I often make a corresponding YouTube video. Sometimes, there might be more than one video for a single project. You can find these videos in this section.

Explore more through this this dedicated video.

I’ve started to try PyCharm for my Python development, and I have to say I’m impressed. I’ve been using Visual Studio Code for a while now, and I’ve been happy with it, but I wanted to try something new.

I’ve been using PyCharm for a week now, and after a little orientation I’ve found its a powerful tool for Python specific development. It’s a powerful IDE with a lot of features that make Python development easier, specifically the refactoring and debugging tools.



One of our community members asked for some help getting SMARS Lab running on their SMARS Quad robot. I’ve been aware that this code (which is now over 6 years old) has some issues, mostly to do with the library dependencies that have meant it no longer works out of the box.

I decided to take a look at the old code and do some much needed maintenance to address these issues and to generally tidy up the code using the knowledge I’ve gained over the years since I first wrote it.

My Makers Mantra is “Make it work, make it right, make it fast” and I’ve been following this mantra with the SMARS Lab code. I’ve made it work on the latest Raspberry Pi OS, I’ve made it right by fixing the issues with the code and I’ve made it fast by refactoring the code to make it more efficient.


About SMARS Quad Robots

If you want to build your own SMARS Quad robot, there is a free course available below:


PyCharm review

In this weeks livestream video we’ll take a closer look at PyCharm and use it make improvements to the existing SMARSLab code.

We’ll also take a look at the SMARS Quad robot and see how it works.

PyCharm particularly excels at code refactoring, and I’ll show you how to use this feature to make the SMARS Lab code more efficient.



Code

View Code Repository on GitHub - https://www.github.com/kevinmcaleer/smarslab