0
$\begingroup$

Rosanswers logo

Here's a question I received recently, thought it would be good to put up here:

My project group is going to try programming a Lego Mindstorm NXT robot and the Kinect.

We are currently still trying to figure how to interface the Kinect with our NXT robot.

We have read on the internet that it is possible to used ROS-Kinect and ROS-NXT. Also, we have explored the possibility of using C# on OpenKinect. However, we are unable to figure how to interface both the NXT and Kinect such that the Kinect is able to control the NXT. Also, may we ask which software/IDE/platform which we could use to program both the NXT and Kinect at the same time?


Originally posted by veltrop on ROS Answers with karma: 295 on 2011-02-15

Post score: 3


Original comments

Comment by mmwise on 2011-02-17:
when you see an answer you like, mark it as an accepted answer

$\endgroup$

2 Answers 2

0
$\begingroup$

Rosanswers logo

I don't have experience with NXT, just the RCX, but I will try to help out.

You will need a host computer to act as the remote brain. This computer will connect to the USB of the Kinect, and it will also connect to the NXT over USB. ROS does not actually run -on- the NXT, it will simply command it from the remote computer.

The remote computer must be Linux. You won't have any luck in Windows or Mac with ROS + Kinect + NXT. I don't use an IDE. I use GVim and vim to edit files and compile and run things from the command line. ROS is very friendly with the command line.

So get Ubuntu running and see http://www.ros.org/wiki/ROS/Installation

If you haven't gone through the ROS tutorials I suggest you start there, it'll only take a day or two to get through them all: http://www.ros.org/wiki/ROS/Tutorials

Then figure out how to control your NXT robot from ROS http://www.ros.org/wiki/nxt So make a ROS node to control your robot.

The next step is to get the Kinect working http://www.ros.org/wiki/openni_kinect

Then you can make a ROS node to listen to the Kinect data and send commands to the node controlling your NXT robot.


Originally posted by tfoote with karma: 58457 on 2011-02-17

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by Bart on 2011-05-03:
I use both command line (gedit, rosmake) and Eclipse IDE as described at http://www.ros.org/wiki/IDEs. The gdb (debugger) integration with ROS and Eclipse works fine, but you have to set up the debug config ROS environment variables properly if using multiple networked computers.

Comment by tfoote on 2011-02-17:
copied to work around http://askbot.org/en/question/293/how-can-an-admin-answer-own-question-and-accept-it so you can accept the answer

$\endgroup$
0
$\begingroup$

Rosanswers logo

I don't have experience with NXT, just the RCX, but I will try to help out.

You will need a host computer to act as the remote brain. This computer will connect to the USB of the Kinect, and it will also connect to the NXT over USB. ROS does not actually run -on- the NXT, it will simply command it from the remote computer.

The remote computer must be Linux. You won't have any luck in Windows or Mac with ROS + Kinect + NXT. I don't use an IDE. I use GVim and vim to edit files and compile and run things from the command line. ROS is very friendly with the command line.

So get Ubuntu running and see http://www.ros.org/wiki/ROS/Installation

If you haven't gone through the ROS tutorials I suggest you start there, it'll only take a day or two to get through them all: http://www.ros.org/wiki/ROS/Tutorials

Then figure out how to control your NXT robot from ROS http://www.ros.org/wiki/nxt So make a ROS node to control your robot.

The next step is to get the Kinect working http://www.ros.org/wiki/ni

Then you can make a ROS node to listen to the Kinect data and send commands to the node controlling your NXT robot.


Originally posted by veltrop with karma: 295 on 2011-02-15

This answer was NOT ACCEPTED on the original site

Post score: 4

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.