2
$\begingroup$

I need to know if the iRobot Create 2 can be controlled with a NI myRIO that has been programmed through LabVIEW.

The goal is to program an autonomous robot for real-time tracking using a Kinect sensor.

$\endgroup$
1
$\begingroup$

Unfortunately, there is no "single" answer to your question. There is no USB port on the NI myRIO, so just using the cable provided by iRobot as-is is not really an option. The good news is the iRobot Create (and Roombas in general) take all of their commands via the serial 7DIN interface that is mounted on-top of Roomba. The Create 2 should have some re-programmable capabilities, Roombas will not - you need to 'live push/pull' instructions/data to/from them using an attached device like an arduino, RasPi, Tegra TK1/TX1, etc. So if you can get the NI myRIO to generate the appropriate serial commands from LabView code - something that shouldn't be too difficult - then it should be possible to control the Create/Roomba and program the Create 2. As for exactly how to do this, I am unfamiliar with the NI myRIO. It is a relatively new system, and I am not sure it really offers any benefit over something like an Arduino, RasPi, or Tegra. I can only be sure that you will need to design your own interface, as it seems like the myRIO was designed to make use of 'bare' motors and sensors, not ones already sitting behind a micro-controller.

In this particular case, I would advise against the NI myRIO and suggest you use either the nVidia Tegra TK1 or nVidia Tegra TX1. They are specifically designed to do live image processing on a mobile platform, and the drivers for using a kinect sensor has already been developed for the TK1/TX1. You can also use ROS for these boards, and that again will make your life much more simple. It still won't be a simple "put all the pieces together and press 'go" project, but you won't have to write all the code and drivers on your own. In robotics - unless the point is to do it 'new' - re-using existing code and drivers is in your best interest.

$\endgroup$
  • $\begingroup$ Thank you for this. Unfortunately, using the myRIO is not optional, as it is a constraint of the project. $\endgroup$ – Chanel Johnson Feb 10 '16 at 5:21
  • $\begingroup$ In such a case, you can probably get the myRIO controlling the create, but I highly doubt you'll get it to do the image processing necessary to use the kinect sensor - unless I am misunderstanding the processing capabilities of the myRIO. $\endgroup$ – MechanicalMan Feb 10 '16 at 13:14
  • $\begingroup$ FYI, the Create2 does not have any "re-programable capabilities". Like the Roomba, all commands must be sent through the serial interface. $\endgroup$ – Ben Mar 11 '16 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.