Building ROS hydro from source on Ubuntu 13.10 Saucy Salamander

This post will cover the steps I made to build ROS hydro successfully from source on my Ubuntu 13.10 amd64 with German localization settings.

1. Add repositories

http://wiki.ros.org/hydro/Installation/Ubuntu

sudo sh -c
'echo "deb http://packages.ros.org/ros/ubuntu raring main" >
/etc/apt/sources.list.d/ros-latest.list'


wget http://packages.ros.org/ros.key -O - | sudo apt-key add -

sudo apt-get update

2. The basic building procedure is covered in the article below, but I will list all commands/steps I have used from this tutorial as well, together with links to resources which helped me solving problems and how I solved them. If you want to have an explanation of the steps, please refer to the provided links.

http://wiki.ros.org/hydro/Installation/Source

sudo apt-get install python-rosdep python-rosinstall-generator
python-wstool python-rosinstall build-essential

sudo rosdep init
rosdep update

mkdir ~/ros_catkin_ws
cd ~/ros_catkin_ws

rosinstall_generator desktop --rosdistro hydro --deps --wet-only
--tar > hydro-desktop-wet.rosinstall

wstool init -j8 src hydro-desktop-wet.rosinstall

rosdep install --from-paths src --ignore-src --rosdistro hydro -y

3. In order to prevent language problems on a non English system, I used following hint.

http://answers.ros.org/question/124081/unicodeencodeerror-while-installing-ros-on-debian/

export LANG=en_US.UTF-8

4. Resolving another build error:

http://answers.ros.org/question/114386/ros-hydro-from-source-on-ubuntu-1310-make-error-in-qt_gui_cpp/

sudo apt-get purge libshiboken-dev shiboken

5. Finish the build process and install ROS to a custom location.

sudo src/catkin/bin/catkin_make_isolated --install

--force-cmake
--install-space /opt/ros/hydro_custom

6. This command needs to be run every time before you are using ROS. For simplification just add it to your .bashrc

Posted in Embedded Systems, Linux | Tagged , , | 4 Comments

Truecrypt performance test on Netgear ReadyNAS 102

Happy New Year everybody!

This follow up post to my last article about using Truecrypt on my ReadyNAS 102 (with  two Seagate Pipeline HD ST2000VM003 – 2 TB – 5900 rpm RAID 1) (http://www.ceh-photo.de/blog/?p=809 ) will examine the transfer performance while using Truecrypt.

Test setup:

For comparison I have tested as well on my desktop PC:

  • Intel Core i3 2,98GHZ (Clarkdale)
  • 12GB RAM
  • WD Blue 1TB hard disk

My computer and the NAS are connected by a 100mbit Router only, unfortunately not by Gigabit-Ethernet. If someone could provide some test results using a 1Gbit router, I would be glad to get them.

The test container had a size of  2GB formatted with FAT32 and I used the default encryption settings with AES and RIPEMD-160 hashing. The test script first wrote 1GB of random data and read it afterwards.

See the test script below:

Posted in Linux | Tagged , , , | Leave a comment

Truecrypt on Netgear ReadyNAS 100 series (Debian) with auto mount on attached keyfile thumb drive dongle

Since I own a Netgear ReadyNAS 102 I was wondering how I could use encryption for special content in a convenient way. Because the Netgear firmware does not provide an encryption feature inside its ReadyNAS OS wrapper on top of the underlying Debian Linux I decided to have a closer look on Truecrypt, which I already have in use on my other desktop and mobile computers.

Because Truecrypt binaries are not available for the used ARM architecture the first required step was building Truecrypt from source. During my research I came over a posting which explained the build process step by step.

http://www.readynas.com/forum/viewtopic.php?f=11&t=63214

If you really want to build it on your own, be aware of my comment inside the forum thread above. If you just want to go ahead, I have simplified the procedure for you with a prebuild binary available on my personal Debian-Dropbox-Repository:

Posted in Linux | Tagged , , , , | Leave a comment

Adjust exif timestamp on command-line with exiftool

I just realized that I forgot to change the timezone/time settings in my camera since I am back from Asia (~6month). In order to fix the timestamp on all my photos I made during this time period I used exiftool for doing this on the command-line.

Move all timestamps minus 6 hours for all picture files (JPG and RAW) in current directory.

exiftool -AllDates-=6 .

Check if everything is like expected and delete the backup copies in current directory:

exiftool -delete_original .

Because I am working with Corel AfterShot (former Bibble) I had another problem. AfterShot is dumping the timestamps for all adjusted files into the xmp file and is also using these timestamps as first choice for displaying inside the application. But I figured out, that this information in not required and I just deleted it from the xmp file with sed.

Delete timestamp lines from mentioned files for all xmp files in current directory:

sed -i -E '/.*bopt:Date|DigitizedDateTime*/d' *.xmp

Actually a simple operation, but maybe helpful for someone else.

Posted in Photography | Tagged , , | Leave a comment

First Robotics Hackathon in Malaysia

It was a very, very awesome experience, even it was stressful for me to manage to give all the help the people needed.

But read more here:

http://news.mylaunchpad.com.my/lifestyle-entertainment/article/articleid/240547/youths-build-robots-to-protect-malaysian-shores

http://www.digitalnewsasia.com/digital-economy/makeweekend-kicks-off-2013-with-robotics-theme

I am proud to were part of this!

Posted in Computer Science | Tagged , | Leave a comment

Android-x86 for Acer 1825 and others development terminated

Many of you guys have maybe already thought, that I will not continue the Android-x86 development for the Acer 1825 and all the other laptops I was supporting as well in the mean time, because there was a long time without any updates. But actually the reason was, that since I am in Malaysia I had not much time to work on this and much more I did not have a proper machine for building. So my plan was to continue the development once I am back at home in Germany, what is actually very soon.

But fortune was taking another way, so sad for me and also for all of you guys who used my build all over the world, my poor, poor Acer was snatched from me while I was working in a Park me around a week ago. This is not only sad, because I lost my nice hardware, even so I lost data…..So very disappointing for me….  I am very sorry, but now I do not own a x86 touch device anymore and that is the reason why I will now finally terminate my Android-x86 efforts…even I had other plans…

Posted in Android-x86 | Tagged , , | 11 Comments

Source released for KinectProvider4MultitouchVista – Augmented multitouch with Microsoft Kinect

Like promised, today the release of the sources to my “Augmented multitouch with Microsoft Kinect” project, see last post . This extension for the MultiTouchVista framework gets the name KinectProvider4MultitouchVista and can now be find on my github account – https://github.com/cehberlin/KinectProvider4MultitouchVista

I tried to write down everything necessary into the provided Readme. But feel free to ask if you have any questions about the implementation or use.

Below I provide a build of MultiTouchVista with my included extension.

http://www.ceh-photo.de/blog/wp-content/plugins/downloads-manager/img/icons/winzip.gif download: MultiTouchVista with KinectProvider4MultitouchVista (4.29MB)
added: 08/02/2013
clicks: 6645
description:

Best wishes

Posted in Computer Science, HCI | Tagged , , , , | 1 Comment

Augmented multitouch with Microsoft Kinect

I am glad to present something I worked on at my current workplace Tandemic. Much thanks for giving me the possibility!

Get some impressions in these videos:

The awesome video by Lena:

[embedplusvideo height="388" width="640" standard="http://www.youtube.com/v/TGqabryhrK8?fs=1" vars="ytid=TGqabryhrK8&width=640&height=388&start=&stop=&rs=w&hd=0&autoplay=0&react=1&chapters=&notes=" id="ep9029" /]

The less awesome recorded video but with some explanations from myself:

[embedplusvideo height="507" width="640" standard="http://www.youtube.com/v/xtllh0ygR3k?fs=1" vars="ytid=xtllh0ygR3k&width=640&height=507&start=&stop=&rs=w&hd=0&autoplay=0&react=1&chapters=&notes=" id="ep4636" /]

This human computer interfaces uses an imaginary augmented touch screen in the air in front of the user. So if the user is touching through this plane with his hands, this is considered as a click/touch, if his hands are in front of  he can see moving cursors. The plane of touch in the air can be configured to be in a relative distance to the users body or in absolute distance to the Kinect sensor. The video shows only the configuration with the relative imaginary touch plane, because we experienced this is working better in general. The distance and mode is configurable.

Posted in Computer Science, HCI | Tagged , , | 4 Comments