This is the code repository for BeagleBone Robotic Projects - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Beaglebone Blue is effectively a small, light, cheap computer in a similar vein to Raspberry Pi and Arduino. It has all of the extensibility of today's desktop machines, but without the bulk, expense, or noise. And the new features of the BeagleBone Blue make it even easier to use in DIY robotics projects.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter04.
Chapters 1, 2, 6, 9 does not have code files
The code will look like the following:
void loop() {
delay(500);
unsigned int uS1 = sonar1.ping();
unsigned int uS2 = sonar2.ping();
unsigned int uS3 = sonar3.ping();
Serial.print(uS1 / US_ROUNDTRIP_CM);
Serial.print(“,”);
Serial.print(uS2 / US_ROUNDTRIP_CM);
Serial.print(“,”);
Serial.println(uS3 / US_ROUNDTRIP_CM);
}
- Xfce
sudo apt-get install xfce4
- WinScp
- Putty
- VNC server
sudo apt-get install tightvncserver
- Real VNC
- Emacs
sudo apt-get install emacs
- build-essential
sudo apt-get install build-essential
Click here if you have any feedback or suggestions.