Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+PCL)

Post Reply
User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+PCL)

Post by murrman »

I present Ubuntu 14.04 Robotics Edition for ODROID-XU3. This image is based on the official ODROID Ubuntu 14.04 LTS server version provided by mdrjr (http://forum.odroid.com/viewtopic.php?f=77&t=5234).

Features:
Ubuntu Server 14.04.1 LTS with LXDE
OpenCV 2.4.9
ROS Indigo(Bare Bones)
OpenNI 2.2 (Including Primesense drivers for Asus Xtion)
Point Cloud Library 1.7.2

Download the image here:
http://oph.mdrjr.net/murrman/ubuntu-14. ... 228.img.xz

MD5 checksum:
http://oph.mdrjr.net/murrman/ubuntu-14. ... .xz.md5sum

Sample code repository:
https://github.com/cmcmurrough/odroid-development

Login:
Username: odroid
Password: odroid

Username: root
Password: odroid

For normal use, use the odroid account. The root account is enabled by default.

NOTE: You must change the wired ethernet interface to 'eth2' in wicd to enable wired ethernet on the XU4!

Update History:
12/06/2014 - Initial release
12/28/2014 - Bug fixes, OpenCV NEON support activated
07/24/2015 - Added minor fix to install notes (configuring eth interface in wicd for XU4)

Acknowledgements:
Base OS image and file hosting provided by mdrjr

Installation notes for building this image from the base image are provided below. This may answer some questions about how various modules are built and installed.

Code: Select all

### LOGIN ###
username: root
password: odroid

### SETUP UBUNTU ###
sudo apt-get update
sudo apt-get install lxde gedit build-essential checkinstall cmake cmake-curses-gui pkg-config chromium-browser gparted wicd guvcview

### ADD USER ACCOUNT ###
sudo adduser odroid
sudo adduser odroid sudo
sudo adduser odroid netdev

### LOGIN ###
username: odroid
password: odroid

### CONFIGURE LXDE ###
1. Set up welcome screen (sudo gedit /etc/lxdm/default.conf)
2. Resize partition to 7168 MB with gparted
3. Check wifi using wicd
4. Set background to solid color
5. Remove logout application launch bar (lower right corner)
6. Set taskbar icons (pcmanfm, lxterminal, chromium, wicd)
7. Disable screensaver
8. Open wicd, properties menu, general settings. Enter 'wlan0' under Wireless interface
9. Open wicd, properties menu, general settings. Enter 'eth2' under wired interface (XU4 ONLY!)

### FIX LOGOUT GUI PERMISSION BUG (https://tracker.zentyal.org/issues/360) ###
1. sudo apt-get install systemd-shim
2. Edit lxdm session file (/etc/pam.d/lxdm), add the following line
session required pam_systemd.so

### FIX WAITING FOR NETWORK CONFIGURATION BUG ###
1. Edit network interfaces file (sudo gedit /etc/network/interfaces), replace with the following
auto lo
iface lo inet loopback

### RUN ODROID UTILITY ###
sudo -s
wget -O /usr/local/bin/odroid-utility.sh https://raw.githubusercontent.com/mdrjr/odroid-utility/master/odroid-utility.sh
chmod +x /usr/local/bin/odroid-utility.sh
odroid-utility.sh

### INSTALL OPENCV DEPENDENCIES ###
sudo apt-get install build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libqt4-dev libgtk2.0-dev libavcodec-dev libavformat-dev libswscale-dev libtbb2 libtbb-dev

### GET OPENCV SOURCE ###
cd ~
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip
unzip opencv-2.4.9.zip
rm opencv-2.4.9.zip
cd opencv-2.4.9

### BUILD AND INSTALL OPENCV ###
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_OPENGL=ON -DWITH_V4L=ON -DWITH_TBB=ON -DBUILD_TBB=ON -DENABLE_VFPV3=ON -DENABLE_NEON=ON ..
make
sudo make install

### INSTALL OPENNI (https://github.com/cmcmurrough/OpenNI2) ###
cd ~
sudo apt-get install -y g++ python libusb-1.0-0-dev libudev-dev openjdk-6-jdk freeglut3-dev doxygen graphviz
git clone https://github.com/cmcmurrough/OpenNI2
cd OpenNI2
PLATFORM=Arm make
cd Packaging && python ReleaseVersion.py Arm
mv Final/OpenNI-Linux-Arm-2.2.tar.bz2 ~
cd ~
tar -xvf OpenNI-Linux-Arm-2.2.tar.bz2
rm -rf OpenNI2
rm OpenNI-Linux-Arm-2.2.tar.bz2
cd OpenNI-Linux-Arm-2.2
sudo sh install.sh

### INSTALL PCL DEPENDENCIES ###
sudo apt-get install freeglut3-dev libboost-all-dev libeigen3-dev libflann-dev libvtk5-dev libusb-1.0-0-dev libqhull-dev

### GET PCL SOURCE (RELEASE 1.7.2) ###
cd ~
git clone https://github.com/PointCloudLibrary/pcl pcl-1.7.2
cd pcl-1.7.2

### BUILD AND INSTALL PCL ###
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. 
make
sudo make install

### INSTALL ROS (http://wiki.ros.org/indigo/Installation/UbuntuARM) ###
cd ~
sudo update-locale LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX

sudo sh -c 'echo "deb http://packages.namniart.com/repos/ros trusty main" > /etc/apt/sources.list.d/ros-latest.list'

wget http://packages.namniart.com/repos/namniart.key -O - | sudo apt-key add -

sudo apt-get update
sudo apt-get install ros-indigo-ros-base

sudo apt-get install python-rosdep
sudo rosdep init
rosdep update

echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc

sudo apt-get install python-rosinstall

### GET ODROID-DEVELOPMENT EXAMPLES ###
cd ~
git clone https://github.com/cmcmurrough/odroid-development.git

I hope you find this image useful, and as always, suggestions and feedback are appreciated!

Image
Last edited by murrman on Sat Jul 25, 2015 8:05 am, edited 4 times in total.

User avatar
odroid
Site Admin
Posts: 39381
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2617 times
Been thanked: 1430 times
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by odroid »

Oh! The PCL example code is working!
I love the picture of your scary floating hand as a point cloud. :)

Appreciate your great development.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

Yes, the PCL code is working nicely. I have also forked OpenNI2 on GitHub with the necessary tweaks for ODROID (OpenNI has always been troublesome to set up, hopefully this won't be an issue going forward).

I am glad that others are finding these images useful, I didn't expect them to be so popular :)

mdrjr
Site Admin
Posts: 11817
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 51 times
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by mdrjr »

Ahhh, Ah good working one :) Thanks Murrman :)

robot
Posts: 9
Joined: Wed Dec 10, 2014 10:50 pm
languages_spoken: english
ODROIDs: odroid xu3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by robot »

on my odroid xu3 board,I have a good development environment configuration.now i want to make a iso file to convenient used In the future. How should I do? Can you help me,thank you!

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

Follow these instructions to make an image of your SD/emmc...

http://odroid.us/mediawiki/index.php?ti ... ard_Images

robot
Posts: 9
Joined: Wed Dec 10, 2014 10:50 pm
languages_spoken: english
ODROIDs: odroid xu3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by robot »

I based step your guidance , install OpenNI
when i Operating the step :
### INSTALL OPENNI (https://github.com/cmcmurrough/OpenNI2) ###
cd ~
sudo apt-get install -y g++ python libusb-1.0-0-dev libudev-dev openjdk-6-jdk freeglut3-dev doxygen graphviz
git clone https://github.com/cmcmurrough/OpenNI2
cd OpenNI2
PLATFORM=Arm make
cd Packaging

when i execute this command : python ReleaseVersion.py Arm
error:
Creating installer for OpenNI 2.2 Arm
Traceback (most recent call last):
File "ReleaseVersion.py", line 170, in <module>
subprocess.check_call(['make', '-C', '../', '-j' + calc_jobs_number(), 'PLATFORM=' + plat, 'release'], stdout=buildLog, stderr=buildLog)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', '../', '-j2', 'PLATFORM=Arm', 'release']' returned non-zero exit status 2

How should I do ? thank you!

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

Are you trying to install it again? It is already installed and ready to go on this image.

You would have to look through the ReleaseVersion.py script to find out more about what the error means. Try running the command again with sudo, maybe it is a permission thing.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

Image updated. Fixed wifi, slow bootup issue when no ethernet is present, logout menu permission issue, and enabled OpenCV NEON support.

tan52931280
Posts: 2
Joined: Sun Jan 04, 2015 9:50 am
languages_spoken: english;chinese
ODROIDs: odroid-xu3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by tan52931280 »

Nice work!But there is a question about the point cloud image for me when I follow you instruction below. I found a coordinate axis rather than the point cloud when I run the "./openni2_pcl". Also, my terminal didn't echo "rendering the point cloud with....".My device is odroid-xu3 with primesense carmine 1.09.
Could you help me?

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

You may need to update the firmware on your Primesense device. Also make sure you are plugged in to USB 2.0, not the 3.0 port. Try the USB 2.0 first.

tan52931280
Posts: 2
Joined: Sun Jan 04, 2015 9:50 am
languages_spoken: english;chinese
ODROIDs: odroid-xu3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by tan52931280 »

murrman wrote:You may need to update the firmware on your Primesense device. Also make sure you are plugged in to USB 2.0, not the 3.0 port. Try the USB 2.0 first.
Thank you for the reply.But it won't work.I'm sure I use the USB 2.0. About the firmware on my Primesense device, I'd made it work on rviz with the openni2_launch of ROS Indigo.
Could you give me some other advice?
Be deeply grateful!

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

tan52931280 wrote:
murrman wrote: About the firmware on my Primesense device, I'd made it work on rviz with the openni2_launch of ROS Indigo.
You got it to work like this on the ODROID-XU3 before with this image, or a different computer? What do you mean exactly...

I have experienced problems before with old firmwares and newer versions of OpenNI (and vise-versa). I use an Asus Xtion Pro Live with updated firmware when I test these images.

vahids1639
Posts: 7
Joined: Wed Feb 25, 2015 4:34 am
languages_spoken: english
ODROIDs: ODROID XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by vahids1639 »

Hi,

Thanks for great Ubuntu I'm with this capability. Unfortunately the point cloud is not displayed for me two. I only can see depth and color images. I have updated the xtion pro live firmware to the latest version.

Thanks

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

vahids1639 wrote:Hi,

Thanks for great Ubuntu I'm with this capability. Unfortunately the point cloud is not displayed for me two. I only can see depth and color images. I have updated the xtion pro live firmware to the latest version.

Thanks
The point cloud only renders if you hit the "p" key. You also may have to orient the camera. If you are seeing the RGB and Depth images, then the sensor and drivers are working properly.

odroid_newuser
Posts: 114
Joined: Sat Jan 03, 2015 10:49 am
languages_spoken: english
Has thanked: 20 times
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by odroid_newuser »

Hello, I am new to Odroid. We are considering to use the XU3 for robotics application. We plan to buy a eMMC 5.0 Module XU3 Linux, WiFi Module 3, Bluetooth Module, Gigabit Ethernet, USB IO Board and USB-CAM 720P, myAHRS+ and some analogue sensors to do sensory-motor control. Could you please let us know the following:

1. Shall we buy the eMMC 5.0 Module XU3 Linux first and then install Ubuntu 14.04 Robotics Edition later after we got the items?
2. Do you recommend to use WIFI Module 3 or 4? We saw some postings about problems with Module 4.
3. Do Bluetooth, Gigabit Ethernet, USB IO Board work out of the box after installation of the Robotics Edition?
4. As we have not bought any hardware yet, we cannot try out the code. Are there API and sample programs in C on how to use the USB-CAM to track objects, obtain readings from myAHRS+ and get readings from analogue sensors?
5. Is there a user manual?

Thanks.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

1. You have to install the OS on your eMMC or SD card before the ODROID will boot. If you don't have either, the system will have nothing to boot from.
2. I'm not sure, I think I tested it with wifi module 3, but I don't remember for sure.
3. GigE works, I never tested Bluetooth or the USB IO board. I don't see any reason why the USB board would not work, I think it is just a USB-serial device
4. The OS image includes OpenCV. You can see examples for acquiring and processing images on my GitHub account. I don't have any samples for myAHRS+ or reading analogs, but you can probably find them elsewhere on the forum.
5. There is no manual for this OS image.

Hope that helps.

odroid_newuser
Posts: 114
Joined: Sat Jan 03, 2015 10:49 am
languages_spoken: english
Has thanked: 20 times
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by odroid_newuser »

Thanks murrman.

1. As far as I know, we could buy eMMC with Linux pre-installed. Am I correct that after getting it, install the Robotics Edition on top of the pre-installed UIbuntu?
4. We are not familiar with OpenCV nor GitHub.
5. How can we learn more about the Robotics Edition?

Is the Robotics Edition fully compatible (including touchscreen) with Odroid-VU LCD display?

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

1. You need to write the robotics edition to your eMMC or SD card. It will overwrite anything that is already stored on there.
4. OpenCV is how you do computer vision in C/C++/python. There are books and lots of info on google. Github is where I put my shared code.
5. The robotics edition is just a stripped down version of Ubuntu with some useful robotics stuff included. Learn about the individual libraries, like OpenCV/PCL/ROS, first.

I don't know, I haven't tested it with the touchscreen.

KurtE
Posts: 221
Joined: Wed Jun 19, 2013 9:39 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by KurtE »

Now that I have an XU3-lite I thought I would try out this image.

Note: I am having the same issues with wifi that I did with the C1. As I mentioned in the other thread http://forum.odroid.com/viewtopic.php?f ... 270#p88270
I have tried some of the same steps that I did with the C1 image with similar results, except so far I can not get the system to fully startup my wifi on boot.
That is after boot ifconfig show wlan1, but no IP address for it.

But if I go into terminal window and type: sudo ifup wlan1 I do get a ip address and I can talk to it by putty...

Code: Select all

odroid@odroid-server:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:06:61:7a:39  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1416 (1.4 KB)  TX bytes:1416 (1.4 KB)

wlan1     Link encap:Ethernet  HWaddr 7c:dd:90:73:5e:6d  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:13 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

odroid@odroid-server:~$ sudo ifup wlan1
[sudo] password for odroid: 
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan1/7c:dd:90:73:5e:6d
Sending on   LPF/wlan1/7c:dd:90:73:5e:6d
Sending on   Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 3 (xid=0x118af9ea)
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 4 (xid=0x118af9ea)
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 9 (xid=0x118af9ea)
DHCPREQUEST of 192.168.2.122 on wlan1 to 255.255.255.255 port 67 (xid=0x118af9ea)
DHCPOFFER of 192.168.2.122 from 192.168.2.1
DHCPACK of 192.168.2.122 from 192.168.2.1
bound to 192.168.2.122 -- renewal in 32916 seconds.
odroid@odroid-server:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:06:61:7a:39  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1416 (1.4 KB)  TX bytes:1416 (1.4 KB)

wlan1     Link encap:Ethernet  HWaddr 7c:dd:90:73:5e:6d  
          inet addr:192.168.2.122  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1985 errors:0 dropped:15 overruns:0 frame:0
          TX packets:412 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:435648 (435.6 KB)  TX bytes:61266 (61.2 KB)

odroid@odroid-server:~$ 
My /etc/network/interfaces file:

Code: Select all

droid@odroid-server:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-ssid "xxx"
wpa-psk "yyy"
where xxx and yyy are my network stuff...

ideas?

Edit: forgot to mention using the odroid wifi 3 adapter

manox
Posts: 1
Joined: Fri Jun 05, 2015 4:33 pm
languages_spoken: german, english
ODROIDs: XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by manox »

Thanks for this great Image! I just want to mention that some PCL headers are missing. After compiling and installing PCL once again, it's just fine.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition for ODROID-XU3(ROS+OpenCV+

Post by murrman »

Thanks for pointing that out. Did you run the same cmake settings when you did the rebuild?

twerdster
Posts: 2
Joined: Wed Dec 25, 2013 8:40 am
languages_spoken: english
ODROIDs: X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by twerdster »

@murrman, do you know how I can download the sources for this kernel?

Im trying to modify the video uvc module and I need the Module.symvers
which I think is supposed to be in /lib/modules/3.10.61/build
but this is a broken symbolic link to /home/jenkins/workspace/kernel_xu3 in this kernel img.

any idea?

zed961
Posts: 7
Joined: Wed Nov 11, 2015 6:38 pm
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by zed961 »

Hello,
Does the PCL example lag? I mean does it take time to process each frame?

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by murrman »

twerdster wrote:@murrman, do you know how I can download the sources for this kernel?

Im trying to modify the video uvc module and I need the Module.symvers
which I think is supposed to be in /lib/modules/3.10.61/build
but this is a broken symbolic link to /home/jenkins/workspace/kernel_xu3 in this kernel img.

any idea?
They are available on the Hardkernel Github:

https://github.com/hardkernel/linux

I think mdrjr might also host them on his site.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by murrman »

zed961 wrote:Hello,
Does the PCL example lag? I mean does it take time to process each frame?
The visualization loop won't run in real-time, but I think that is mostly due to rendering and not data acquisition. If you disable the rendering window, it will pull data and create PointCloud objects much faster.

RodBelaFarin
Posts: 29
Joined: Tue Apr 15, 2014 9:43 pm
languages_spoken: english german
ODROIDs: U3 XU
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by RodBelaFarin »

First of all - like everyone else:
@murrman: Thank you very much, for the great image!

I have one minor problem: On LXDE rviz is working fine, but Network-Manager does not appear in a correct way in the panel (and wicd is not working correctly for me, even though I'd like more to use network-manager). So I tried Xubuntu-Desktop including xfce4 and its window manager. There Network-Manager is working fine, but rviz crashes immediately with segmentation fault. Additionally I see this Desktop Environment is much smoother (maybe this should get standard?!)
I could go crazy, I am trying since three days, but it seems one thing excludes the other one :D
Any ideas? Could OpenCL and MaliDrivers help? I am using XU4 btw.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by murrman »

yes, I had trouble with network-manager so I switched to wicd. Why is it not working for you? Are you using ethernet? You might need to change the interface from eth0 to eth1, eth2, etc. It seems that the port name can change sometimes.

jim1993
Posts: 1
Joined: Sun Apr 10, 2016 1:20 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by jim1993 »

Hi murrman,
Thank you again for the image file.

I have noticed that the latest update is 07/24/2015, however, the download link still redirects to "ubuntu-...-20141228.img.xz" .
So, is it the previous version, or it is actually the newest version with the old name?

Thanks.

User avatar
murrman
Posts: 240
Joined: Mon Jul 08, 2013 8:53 am
languages_spoken: english
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by murrman »

The link is correct, on the last update I just changed the installation notes.

RodBelaFarin
Posts: 29
Joined: Tue Apr 15, 2014 9:43 pm
languages_spoken: english german
ODROIDs: U3 XU
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by RodBelaFarin »

Hi murrman,

I am still trying to build my own image based on the the pure 14.04 image. Finally I never get rviz running on my system, no matter which GUI I choose. What is your secret in your image for rviz :D :lol: ?

Edit: I solved it downloading the three debian files:

Code: Select all

http://old-releases.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcre3_8.35-3ubuntu1_armhf.deb
http://old-releases.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcre3-dev_8.35-3ubuntu1_armhf.deb
http://old-releases.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcrecpp0_8.35-3ubuntu1_armhf.deb
and install them via:

Code: Select all

sudo dpkg -i *.deb
rviz works fine now on every desktop environment.

Voxel
Posts: 1
Joined: Wed Jul 20, 2016 3:13 pm
languages_spoken: english
ODROIDs: XU3/4
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by Voxel »

Apologies for the thread revival but are people getting decent frame rates with Primesense/Xtion cameras in ROS?
It seems to be fine if I have either the RGB or Depth stream running but the moment I run both at the same time I start dropping data (mostly on the depth stream).

MavLinked
Posts: 4
Joined: Fri Mar 21, 2014 4:29 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 14.04 Robotics Edition: ODROID-XU3/4 (ROS+OpenCV+

Post by MavLinked »

Is there a guide a relative noob might follow to get the GPU drivers 'operational' for this edition, similar to how things are on the 15.04 version? What would it take?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 4 guests