ROS with NetBeans IDE

Dear: LMR

Hello LMR it is me Noah again. You should know I am running into problems with my rover 5 once again and I need a fast computer not a raspberry pi but a laptop to control the robot. I am hoping to use something like an intel nuc to control the robot with a Kinect sensor but in the meantime I am trying to install ROS onto NetBeans IDE and I know I can do it from this page. In the page it says you can use the NetBeans enviroment with ROS but I have only made it this far. I have installed Ubuntu with a dual boot on my windows laptop, installed NetBeans IDE 8.0.2 on Ubuntu, and installed ROS Indigo on Ubuntu. The part I am at with putting ROS in NetBeans is trying to create a project with rosbuild. Below is what I've typed in the terminal.

sudo su
/home/noah# roscd
/opt/ros/jade# cd ..
/opt/ros# echo ". $(pwd)/setup.sh" > /usr/local/netbeans-8.0.2/etc/netbeans.conf

That is all I've done. I've tried creating a new project with ros but I am not getting how. Thank you.

From: Noah


Hi, I’ll probably not be at much help for your problem, however I think you should try installing the kinect on your laptop before you go out and invest in an intel nuc, a lot of people including myself have had problems running the kinect without issues. 

Also I’ll encourage you to check out the Jetson TK1 development kit instead of an intel NUC. Much more documentation and tutorials are available on the internet now for the TK1, which makes it possible to get started with and it cost less than a NUC. 
https://developer.nvidia.com/jetson-tk1 

Dear: HitecPrimateFirst of

Dear: HitecPrimate

First of all you should know I don’t have a kinect sensor yet. Also you should know I am not buying a TK1 or an intel nuc until I have at least some code written for my laptop which I could easily just transfer onto the intel nuc or TK1. The reason for that is I can’t afford it now. Thank you though. I’ll look into the TK1.

From: Noah

I’m curious Noah. What does
I’m curious Noah. What does your bot need to do that a RasPi 2 or an Odroid-C1 can’t do? Or even the Odroid-XU Lite (8 ARM cores)?

They can all run ROS and OpenCV. I’m only moving to my NUC when I absolutely have to. It’s such a nice desktop machine for me.

Even on my big bot’s, I’m only planning on a NUC to run a local instance of OpenCOG which eats memory faster than Homer Simpson eats donuts. Voice recognition and such can be done easily on the basic RasPi.

And it’s easier to power the RasPi than the NUC (a stable 19v). My plan for medium sized bots and computing power is to use a small linux computer on board, such as a RasPi or BBB, and then use a radio link to use a server to handle anything too difficult for on board.

I think there was a robot posting where the bot had a single sensor, a camera, And it used OpenCV on a TK1 to handle the computation, mapping, route selection, and such.

Most single board computers require much less power than a NUC or laptop.

I have two Kinects. I got
I have two Kinects. I got one by accident. I could sell you one if you need it.

A raspberry pi is not powerful enough to use a kinect.

Dear: DT

You should know that a raspberry pi is not powerful enough to control a kinect sensor. A kinect sensor uses a special USB that needs 12 volts to run. You can’t get that with a raspberry pi and thats what my dad told me. He also said that raspberry pi doesn’t have enough speed to run a kinect as well and a lot of code which is probably what is going to happen. Thank you.

From: Noah

No worries but thank you.

Dear: DT

You should know that I am getting a kinect for my birthday which is in a week. No worries that is too kind of you but thank you.

From: Noah

In other words, you haven’t
In other words, you haven’t tried it.

First, no computer USB output will have 12v. You’ll need to make a new cables where the power wires are not connected to the computer, but rather to a +12v source. If the signal also uses 12v you’ll need to make a level shifter, but. I’m sure there are tutorials in either LMR or instructables.com.

Second, I’m pretty sure there are RasPis that are using Kinects, but I’ll have to do a quick google.

I’m back, and there seem to be projects. You’ll probably get better results with the RasPi 2 or equivalent.

The version 1 of the Kinect doesn’t have a USB plug, but it looks the same. The Google search I did showed where you can get the converter.

The search string I used was “Raspberry Pi and Kinect”

Noah, I strongly suggest not fully trusting sources, including your father, until you find confirmation. The RasPi 2 is powerful and there are free libraries out there for the Kinect on the RasPi.

Wow my Dad may not know what an RPi can do?

Dear: DT

Thank you I think for my project I will use a RPi with a kinect. I have no idea what my Dad was talking about it is achievable. I am very glad I talked it over with you so thank you.

From: Noah

Kinect and Ros

Hi All

Robbie the Robot runs 2 kinects he has a I3 cpu, ATX mother board and 8 gigs of Ram with everything running  I use 80 to 100% of CPU(4 threads) and several mega bits per second of network traffic to the remote computer running rviz. the Kinects requrie there own usb port so a 2 port NUC may be a problem (looking but not tried) at the moment I use 7 usb ports, plug in hubs have caused problem with hardware before. Robbie’s computer has died and I’m looking for a replacment at the moment the smallest I’m looking at is a I5 with 16G of ram. running moveit, navigation object recognition plus the AI requires horse power. You may get away with several smaller computers bit the managment will require a lot of work, its a lot easier to plug in a monitor and such to fault find and develope also using a standard platform X86 and ubuntu will remove a lot of heart ache.

Noah, I am one of the
Noah, I am one of the sources that you should not trust without confirmation.

Did you look through Google?

Also, I did say a RasPi 2, which is a more capable than a RasPi 1. The version 2 has four cores, as does the Odroid-C1.

Unfortunately I won’t be able to get a Kinect running until I get Zeppo- running. At least I don’t have to print anything to get this bot working and I have most of the parts.

Yes DT things did turn up on google.

Dear: DT

You should know that I went on google I did not find any tutorials on how to do it but I saw plenty of forums of people trying to do so and plenty of videos of people doing so. Thank you.

From: Noah

Good Luck!!!

Dear: Peter Heim

You should know that I did some reasearch online about Robbie the Robot he is the robot from lost in space so cool and good luck building him. Also you should know that if you are trying to use Ubuntu good luck because I actually prefer it over windows. It is much safer, is better for programmers like us, and is very cool because you can use ROS with it. I can’t beleive you are using the Intell Nuc because that thing is very powerful and in my opinion is too good to be attached to a robot. Good Luck!!!

From: Noah

fig6.gif

Robbie the robot

I liked the name here are the detais on my take on Robbie

http://escaliente-robotics.blogspot.com.au/

or 

https://www.robotshop.com/letsmakerobots/robbie-robot

I only looked at using the NUC  the lack of usb ports are a issue

i will go with a I5 and ATX mother board

 

Wow I can’t believe I didn’t check your LMR pages.

Dear: Peter

Wow very cool. I have some reading to do. I can’t beleive I didn’t check your LMR pages because I didn’t think you had posted anything because I thought that you meant Robbie the fictional robot you were building. Well cool I remeber now seeing that once on LMR but it has been a while since I have seen that. Cool!!!

From: Noah

ROS

Here is a link to the ROS code for Robbie 

https://github.com/inmoov-ros/inmoov_ros

under robbie_sim directory you can run robbie in simulation 

then you can run get_beer.py and he will get you a beer in simulation

Oh I love simulated beer!!!

Dear: Peter

Thank you I love simulated beer. Especially if I am under aged so thank you. You didn’t have to break any laws to get me high. LOL I’ll check it out.

From: Noah

hmmm

A RasPi running OpenCV or SimpleCV is not going to be adequate - it can process about 4 frames/second according to what I have read.  

To do all the things you want, Kinect on ROS with navigation and mapping packages, OpenCV (or SimpleCV which is a wrapper on top of OpenCV) there aren’t any RasPis that will cut it.  From everything I have read and the several people I have talked to who have done this, you really need at least 4 gigs of RAM with a fast processor.  One guy at the NASA challenge a few years ago had two cameras doing vision processing with 8 gigs of RAM, running ROS on Linux and his system ran out of memory in certain situations.

Sure, take out the OpenCV processing from the equation and any RasPi would probably be adequate. 

Actually your right and I’m wrong.

Dear: Bill

According to this document using a kinect sensor needs about 4gb of ram. It also needs about 3.1 giga hertz. So much for using a raspberry pi according to my knowledge but anyways.

From:Noah

I found what I could need.

Dear: LMR

Thank you for all of your help with what board I could use. According to element 14 there is a raspberry pi with 4gb of ram. It is the raspberry pi computer module. This is cheaper and follows the requirements to what can control a kinect sensor. Thank you I’ll look into the board.

From: Noah