Ask Your Question

ccapriotti's profile - activity

2017-05-03 16:26:38 -0600 received badge  Taxonomist
2016-05-08 15:11:27 -0600 marked best answer OVA or OVF images of ROS for VMware

Hello all.

Trying to get started with ROS, but not always having my development hardware with me, I thought of using a virtual machine.

Turns out I found at least two option of Ubuntu and some other distro with ROS already installed. Great, right ?

In theory they are Open Virutal Format, BUT, trying to deploy them simply does not work. It seems that the schema reading the internal XML file cannot find the expected information.

I've tried this with ESXI 4.0, 4.1 and 5.5, with pretty much the same result, and I am assuming those images must run only under QEMU or similar.

Does anyone know of a VMware-compatible image I could use ?

Thank you.

2016-05-08 15:09:28 -0600 received badge  Famous Question (source)
2015-02-27 07:38:31 -0600 received badge  Popular Question (source)
2015-02-27 07:38:31 -0600 received badge  Famous Question (source)
2015-02-27 07:38:31 -0600 received badge  Notable Question (source)
2014-10-04 21:38:28 -0600 received badge  Enlightened (source)
2014-09-13 03:30:44 -0600 received badge  Notable Question (source)
2014-09-12 00:46:23 -0600 commented answer raspberry pi with ROS Indigo ( or any new Release of ROS)

@MuraliKrishnan you are right. Ii was going over my notes and I realize not only it lacks details, but also that it is confusing. I mixed parted instruction with the later use I made of gparted itself. Give me a few days. I'll repeat the operation and change my post.

2014-09-09 12:27:19 -0600 commented question raspberry pi with ROS Indigo ( or any new Release of ROS)

This has already been discussed on other topics. Turns out the cost (money and man hours) to keep this kind of images AND maintain binaries+repositories is high.

Not practical in the end. Community goals do not lean that way. (which is a nice way to say that those platforms are not that popular).

2014-09-09 08:23:09 -0600 answered a question raspberry pi with ROS Indigo ( or any new Release of ROS)

I have a partial answer for you, but that can come in VERY handy, especially when it comes to installing from source.

This is my personal experience, and I had limited iterations with it (tried just a few times) but worked well.

Start with a standard debian SD image; Run this image using QEMU, on a regular (powerful) computer.

Before you start, make sure you have enough space on that image. Two GB can be too small. Four GB just right for the basics. I would recommend 16 GB, if the price is right for you. Keep in mind that later you will install this image on an ACTUAL SD card.

Instead of creating an image with 16 GB, create it with 15900 MB. It is the never ending discussion about 1024 vs 1000, and sometimes the actual available space on a storage device will not be the ACTUAL reported space on the label.

There are a few tricks you have to apply in order to get your ARM image to run on a qemu environment, but it works well. download, install and compile all you want on that image

I no longer have the links that I used to create my images, but here are the key points:

  • resizing an SD image (tricky. Look into solutions that include gparted, and mounting the image as a loop device).
  • Running the image with quemu (relatively easy, but you will be "limited" to 256 MB ram)
  • transferring the final image to the SD card.

Note: I did it for Hydro. Not yet for Indigo, but it should work.

Cheers.

++++++++++++++++++++++++----------- LONG ADDITION -------------+++++

Well, would you look at that. I found some of my notes I meant to transform into a WIKI/HOWTO but never finished.

Before following or applying my steps, refer to the original links posted here. I recommend you understand the story rather than just repeating command lines.

WARNING ! THESE INSTRUCTIONS WERE TESTED AND WORK, BUT IN THE END, I FOUND EASIER WAYS AND DID NOT UPDATE THE DOCUMENT.

CONSIDER THIS A GUIDELINE AND NOT - I REPEAT NOT - A RECIPE FOR A SUCCESSFUL OPERATION.

SORRY FOR THIS. It was my best effort.


Well, like some people out there, I am taking my first steps in the ROS world, and my weapons of choice are a Raspberry PI (rev b, with 512 MB), an Ubuntu 12.04 running on VMWare Fusion, to be used as the "base station", and an idea in my head.

Anyone trying their luck with a RPI knows that installing ROS takes time. Some brave souls out there created images for SD card with ROS already installed, and that is a brilliant job they've done.

I had problems with those images, so I had to start my own tests.

Now, the very first obstacle was the processing power of the RPI, so, like many, I decided to go virtual, using QEMU to install and compile everything.

The other "little problem" I ran into was, the default Debian ...

(more)
2014-08-28 00:42:39 -0600 asked a question Any robot developed using BANANA Pi as platform ?

I know... the name does not inspire great confidence, but it is not my fault.

There really is a RPI-like (or BBB-like if you will) board that is called Banana Pi. In my opinion, its advantage, besides the Dual A7 processor, is the connection to a SATA device.

Can you imagine one of those with an SSD ?

Well, to the question: has anyone done ( or heard of) any ROS/robot development with one of those ?

2014-08-04 23:38:33 -0600 received badge  Nice Answer (source)
2014-08-04 12:26:07 -0600 answered a question Build of Win_Ros with Visual Studio 2013 for Kinect2 usage

Now, yours is a slightly fresher approach to the problem; So far I haven't seen anyone discussing Kinect2 on Windows with ROS.

You will see this answer here , from @BennyRe, stating that, indeed, there is no current support for Kinect2 on ROS, that some people is indeed capturing data on Windows and using on Linux, but all on Windows... As I said, nobody really discussed for a while.

The limitation seems to be on OpenNI, which usually handles Kinect data; They still haven't figured out how to make it "talk" to ROS. Protocol. So, my educated guess would be that THIS needs to be developed, platform-independent. Not quite sure if this is what you are proposing though.

2014-08-03 02:43:54 -0600 commented answer problem in installing hydro

Also, are you accessing the internet via a proxy ? Anything particular about your network ?

2014-08-03 02:43:06 -0600 commented answer problem in installing hydro

Hi. Just for a matter of organization, when getting back with more details, try to edit your original post, instead of "answering it". Now, for your problem, are you saying that those failed links work on a web browser ON UBUNTU itself, or is it a different machine ? This is very important.

2014-08-01 18:00:08 -0600 received badge  Famous Question (source)
2014-07-31 01:05:21 -0600 answered a question problem in installing hydro

On top of Hendrix's suggestion (meaning after you do an apt-get update) you might also want to try this:

apt-get --download-only

in order to force Ubuntu to download all of your stuff first; No install will take place. If the operation fails here, then, yes, it is a repository error. If it succeeds, move to the regular apt-get install and check if the error happens again.

Honestly, Hydro on Ubuntu 12.04 is VERY vanilla. Shouldn't fail at all.

Just in case, post you entire apt-get command, so we know what you are installing.

2014-07-30 16:14:41 -0600 answered a question Problem during compilation of ROS INDIGO on ARM/Ubuntu trusty from source

Looks like someone had a similar problem in the past (April) and a workaround was offered:

http://answers.ros.org/question/11438...

2014-07-25 16:40:24 -0600 answered a question Further Optimization suggestion for wireless openni streaming

You should also look at your router's configuration.

Some of those routers have a QoS - in you case seems to be QSS or something like that - and those CLAIM to prioritize multimedia, and other sort of traffic. You would expect that feature to prioritize your video stream, right ? Yeah...

I have a similar model and, let's face it, it is a cheap router, with simple resources. Very good for home use, but now we are talking robots, and high speed data.

Just turn that off. It messes with your bandwidth in ways you cannot imagine, not really making it better.

2014-07-25 02:42:02 -0600 received badge  Nice Answer (source)
2014-07-24 18:34:26 -0600 answered a question Kinect 2? or keep Kinect 1

So far there does not seem to exist a driver for v2 of Kinect. According to other posts, people using v2 are doing so "mapping" a Windows-installed Kinect2.

2014-07-24 04:44:57 -0600 received badge  Organizer (source)
2014-07-21 15:24:38 -0600 answered a question Occassionally getting a Error32 Broken Pipe error when calling service from rospy

Hmmm. Tough one.

Troubleshooting from the system point of view, a "broken pipe" is very typical of network, but could be that one of the programs died, either the "talker" or the "listener".

Any PID changes suggesting if any of them died ?

Instead of using the name of the computer (supposing you are), have you tried:

use 127.0.0.1

cheat your hosts file to always point the machine to its IP

have only one IP

check system logs for errors.

2014-07-17 17:02:33 -0600 commented answer Why URDF is not deprecated?

@DEvnoW, I beg to disagree. @hsu explained a situation that was temporary two years ago. It is not your fault nor it is hsu's but two years w/o any changes on a situation like this, can hardly be considered an "answer". It was a reply, yes, but neither answer, nor solution.

2014-07-17 16:40:24 -0600 commented answer Should I use Hydro or Indigo for my new project?

Well, yeah, for ubuntu users and x86 architecture, it may not be a limitation, and, since the main devices here, on this question, are notebook-driven, your point is valid. Still, in a ROS-related discussion, yes, it becomes a limiting factor for several other platforms and "quick" implementation.

2014-07-17 16:36:46 -0600 answered a question face animation display

Well, as far as discussions go, and sharing my shallow knowledge of ROS, here are a few collected thoughts to start steering this.

Voice or speech recognition is a very new and unexplored field; I've followed a recent discussion on the list and these are still early days. Might help understanding commands, but not simple instructions for instance. This was what the author himself said.

I am not 100% sure you will need to have Linux on the tablet, since Android tablets are essentially Linux and there are modules developed on ROS that allow some sort of interaction with the robot. Now, using your tablet's CPU to run the entire robot would be unrealistic, with the level of refinement you are expecting.

Regarding "head" movement, well, this is a somewhat easier field; Supposing that you have some sort of support for the tablet (you will have to be creative here), you can use the famous "pan and tilt" mechanism, driven by servo motors, to move the head up and down, and to the sides. Not very human-like, but coherent with the "budged specified".

Now, facial expressions, mimicking the human expressions or not, well, I personally think this is too much to ask from a tablet or regular ARM processors. You might want to re-think your hardware requirements. I have not heard of anything like this yet (well, I am new here), but this is something that the Kinect software and hardware did, with games. This is complex stuff, IMO.

Back to the tablet interface with ROS or whatever hardware you have in mind, well, from my experience tablets don't play well with the USB port, naturally. You might want to consider bluetooth or WIFI. OF course this supposes the tablet will run the face software and some other light stuff, and some other stronger hardware (beaglebone black perhaps ?) would run the power-hunger parts of the robot, including image processing (input from camera and processing your smiley face, sending the result to the tablet.

The project is nice. It will keep you entertained for days, but I am afraid it will require some degree of programming skill. If you are a beginner like me, you might want to look into coding in python, at least to start, until you get the hang of things. It is common sense that if you want serious, quick and powerful stuff you should go to C and its variations.

For camera input you have OpenCV, and also OpenNI. Those will help you with image processing.

Now, your intention, of creating a sort of companion, is brilliant. I had an idea like this, simpler, tough, to be used to monitor the health of debilitated patients. A dog-shaped robot that would have some degree of cute interaction, and be able to collect readings like body temperature, blood pressure, pulse, and other simple metrics, monitoring them and eventually sending them elsewhere, via wifi.

Now, let's "face" it. A head is a complex thing by ... (more)

2014-07-16 15:34:41 -0600 commented answer Should I use Hydro or Indigo for my new project?

Well, "missing" is not the word, but important change: OpenCV - if I remember well - is no longer part of the deal (cannot really say "distribution"), having to be installed separately. This might affect your plans for the rovers.

2014-07-16 15:30:35 -0600 commented answer Should I use Hydro or Indigo for my new project?

Geeezzz, I meant Hydro and not Groovy. Changing the main post for clarity, and making my apologies public.

2014-07-16 01:17:58 -0600 answered a question Should I use Hydro or Indigo for my new project?

Hello, Jonathan.

I was going over a few of your previous posts, and your project starts...well, NOW. July.

There are still a few things pending on Indigo, as far as i could see, and there is a small chance it could jam your project, just because it is not solved in time.

Solution here is not the one my heart would love (bleeding edge latest, because new is better, right ? ) but the sensible one instead: rock solid performance, on stable, well known platform.

I would go for 12.04 and Hydro. At least you have a lot of people with experience to support you here.

Besides, U 14.04, with the the graphical-rich GUI, is using more resources than previous versions. You might want to consider Lubuntu, or other light-weigh variations (of 12.04). Or even run w/o GUI at all.

On the flip side, how long will this project last ? If it will go on and on for years, then it might be worth taking your chances with 14.04 and indigo, but always keep in mind: new software usually takes more resources, and you seem to have limited resources. But, then again, it is a good way to simulate a mission to mars. (What a dream project).

Note: for the implementation of network latency and bandwidth, I would suggest a FreeBSD server with the "pipe" implementation on ipfw, the native firewall, per IP address (of the bots/rovers). Fixed, and locked to the MAC address, just in case you have some little hacker among your students ;)

2014-07-15 15:13:08 -0600 commented question Ros-groovy packages not found for beglebone black ubuntu 12.04

@DrBot, you mentioned running Ubuntu on a Raspberry PI ? AKAIK, ubuntu did not support (12.04 at least) ARM6. Have I missed something ?

2014-07-15 15:06:16 -0600 answered a question Groovy install in Ubuntu 14.04

Well what do you know... Same question a few minutes earlier.

http://answers.ros.org/question/18664...

It helps to know what hardware/platform we are talking about. x86 installs and ARM have different statuses.

2014-07-15 14:57:21 -0600 commented answer Network settings not saving permanently.

Two points: the file .bashrc~ is NOT executed. the TILD in the end means it is a temp file generated by a text editor.Second, on an earlier post you stated that you wanted "to run on the local machine...". Clearly it is not the case if you have the robot and a workstation, and need to exchange data.

2014-07-15 14:50:31 -0600 commented question Groovy install in Ubuntu 14.04

Dambrosio, hello. I do not have an answer for you, but this was one of my objectives; to test groovy on 14,04. It is not a matter of working or not, but rather of being supported or not. So far, it is an unsupported platform, but go for it. If you have the means, test on a VM with 14.04.

2014-07-11 12:32:47 -0600 commented question Network settings not saving permanently.

I think this needs some clarification. After your first run, when you are sure that the problem is present, can you run cat ~/.bashrc and post the results ?

2014-07-09 15:42:45 -0600 answered a question how to Create the src/talker.cpp

Alex, what our crowd here means is the following:

As you probably already know, ROS is not an operating system per se (contrary to what the name leads you to believe), but a giant library of applications that, integrated, will be able to control a robot.

Let's call ROS here, in this context, a layer.

Now that layer depends on another, which is the operating system. In most cases, ROS runs on some variation of unix, typically linux, and on unix pretty much everything is a file, or treated as a file.

More to the point, when instructions tell you to create a file like that, they actually mean : open your preferred text editor, write your code, and save it with name X".

Depending on which variation of unix you have, different text editors will be available.

If you are using a terminal (text based commands, which I think you are), try

nano src/talker.cpp

It is a simple text editor with some hints of its usage at the bottom of the screen.

Or, if you are using a GUI, AND a terminal on it, you can try

gedit src/talker.cpp

which will probably bring up a nice graphical text editor, which is pretty much user friendly.

As you progress in code complexity, other editors, or even programming environments may become more suitable, but for simple stuff, stick to the basics.

Now, if life finally starts to make sense with all of this blah blah of mine, I would suggest that you take some time and learn a bit more about typical unix commands, most likely "bash" commands. That will come in handy.

Have fun !

2014-07-09 05:15:45 -0600 commented answer navigation for non-holonomic robots

But if this is the scenario, I'd go for two motorized wheels and one free wheel, holonomic. IF this is an option, of course. We would need from details from @atanea.

2014-07-09 05:14:04 -0600 commented answer navigation for non-holonomic robots

Actually, I did the opposite: I read "non-holomoni" (and had to look it up) and forgot about the non-differential. It gets confusing, but, if you stop to think about it, it is simpler from a mechanical point of view: two motorized driving wheels and two steering wheels. (cont...)

2014-07-08 16:00:20 -0600 commented answer navigation for non-holonomic robots

David, I am not sure if I am missing the point here, but navigation for Ackermann-type steering is far from optimal, AFAIK. The planned route looks good, even including k-curves, according to documents I found, but executing the plan, K-curves are solemnly ignored. Tough for car-like robots.

2014-07-08 15:44:52 -0600 commented answer Help with opencv random error

@TT: can you post your system specifics, like Linux distro, hardware platform, etc ? Since this is solved, we might as well document it; Might can help other souls going through the same calvary. I will vote you answer right, since you with your current karma points may not be able to do so.

2014-07-07 11:25:10 -0600 commented answer What is the best hardware interface system for a new robot project?

Unless there is a ROS limitation to the number of serial ports to be connected, I do not foresee any issues. Programming the Arduinos will be simpler, and your students will be able to focus on learning programming, physical interface and electronic, and ROS will be in the BG, overseeing all.

2014-07-07 11:22:06 -0600 commented question pocketsphinx microphone connection is unreliable

A few generic points to help troubleshooting. Compare top results when the bug happens and during normal operation. See if there is a process taking more time. Also, it might be that some process went to sleep mode, like a power save feature.

2014-07-07 10:15:06 -0600 commented answer What is the best hardware interface system for a new robot project?

Just to add my 2 cents, regarding Arduino: from a student POV, it is great, because you can learn how sensors work (digital are either up or down, analog ranging from 0 to 1023), voltage divider, and all that good stuff.

2014-07-05 12:47:01 -0600 received badge  Good Answer (source)