bchretien / arch-ros-stacks

:package: AUR packages of ROS stacks.
46 stars 26 forks source link

kinetic? #57

Open hauptmech opened 8 years ago

hauptmech commented 8 years ago

Anyone have time to start on this?

pryre commented 7 years ago

Managed to install it painlessly last night, @zootboy, no issues so far. Going to give it a run with my simulator setup later this afternoon.

It seems like you have all the packages in there for "ros-kinetic-robot", is this all you are personally planning on adding it (just for a record)?

Also, I think I might try to do some updates to the wiki.ros.org. Might be able to attract a few more people along, even if the process is still quite rudimentary. Could anyone offer some thoughts?

zootboy commented 7 years ago

I did some updates to the archwiki ROS entry, nothing on the actual ROS wiki. If someone wants to do that, by all means.

I've personally been uploading packages to the AUR as I use / test / need them. If you have any requests, send them my way (aur AT seangreenslade DOT com). I can't promise I'll be able to properly test packages I don't personally use, but I will maintain them on the AUR.

artcg commented 7 years ago

Thanks for uploading those @zootboy

Is rqt and rviz for kinetic included in the AUR? (I can see they are there for e.g. Indigo, Jade, are they forward compatible?)

zootboy commented 7 years ago

They're on my to-do list. I'm away from home at the moment, so it probably won't happen for a week or two.

zootboy commented 7 years ago

@artcg I just uploaded rviz & rqt to the AUR. Comment on the AUR packages if you find any problems.

artcg commented 7 years ago

Neat, thanks! I'll check them out later on

On 14 Jan 2017, at 3:37 a.m., Sean Greenslade notifications@github.com wrote:

@artcg I just uploaded rviz & rqt to the AUR. Comment on the AUR packages if you find any problems.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ZJaume commented 7 years ago

Is ROS-Kinetic usable in Arch? I need a ros version with the turtlebot packages and Indigo fails compiling

artcg commented 7 years ago

It is useable but from my experience a lot less painful to just dual-boot whichever is the officially recommended version of Ubuntu- I found that compatibility was awkward and sometimes hacky otherwise

On Wednesday, May 10, 2017, Jaume Zaragoza notifications@github.com wrote:

Is ROS-Kinetic usable in Arch? I need a ros version with the turtlebot packages and Indigo fails compiling

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bchretien/arch-ros-stacks/issues/57#issuecomment-300406470, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6Jww7jgMR1qi-3OSYK2GW9d_uuEorxks5r4W8cgaJpZM4I-QuY .

-- from, Arthur

tmmsartor commented 7 years ago

@ZJaume also a lxc container with the proper version of ubuntu is a good solution in my experience.

romainreignier commented 7 years ago

As @artcg I have ended up using a dual-boot as well, it is a lot simpler.

RashikShahjahan commented 6 years ago

Is installing ros-kinetic on arch possible at the moment?

zootboy commented 6 years ago

In theory, yes. In practice, you may need to do some patching to get some of the packages to compile.

RashikShahjahan commented 6 years ago

@zootboy I got this error while building catkin:

make: *** [Makefile:163: all] Error 2
<== Failed to process package 'opencv3': 
  Command '['/opt/ros/kinetic/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/rashik/ros/ros_catkin_ws/build_isolated/opencv3 && /opt/ros/kinetic/env.sh make -j4 -l4

Any idea why?

zootboy commented 6 years ago

Have you tried using the native Arch opencv package with my stub installer?

https://aur.archlinux.org/packages/ros-kinetic-opencv3-native/

No idea if it still works, but worth a try.

RashikShahjahan commented 6 years ago

@zootboy Thanks! I'll give it a shot. I used this guide, btw : https://gist.github.com/lcpz/0ab75aa5205504ced9f5c11cac10a89e

RashikShahjahan commented 6 years ago
In file included from /home/rashik/ros/ros_catkin_ws/build_isolated/opencv3/install/modules/ovis/opencv_ovis_pch_dephelp.cxx:1:
/home/rashik/ros/ros_catkin_ws/src/opencv3/opencv_contrib/ovis/src/precomp.hpp:13:10: fatal error: Ogre.h: No such file or directory
 #include <Ogre.h>
          ^~~~~~~~
compilation terminated.
make[2]: *** [modules/ovis/CMakeFiles/opencv_ovis_pch_dephelp.dir/build.make:63: modules/ovis/CMakeFiles/opencv_ovis_pch_dephelp.dir/opencv_ovis_pch_dephelp.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6483: modules/ovis/CMakeFiles/opencv_ovis_pch_dephelp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 15%] Linking CXX static library ../../lib/libopencv_bgsegm_pch_dephelp.a
[ 15%] Built target opencv_bgsegm_pch_dephelp
[ 15%] Linking CXX static library ../../lib/libopencv_aruco_pch_dephelp.a
[ 15%] Built target opencv_aruco_pch_dephelp
[ 15%] Linking CXX static library ../../lib/libopencv_ximgproc_pch_dephelp.a
[ 15%] Built target opencv_ximgproc_pch_dephelp
make: *** [Makefile:163: all] Error 2
<== Failed to process package 'opencv3': 
  Command '['/opt/ros/kinetic/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/rashik/ros/ros_catkin_ws/build_isolated/opencv3 && /opt/ros/kinetic/env.sh make -j4 -l4

Command failed, exiting.

This is what I got after I tried building after installing that.

zootboy commented 6 years ago

Is Ogre installed? The error message pretty clearly points out what the issue is: Ogre.h can't be found.

RashikShahjahan commented 6 years ago

@zootboy I have installed ogre seperately. Still getting the same error.

RashikShahjahan commented 6 years ago

@zootboy I have installed ogre seperately. Still getting the same error.

zootboy commented 6 years ago

I have a vague recollection of the latest ogre not working with kinetic. You may need to use the ogre-1.8 or ogre-1.9 AUR packages.

hauptmech commented 6 years ago

@RashikShahjahan you can show the include paths to understand where the compiler is actually looking. It's not uncommon for projects to "improve" their directory structure and change include file locations or include paths.

ROS follows slower moving distros (ubuntu/debian) so getting it to work on Arch often involves this type of problem.

I run ROS in an Ubuntu nspawn container under Arch these days rather than waste my time trying to drag them into the future. Getting the container to use the GPU has it's own (solvable) issues, but most of my stuff is headless.

RashikShahjahan commented 6 years ago

@zootboy Thanks! Installing 1.9 solved the openCV problem.

RashikShahjahan commented 6 years ago

Now it's failing for 'python_orocos_kdl'.

RashikShahjahan commented 6 years ago

@hauptmech Do you know of any tutorials which can help me run an nspawn container?

hauptmech commented 6 years ago

It's worth taking some time to learn about linux namespaces first.

The Arch wiki always has good info. This article has nice info on setting up X11 across the container. (But the network setup he uses is probably not what you want) Be careful about how you handle networking when working with different distributions. Many of the tutorials out there assume you are running an Arch container with Arch, and use the same network setup for both the host and the container. When running an Ubuntu container on Arch, stop and think about which network helper tools (netctl, netmanager, systemd_network) are being used on each side.

As mentioned before, running 3D applications takes some work. If you have an nvidia card you can start here: https://github.com/NVIDIA/libnvidia-container.

RashikShahjahan commented 6 years ago

@hauptmech any idea about what's going on here: https://stackoverflow.com/questions/51713879/error-creating-ubuntu-16-container-under-arch

RashikShahjahan commented 6 years ago

Can someone help me with this.

parkerlreed commented 5 years ago

@zootboy Are there any plans of getting the kinectic packages working again on the AUR? A ton of them fail integrity and when skipping that, have to have changed folder names to work. PLus there's a couple that just fail building all together.

zootboy commented 5 years ago

I'm sorry, but I no longer do work involving ROS, so I don't have the time to maintain the AUR packages. I orphaned them all a while back, so anyone else who is interested can feel free to take it on.

parkerlreed commented 5 years ago

@zootboy Thanks. Yeah I saw that. Tried cleaning them up on my end but ran into a few issues. I may take a stab later.

bionade24 commented 5 years ago

The latest release melodic is now working and on Github: https://github.com/ros-melodic-arch

acxz commented 4 years ago

The latest release noetic is now working and on Github: https://github.com/ros-noetic-arch

non-ros-package ros scripts/tools are being held at https://github.com/ros-arch

Next big step is to get ros-rolling (rolling release of ROS2) packaged over at https://github.com/ros-rolling-arch