ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Is there a newer nxt_ros stack using nxt-python 2.2.2 instead of 1.2.0? (on Raspberry Pi)

asked 2013-07-20 03:56:27 -0600

msieber gravatar image

updated 2014-01-28 17:17:20 -0600

ngrennan gravatar image

I have a Raspberry Pi running ROS Groovy on a Lego NXT with a Webcam and Wifi.

Youtube: Pictures and complete Visualization.

The nxt_ros package is using the old nxt-python 1.2.0 and the performance of the Motors is good enough for teleop, but not for controlling. Therefore, I rewrote my controller: linefollower in NXC, and I am starting the .rxe Machinecode with ROS directly on the NXT.

Then I found a MotorControl for NXT, and that it is already included in the new nxt-python 2.2.2 version.

Before rewriting, the complete nxt_ros Package from nxt-python 1.2.0 to 2.2.2, does anyone knows, if this already exists somewhere?

Or maybe someone has experience with the new nxt-pythons 2.2.2 Motor-sync, and ideas for a new nxt base controller?

edit retag flag offensive close merge delete


I added a execute "Sensor" to nxt_ros, to Start a NXT .rxe Program configured by the robot.yaml.

msieber gravatar image msieber  ( 2013-07-22 23:10:05 -0600 )edit

Since I would like to have the same Performance of the Linefollwer.rxe for teleop, I will start porting the nxt-python 2.2.2 to nxt_ros (based on 1.2.0) to have the complete MotorControl, and also setting the I2C Bus faster on the NXT. But don,t have time till mid of October for doing this. :-(

msieber gravatar image msieber  ( 2013-07-24 01:44:12 -0600 )edit

@msieber: I'm currently catkinizing the nxt_ros package because I need it for my master thesis. I already thought about updating it to the new nxt-python version, but hesitated. Perhaps we could work together on this topic to keep the nxt_ros package up-to-date?!

mdtobi gravatar image mdtobi  ( 2013-08-18 22:06:28 -0600 )edit

@mdtobi How far are you? can I see it somewhere? Keeping the NXT up-to-date sounds great. But, as already said, I have Exams and also regular work, so don't rely on me if it's for a Thesis. maybe we should start a SIG as IsaacSaito suggested in the other discussion

msieber gravatar image msieber  ( 2013-08-25 22:47:34 -0600 )edit

@msieber I started migrating but run into some building-errors due to a change of the rviz::display interface. Therefore I was used to understand the rviz-plugin mechanism in more detail. As soon as I have time (estimated Wednesday/Thursday), I keep on solving these issues, hoping not to receive further errors. I'm going to upload my progress as soon as I be able to create an error-free build. (I don't like half-finished commits...) Afterwards I will look more deeper into the nxt_python stack to understand how the nxt-python lib is used and how to replace it. Besides, I also think we should start a SIG because I think there are a few more aspects to look at (Implement more sensors, using the new EV3, Migration to Hydro, and so on..). Therefore will create one. About my thesis: Don't worry - my deadline is next january, so I have ...(more)

mdtobi gravatar image mdtobi  ( 2013-08-26 00:19:35 -0600 )edit

Hey guys, is there any progress on this? Did you start an SIG or anything?

bjarkijoha gravatar image bjarkijoha  ( 2013-11-19 12:06:22 -0600 )edit

Sorry, I forgot to mention it here: Yes, there is a SIG (although I'm the only member). I also forked the nxt_ros stack ( and migrated it to the catkin build system. But there some other building lots (winros), which is why I wasn't able to test it until now

mdtobi gravatar image mdtobi  ( 2013-11-19 21:54:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-19 15:28:09 -0600

Nick J Chalko gravatar image

updated 2014-01-19 15:35:44 -0600

FYI the SIG at and now has 2 members.

edit flag offensive delete link more

Question Tools



Asked: 2013-07-20 03:56:27 -0600

Seen: 683 times

Last updated: Jan 19 '14