You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🏡
Working from home
Patrick José Pereira
patrickelectric
🏡
Working from home
Director of software at @bluerobotics. Electronics engineer. Into hardware and software projects, especially with cyber-physical systems.
Simple and functional REST server for Python (2.7) using no dependencies beyond the Python standard library.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comparison of ZeroMQ and Redis for a robot control platform
ZeroMQ vs Redis
This document is research for the selection of a communication platform for robot-net.
Goal
The purpose of this component is to enable rapid, reliable, and elegant communication
between the various nodes of the network, including controllers, sensors, and actuators
(robot drivers). It will act as the core of robot-net to create a standardized infrastructure
for robot control.
Set up Arch Linux ARM on Raspberry Pi to boot from and use a read-only file-system
Read-only FS on Arch Linux ARM
Unlike your typical computer where you usually shutdown properly, I cannot rely on this during the use of my Raspberry Pi. If the Raspberry Pi is improperly shutdown too many times, data corruption in the file system leading to unbootable SD card may result. So we should use a read-only file system.
Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.
Login with default username: alarm, password: alarm
#Optionally enable root over SSH. The rest of these instructions assume u are in root.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)
Simple way to setup an arm chroot for building packages for your arm devices.
This is an alternative to cross-compiling where you are limited to only linking
against the libs in your toolchain.
Setup chroot-fs
You can store the chroot wherever you like. I choose to store it in a
disk-image which I mount to my filesystem.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters