-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RD2 revival #1
Comments
Will be focusing on other robots for now, namely RD Ambassador asrob-uc3m/rd-ambassador#1 as it is easy to build (you buy the chassis). 😄 |
import->export to https://github.com/asrob-uc3m/rd2 |
The command protocol has changed in the last months; therefore, the robot server device run aboard the RD2 robot needs to be updated. Sadly, the CPU is a kinda old RasPi v2 with one single core and outdated packages, for instance, CMake 2.8.9. This means that a |
From asrob-uc3m/robotDevastation-robots#44 I see that for RD Ambassador at asrob-uc3m/rd-ambassador#1 we have newer Raspis (v2 or even v3b) with Raspian Stretch. Raspian versions are equal to Debian's so https://packages.debian.org/stretch/cmake says we would have a nice cmake 3.7.2-1. |
I'd start with the repo state previous to commit asrob-uc3m/yarp-devices@9f777d1 (CMake bumped from 2.8.9 to 3+) and cherry pick asrob-uc3m/yarp-devices@341a73c. |
Due to working with a one-core Raspi v2, I thought it would be nice to switch SDs with a Raspi v3, but that one only handles MicroSD, while RD2 has a full-sized SD. Apart from that, I have switched from gcc-4.6 to gcc-4.8 (C++11 feature-ready). |
We could work with the microSD on Raspi v3, then fit it in an adapter (there are some in locker 1) for the SD of Raspi v2. |
At the time of writing, RD2 runs CMake 3.5.2 (no ccmake, yet), YARP 2.3.72.1 with opencv_grabber and the mjpeg carrier, and latest rd-robots and yarp-devices repos. A linker issue was solved via asrob-uc3m/yarp-devices@7db08bd. However, #2 and #3 are now blocking further progress. |
I forgot to say that this didn't work due to not being able to log in the RasPi v3 (this solution suggested by @jgvictores on chat would require a working keyboard+display). I decided to spend a few hours compiling stuff (CMake took circa 1.5 hours, YARP was 2+). Done. Was caused by some obsolete .ini files, which leads us to...
In the first place, I think we should import robotDevastation-robots/share/launch, which actually holds the RD2-related port names and pinout configuration. However, this repository (as other similar robot-oriented) stores 3D models, schematics, pictures, etc. which I'm not especially eager to clone into the onboard RD2's storage just for the sake of copying a few tiny launcher scripts into some system location. Perhaps all config files should remain in robotDevastation-repos, conveniently renamed so that name clashes and conflicts are avoided? @jgvictores I believe you share some of my concerns given asrob-uc3m/robotDevastation-developer-manual#12. PS see asrob-uc3m/robotDevastation-developer-manual#12 (comment). |
It's really large! (You can fit so many wonders into 8 GB.) |
Updated description on Prototype status: in robotera.
|
Also attaching pic of electronics (we're note really sure if it's correct, but at least for now it hasn't crashed on init nor smelt like burnt) EDIT: Connection seems correct given pinout in inner row:
|
Copying Raspi v3b+ contents from microSD to Toshiba 16 GB SD (preserving Lexar 8 GB SD) as explained at http://wiki.asrob.uc3m.es/index.php/Crear_SD_con_Raspbian_y_robotDevastation-robots/raspi_software_(avanzado:_de_cero). Note: Pending asrob-uc3m/robotDevastation-developer-manual#13) where documentation is being migrated to https://github.com/asrob-uc3m/robotDevastation-developer-manual/tree/master/robots (perma). |
Replicated steps with big Toshiba 16 GB SD ( |
Turned on today. Raspian 9.8 (stretch). Regarding the two USB ports:
|
Raspian 9.8 (stretch) comes with cmake version 3.7.2, while YARP requires CMake 3.12 or higher. As https://apt.kitware.com/ PPA looks very Ubuntu-oriented, https://packages.debian.org/stretch-backports/cmake providing |
Raspian doesn't release official backports. Ended up compiling
|
On branch yarp-3.3:
|
Via
|
After installing dependencies,
|
Wow! Raspi 3 B+ ( |
Compiling on Raspi 3 B+ but same setup as #1 (comment); yes,
|
Interesting, it probably deserves an upstream issue. Did you manage to compile previous YARP versions on that same HW/SW? |
AFAIK (or recall), all previous working YARP versions were on Raspian 7, and these are the first attempts with Raspian 9. Nothing serious. It all boils down to:
At least in terms of RD/RD2, I think we're good to go with |
From @jgvictores on May 13, 2018 10:18
RD2 revival
Robot: https://github.com/asrob-uc3m/robotDevastation-robots/tree/develop/rd2 (permalink).
Prototype status: in robotera.
Raspi 1 screwed to chassis
Uses large SD card, has 8GB SDHC (large), seems functional but has Raspian 7 (not 9)
Other issues are regarding number of USBs (only 2, used by camera and wifi) and not accesible without unscrewing
Incorporate custom https://github.com/asrob-uc3m/robotDevastation-robots/tree/develop/scripts
Update documentation accordingly
Fix camera (Unable to launch camera #2)
Fix motor controller (Unable to launch motor controller #3)
Copied from original issue: asrob-uc3m/robotDevastation#134
The text was updated successfully, but these errors were encountered: