-
Notifications
You must be signed in to change notification settings - Fork 19
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
Trying in Docker #16
Comments
likely /opt/ros didn't exist or isn't user writable... Usually when you install with sudo apt-get you run as super user and that will create /opt/ros... try:
which will make the directory, and then change ownership to your user ( if $USER isn't set, put your username there) |
After being advised to use a stretch image, i have tried to follow the instructions but on a stretch docker image(ev3dev/ev3dev-stretch-ev3-generic). First i have to log on as root to be able to use apt-get update: Then when logged in on root i get this error when trying to run the bash script. bash ros-dependencies.debsReading package lists... Done E: Package 'liblog4cxx10' has no installation candidate Tried to continue anyway, but didn't have pip installed: Installed pip via easy_install pip and then it installed the python packages. Ran the rosdep init and added the reference to the yaml script and ran rosdep update. But when running rosdep i get this message: Continued and tried to install anyway, but get this message: I am really beginning to be desperat for a way to make this work, my next step is to down grade everything and try to follow the directions to the point and ignore every message of things being outdated, obsolete or deprecated. |
I've dusted off my EV3 and logged in for the first time in over a year...
I'll run through the steps which @dlech mentioned in ev3dev/ev3dev#854 (comment) |
Before I wipe my brick I was just looking at what is on it, and found this quick proof-of-concept cpp test node: But like was already mentioned in another issue, I only checked a basic publisher/subscriber, apparently ros services, and maybe some large data structures will not work. |
Wow. @dlech the whole EV3 + ROS process now seems so simple.
It's currently on step 6, and I'll go to sleep before it finishes. I was already impressed when I followed: http://www.ev3dev.org/docs/getting-started/#step-2-flash-the-sd-card and saw Etcher for the first time and thought, wow no more
|
I believe I suggested using upstream Debian pkgs to get ROS onto the brick (in #14), and it does make things rather easy - especially when compared to building things from source. But as easy as it is, it is important to remember that the Debian pkgs are essentially 'frozen', ie: snapshots of a certain state of ROS that will not get any (many?) of the updates that the regular ROS packages will see during the time a particular ROS release is supported. It's also not entirely clear which ROS release the upstream packages are compatible with (to me, at least). Finally: for basic comms this will probably not matter much, as the core hasn't changed that much the past couple years, but it is important to keep all of this in mind. |
Thanks @gavanderhoorn ! |
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/a/apr/libapr1_1.5.2-5_armel.deb Hash Sum mismatch |
Have tried following your instructions, but in docker and god this error when installing ROS through the catkin file:
`-- Install configuration: "Release"
CMake Error at cmake_install.cmake:38 (file):
file problem creating directory: /opt/ros/indigo
Makefile:66: recipe for target 'install' failed
make: *** [install] Error 1
<== Failed to process package 'catkin':
Command '['make', 'install']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/compiler/ros_comm/build_isolated/catkin && make install
Command failed, exiting.
compiler@24d92cc7270f:~/ros_comm$ `
The text was updated successfully, but these errors were encountered: