Neato_node on Raspberry Pi, no joy so far.

105 views
Skip to first unread message

anfederman@comcast

unread,
Apr 30, 2013, 7:03:00 PM4/30/13
to hbrob...@googlegroups.com

This is pretty technical, so unless you use ROS, spare yourself the headache and skip the rest of this message. Sometimes I find writing down my steps helps me debug.

1. I have the neato_node running on Unbuntu 11.10 and Groovy using http://ros.org/wiki/neato_node instructions, with the added modification of changing USB0 to ACM0 (in the neato.py file) on my laptop. (I then can use RVIZ to detect object about 15ft away.)

2. Unfortunately the same trick does not work using Raspberry Pi and Raspi. Both roslaunch and rosrun die at the same place - line 44 in the neato.py program. I believe that is where the USB port is specified.

3. There are no USB ports in /dev  only ACM.

4. rosrun neato_node neato.py _port:=/dev/ttyACM0  (as per Fergie's instructions) doesn't work on either platform for me.

5. One more clue - a ros_workspace (ros_arduino_bridge) package works well on both platforms. I am using the wiki instructions, so that the source setup.bash in the /ros_workspace sets the path through the /catkin_workspace as well.

 

James Ronald

unread,
Apr 30, 2013, 7:13:57 PM4/30/13
to hbrob...@googlegroups.com
Alan

Do you have PySerial installed?

sudo apt-get install python-serial

- Jim
> --
> You received this message because you are subscribed to the Google Groups
> "HomeBrew Robotics Club" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hbrobotics+...@googlegroups.com.
> To post to this group, send email to hbrob...@googlegroups.com.
> Visit this group at http://groups.google.com/group/hbrobotics?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

anfederman@comcast

unread,
May 1, 2013, 3:54:00 PM5/1/13
to hbrob...@googlegroups.com
Yup. python serial installed (it wasn't) here is the error message:

process[neato-3]: started with pid [2265]
Traceback (most recent call last):
File "/home/pi/catkin_ws/src/neato_robot/neato_node/nodes/neato.py", line
44, in <module>
from neato_driver.neato_driver import xv11, BASE_WIDTH, MAX_SPEED
ImportError: No module named neato_driver.neato_driver
[neato-3] process has died [pid 2265, exit code 1, cmd
/home/pi/catkin_ws/src/neato_robot/neato_node/nodes/neato.py __name:=neato
__log:=/home/pi/.ros/log/2bc77a40-b298-11e2-a1fc-b827eb326266/neato-3.log].
log file:
/home/pi/.ros/log/2bc77a40-b298-11e2-a1fc-b827eb326266/neato-3*.log
^C[laser_to_base-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete


--------------------------------------------------
From: "James Ronald" <james....@gmail.com>
Sent: Tuesday, April 30, 2013 4:13 PM
To: <hbrob...@googlegroups.com>
Subject: Re: [HBRobotics] Neato_node on Raspberry Pi, no joy so far.

Michael Ferguson

unread,
May 1, 2013, 3:57:54 PM5/1/13
to hbrob...@googlegroups.com
Have you sourced devel/setup.bash or install/setup.bash (if you did catkin_make install) -- it looks like it cannot find the neato_driver package, which points to a path problem.

-Fergs



To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at http://groups.google.com/group/hbrobotics?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.

To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at http://groups.google.com/group/hbrobotics?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.

anfederman@comcast

unread,
May 1, 2013, 4:25:55 PM5/1/13
to hbrob...@googlegroups.com
Hmmmmm....  I was using the same setup as on ubuntu,  where the setup.bash in ros_workspace  calls the catkin_workspace. roscd finds the neato nodes.
 
I sourced catkin_ws/devel/setup.bash and I still get:
 
[neato-3] process has died [pid 2498, exit code 1, cmd /home/pi/catkin_ws/src/neato_robot/neato_node/nodes/neato.py __name:=neato __log:=/home/pi/.ros/log/39fa1e22-b29a-11e2-9d6e-b827eb326266/neato-3.log].
log file: /home/pi/.ros/log/39fa1e22-b29a-11e2-9d6e-b827eb326266/neato-3*.log
  No neato log exists,  it looks like the launch log fails after the spin command is given.
 
 
 
[roslaunch][INFO] 2013-05-01 13:04:09,297: ... successfully launched [neato-3]
[roslaunch][INFO] 2013-05-01 13:04:09,300: ... launch_nodes complete
[roslaunch.pmon][INFO] 2013-05-01 13:04:09,302: registrations completed <ProcessMonitor(ProcessMonitor-1, started daemon -1234422672)>
[roslaunch.parent][INFO] 2013-05-01 13:04:09,308: ... roslaunch parent running, waiting for process exit
[roslaunch][INFO] 2013-05-01 13:04:09,310: spin
[roslaunch][ERROR] 2013-05-01 13:05:36,973: [neato-3] process has died [pid 2498, exit code 1, cmd /home/pi/catkin_ws/src/neato_robot/neato_node/nodes/neato.py __name:=neato __log:=/home/pi/.ros/log/39fa1e22-b29a-11e2-9d6e-b827eb326266/neato-3.log].
This is the other message I still get
 
rosrun neato_node neato.py _port:=/dev/ttyACM0
Traceback (most recent call last):
  File "/home/pi/catkin_ws/src/neato_robot/neato_node/nodes/neato.py", line 44, in <module>
    from neato_driver.neato_driver import xv11, BASE_WIDTH, MAX_SPEED
ImportError: No module named neato_driver.neato_driver
 
 
I will try a re-clone next.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages