Re: [ros-users] NXT ROS - help and advice

Top Page
Attachments:
Message as email
+ (text/html)
Delete this message
Reply to this message
Author: Juan Antonio Breña Moral
Date:  
To: ros-users, tfoote, mwise
Subject: Re: [ros-users] NXT ROS - help and advice







Good Morning Tully and Melonee,

I tested with success the example:
rosrun nxt_python touch_sensor_test.py
Think about to update the installation process to improve the
configuration to detect NXT brick with this lines:

# Lego NXT
BUS=="usb", SYSFS{idVendor}=="03eb", GROUP="lego", MODE="0660"
BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"

In LeJOS project, we use it.
http://lejos.sourceforge.net/nxt/nxj/tutorial/Preliminaries/GettingStartedLinux.htm#5

I tested the example with NXT-G firmware 0.85 with success and with
another NXT Brick with LeJOS firmware 0.85 too. When a NXT brick start
open a LCP connection.

I am going to test the whole tutorial.

The python development support a bluetooth connection?

Cheers

Juan Antonio Breña Moral escribió:


Thanks Tully,

sorry, this is my first experience with ROS and I didn't know that
detail.

I am thinking that if the test goes well, I would like to port the
solution to LeJOS project, www.lejos.org

In leJOS, we define 2 lines in udev to give permissions from Ubuntu to
NXT Brick. In ROS the solution is a bit different.

# Lego NXT
BUS=="usb", SYSFS{idVendor}=="03eb", GROUP="lego", MODE="0660"
BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"

Tomorrow I will write with my results

Cheers

Tully Foote escribió:

Hi Juan,

You need to run roscore in a seperate terminal first. This is using ROS
to communicate and the roscore is how different nodes find each other on
the network. I suggest that you try out the tutorials at
http://www.ros.org/wiki/nxt/Tutorials to get started. The test script
you are running is a script we use internally when debugging the sensor
drivers.

If you want more on the communication protocols it's documented on
http://ros.org I recommend you start with the introduction at
http://www.ros.org/wiki/ROS/Introduction Also if you want to get
familiar with ROS there are numerous tutorials to help you get started
using ROS at http://www.ros.org/wiki/ROS/Tutorials

python-nxt which we use to talk to the brick does expect the NXT-G
firmware.

Tully

Juan Antonio Breña Moral wrote:


Good evening,

this evening I installed ROS and the support for NXT.

I open a shell and typed the following stamement to run the first example:
rosrun nxt_python touch_sensor_test.py
//

The answer from the system was:/
/
/domotica@domotica-laptop:~$ rosrun nxt_python touch_sensor_test.py
//Unable to register with master node [http://localhost:11311/]: master may not be running yet. Will keep trying./
What happen?

The NXT brick has installed latest firmware for NXT-G, firmware 1.29.
Normally I use LeJOS with latest release (0,85) but I suppose that
ROS-NXT use original firmware inside the brick.

What is the communication protocol? LCP?

Cheers


Henry Acevedo escribió:


Hi I'm new with ROS ,as I want to test the NXT, I did the complete
installation and as I'm using the Bluetooth dongle recommended by
Lego with my laptop (Ubuntu) but I cannot connect I got an error
[ERROR] 2010-09-02 22:03:50,429: [Errno 111] Connection refused
Unable to register with master node [http://localhost:11311]: master
may not be running yet. Will keep trying.
[INFO] 2010-09-02 22:04:52,563: signal_shutdown [signal-2]
[WARNING] 2010-09-02 22:04:52,565: cannot unregister with master due
to network issues
[INFO] 2010-09-02 22:04:52,565: signal-2
[INFO] 2010-09-02 22:04:52,674: connected to core topic /rosout
[ERROR] 2010-09-02 22:04:52,736: Unable to initialize /clock: [Errno
111] Connection refused


but not sure how to fix this issue,

please any help will be appreciated


Thanks


------------------------------------------------------------------------

_______________________________________________
ros-users mailing list

https://code.ros.org/mailman/listinfo/ros-users



--

Juan Antonio Breña Moral
www.juanantonio.info
www.roboticaenlaescuela.es

Este mensaje (incluyendo los archivos adjuntos) es confidencial y reservado. Si Vd. lo ha recibido por error, por favor notifíquelo al emisor del mismo vía e-mail y borre el mensaje de su sistema. Cualquier uso no autorizado o divulgaciín de su contenido, ya sea en todo o en parte, está totalmente prohibido. Tenga en cuenta que los e-mails son susceptibles de ser modificados.El remitente no se hará responsable de la incorrecta o incompleta transmisión de la información contenida en esta comunicación, ni por ningún retraso en la recepción o daño a sus sistemas. el remitente no garantiza que esta comunicación se ha realizado en su integridad ni que la misma no contiene virus, intercepciones o interferencias. Este e-mail ha sido escaneado mediante la utilización de Antivirus.

El tratamiento de los datos de carácter personal, así como el envío de boletines o comunicaciones realizadas por medios electrónicos, son conforme a la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal (B.O.E. de 14 de diciembre de 1999) y a la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de Información y de Comercio Electrónico (B.O.E. de 12 de julio de 2002). El tratamiento desautorizado de datos de caracter personal puede suponer una infracción de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de carácter personal. Si usted no es el destinatario que figura arriba, o la persona responsable de su entrega al mismo, deberá de abstenerse de examinar o utilizar su contenido, realizar copias o entregarlo a persona distinta. Para obtener información sobre la política de privacidad o para el ejercicio de


derechos de acceso, rectificación, cancelación y oposición, puede dirigirse a este correo electrónico, indicando en el asunto "Protección de Datos".

This message (including any attachments) is confidential and may be privileged. If you have received it by mistake, please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. The sender shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor for any delay in its receipt or damage to your system. The sender does not guarantee that the integrity of this communication has been maintained or that this communication is free from viruses, interceptions, or interference. This email has been scanned using Antivirus



------------------------------------------------------------------------

_______________________________________________
ros-users mailing list

https://code.ros.org/mailman/listinfo/ros-users



_______________________________________________
ros-users mailing list

https://code.ros.org/mailman/listinfo/ros-users





--

Juan Antonio Breña Moral
www.juanantonio.info
www.roboticaenlaescuela.es

Este mensaje (incluyendo los archivos adjuntos) es confidencial y reservado. Si Vd. lo ha recibido por error, por favor notifíquelo al emisor del mismo vía e-mail y borre el mensaje de su sistema. Cualquier uso no autorizado o divulgaciín de su contenido, ya sea en todo o en parte, está totalmente prohibido. Tenga en cuenta que los e-mails son susceptibles de ser modificados.El remitente no se hará responsable de la incorrecta o incompleta transmisión de la información contenida en esta comunicación, ni por ningún retraso en la recepción o daño a sus sistemas. el remitente no garantiza que esta comunicación se ha realizado en su integridad ni que la misma no contiene virus, intercepciones o interferencias. Este e-mail ha sido escaneado mediante la utilización de Antivirus.

El tratamiento de los datos de carácter personal, así como el envío de boletines o comunicaciones realizadas por medios electrónicos, son conforme a la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal (B.O.E. de 14 de diciembre de 1999) y a la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de Información y de Comercio Electrónico (B.O.E. de 12 de julio de 2002). El tratamiento desautorizado de datos de caracter personal puede suponer una infracción de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de carácter personal. Si usted no es el destinatario que figura arriba, o la persona responsable de su entrega al mismo, deberá de abstenerse de examinar o utilizar su contenido, realizar copias o entregarlo a persona distinta. Para obtener información sobre la política de privacidad o para el ejercicio de

derechos de acceso, rectificación, cancelación y oposición, puede dirigirse a este correo electrónico, indicando en el asunto "Protección de Datos".

This message (including any attachments) is confidential and may be privileged. If you have received it by mistake, please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. The sender shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor for any delay in its receipt or damage to your system. The sender does not guarantee that the integrity of this communication has been maintained or that this communication is free from viruses, interceptions, or interference. This email has been scanned using Antivirus





_______________________________________________
ros-users mailing list

https://code.ros.org/mailman/listinfo/ros-users




--

Juan Antonio Breña Moral
www.juanantonio.info
www.roboticaenlaescuela.es

Este mensaje (incluyendo los archivos adjuntos) es confidencial y reservado. Si Vd. lo ha recibido por error, por favor notifíquelo al emisor del mismo vía e-mail y borre el mensaje de su sistema. Cualquier uso no autorizado o divulgaciín de su contenido, ya sea en todo o en parte, está totalmente prohibido. Tenga en cuenta que los e-mails son susceptibles de ser modificados.El remitente no se hará responsable de la incorrecta o incompleta transmisión de la información contenida en esta comunicación, ni por ningún retraso en la recepción o daño a sus sistemas. el remitente no garantiza que esta comunicación se ha realizado en su integridad ni que la misma no contiene virus, intercepciones o interferencias. Este e-mail ha sido escaneado mediante la utilización de Antivirus.

El tratamiento de los datos de carácter personal, así como el envío de boletines o comunicaciones realizadas por medios electrónicos, son conforme a la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal (B.O.E. de 14 de diciembre de 1999) y a la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de Información y de Comercio Electrónico (B.O.E. de 12 de julio de 2002). El tratamiento desautorizado de datos de caracter personal puede suponer una infracción de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de carácter personal. Si usted no es el destinatario que figura arriba, o la persona responsable de su entrega al mismo, deberá de abstenerse de examinar o utilizar su contenido, realizar copias o entregarlo a persona distinta. Para obtener información sobre la política de privacidad o para el ejercicio de
derechos de acceso, rectificación, cancelación y oposición, puede dirigirse a este correo electrónico, indicando en el asunto "Protección de Datos".

This message (including any attachments) is confidential and may be privileged. If you have received it by mistake, please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. The sender shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor for any delay in its receipt or damage to your system. The sender does not guarantee that the integrity of this communication has been maintained or that this communication is free from viruses, interceptions, or interference. This email has been scanned using Antivirus