Back to Blog
They share a similar publish-subscribe architecture so it should be possible to link them together.This post continues with getting the Robot Operating System installed and working and getting a few parts selected and ordered.
I elected to go with the ROS because of its long list of prebuilt capabilities (e.g. The framework provides a way to create a publishsubscribe messaging and services infrastructure that can span multiple controllers and computers. Has Anyone Successy Ed Ros Indigo Code Running InRobot components are controlled through specialized code running in ROS Nodes. ROS Nodes interact with each other through a server node controlling the overall infrastructure. A multiple controller design can communicate over a local WiFi network or be contained entirely on a single controller. I am still learning about this framework and currently plan to run everything on the Raspberry Pi with Python and use my laptop as a development, monitoring and debugging node. As I learn more about the performance characteristics, I will have the option to move work off of the Raspberry Pi to other controllers or convert the Python to C. The ROS Indigo distribution is fully supported on Ubuntu but only experimentally on the Mac. Note that ROS Indigo supports Ubuntu 14.04 Trusty Tahr. This was a very easy install and worked without a problem. This will enable the VM and Raspberry Pi to reach each other (e.g. This setting may be revisited depending on experience. This process took many, many hours the better part of a full day. I have not gone back and connected a monitor and keyboard to the Raspberry Pi to confirm they work. The Adafruit WebIDE is great for beginners but there appears to be challenges getting the source tree assumptions aligned with the ROS package source assumptions. I may be able to use a symbolic link from the ROS src directory to the WebIDE directory to make that work. Alternatively, I am exploring the use of LiClipse on Ubuntu working against the source tree mounted on the Raspberry Pi MicroSD card. The servos are now backordered (even though they appear to be in stock at a different US warehouse) and after a long delay and terrible customer service, the servos have been canceled. I have selected a substitute that I think should work: Power HD High-Torque Servo 1501MG. The 1501MG has slightly more torque at 6V and equivalent turn rate. It is not high voltage and it is not digital but those features should not matter for this application. While it sounds cool to have your own 3D printer, the ABS plastic smell, printing noise and the need for a temperature controlled room eliminated that option for me. Im currently using MyRobotLab on a Raspberry Pi 3 (Raspbian Jessie distribution ) and would be interested in building a link between MyRobotLab and ROS.
0 Comments
Read More
Leave a Reply. |