Here are all the commands required condensed into a single script (thanks Copilot): This is for a 1GB swap file (double the ram on the pi). However, you can increase it as much as you’d like on line #14. Just be aware that the benefits drop off pretty quickly beyond this point. Note that I’m … Continue reading "Using a USB Drive for a swap file on a RaspberryPi Zero 2"
EC2 Instance Setup Create a new EC2 instance. This example was done on amazon-linux but I think it would probably be better to use ubuntu next time. If you do use ubuntu note that you’ll need to use apt instead of yum and will likely have to open ports 80 and 443 on the instance. … Continue reading "Setting Up a Golang Web Server on EC2 with a Free SSL Cert and No Load Balancer"
Hey everyone, Just a quick post on how to use postman with a gRPC endpoint using .net core. Add the grpc reflection package to your project: Add to the container and include the middleware in your program.cs: Startup your project and then open postman. Create a new gRPC request by: You should now be able … Continue reading "Using Postman with .net gRPC endpoints"
Hey everyone, I created a new gRPC project with Visual Studio on a Mac and ran into the following error when trying to run it: It turns out that Kestrel does not support HTTP/2 with TLS on MacOS. In order to get around it we end up having to configure it to not use TLS. … Continue reading "System.IO.IOException with a .NET gRPC Project on Mac"
Hey everyone, I ran into a small issue today on my RaspberryPi. Occasionally, when restarting scripts that utilised usb devices (lidar, arduino) the usb connections were locking up. This meant that when I tried to restart the scripts I wasn’t able to reconnect. My initial solution was to simply restart the Pi each time it … Continue reading "Reset USB Devices on RaspberryPi Ubuntu"
Hi everyone, I’ve had a bit of an issue recently with my RaspberryPi disconnecting when I’m flooding the network with camera images. Unfortunately I’m using a dodgy TP-Link WiFi range extender and it doesn’t handle the load well at all. The issue with this is that it means I cannot connect to the RaspberryPi to … Continue reading "Automatically Shutdown a RaspberryPi when the Network is not…
Hi everyone, It’s been a while since I’ve posted an update on the the hydroponics robot but I’m definitely still working on it! I’m currently working on aligning the robot’s pot lift with “catches” on the plant pots. I’ve tried a few approaches for this one, but the current plan is to use polygon object … Continue reading "Hydroponics Robot Part 6 – Polygon Object Detection"
In this blog post, I will be sharing the latest progress I made on my hydroponics robot. I last left it with goal accuracy issues and the wheel tread falling off. I started off by gluing the wheel tread back onto the robot, and then proceeded to run it through the lane in laps. The … Continue reading "Hydroponics Robot Part 5 – Lane Navigation"
Welcome back to the Hydroponics Robot project! In this update, I will be discussing some of the challenges I faced while trying to improve the navigation accuracy of my robot. In the previous update, I mentioned that I was having trouble with the robot getting stuck halfway to its destination. After experimenting with DWB critics, … Continue reading "Hydroponics Robot Part 4 – Nav2 Goal Accuracy"
Hydroponics Robot Part 3 – Mapping Issues Continued Welcome back to the third part of my series on building a hydroponics robot! In this blog post, I’ll continue discussing the mapping issues I encountered while trying to navigate my robot through narrow passages and plant rows. Increasing the global costmap Previously, I tried increasing the … Continue reading "Hydroponics Robot Part 3 – Mapping…