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

nxt_lejos Tutorial vs. rosjava

asked 2012-06-27 06:36:00 -0500

andreasw gravatar image

updated 2014-01-28 17:12:49 -0500

ngrennan gravatar image

Hi,

I'm unable to reconstruct the nxt_lejos Getting Started Tutorial as "roslaunch proxy.launch" yields an error about missing rosjava_bootstrap run.py:

user@ubuntu:~/ros_workspace/lejos/learning_nxt_lejos$ roslaunch proxy.launch
... logging to /home/user/.ros/log/e479cc26-c074-11e1-8379-000c29dc495d/roslaunch-ubuntu-3394.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:42262/

SUMMARY
========

PARAMETERS
 * /rosversion
 * /connection
 * /rosdistro
 * /nxt_robot
 * /brick_name

NODES
  /
    nxt_lejos_proxy (rosjava_bootstrap/run.py)

auto-starting new master
process[master]: started with pid [3408]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to e479cc26-c074-11e1-8379-000c29dc495d
process[rosout-1]: started with pid [3421]
started core service [/rosout]
ERROR: cannot launch node of type [rosjava_bootstrap/run.py]: Cannot locate node of type [run.py] in package [rosjava_bootstrap]

The file run.py is missing <node pkg="rosjava_bootstrap" type="run.py" args="nxt_lejos_proxy org.lejos.ros.nodes.ROSProxy" name="nxt_lejos_proxy" output="screen">

which results from trying to perform run.py from rosjava_bootstrap as defined in proxy.launch:

<node pkg="rosjava_bootstrap" 
    type="run.py" 
    args="nxt_lejos_proxy org.lejos.ros.nodes.ROSProxy" 
    name="nxt_lejos_proxy" 
    output="screen">

As current rosjava_bootstrap lacks such a file, this obviously fails.

How is one supposed to reconstruct the Getting Started Tutorial with current rosjava_core?

Best regards, Andreas

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-27 02:23:53 -0500

LawrieGriffiths gravatar image

The tutorial has been fixed. Please try it now.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-06-27 06:36:00 -0500

Seen: 413 times

Last updated: Jul 27 '12