Open cyberbilly opened 2 years ago
@cyberbilly I can take a look at it next week. I took a look on my phone and don’t recall if that launch file was supposed to be included in this code or pulled in from somewhere else.
I found that /home/bill/catkin_ws/src/neato-ros/neato/launch/include/ did have a Display.launch and that worked, Once I figured out that your instructions did not cover installing rviz.
Next problem I think is actual communication over usb. I can communicate fine using a serial communication app with /dev/ttyAS0 and in /dev there is symlink to "neato" as per instructions. But base.launch fails. I will investigate that and let you know. the error is:
auto-starting new master process[master]: started with pid [3801] ROS_MASTER_URI=http://localhost:11311
setting /run_id to ad9159e2-0a8b-11ed-9f8f-2d0c5d8a3e16
process[rosout-1]: started with pid [3811]
started core service [/rosout]
process[neato-2]: started with pid [3814]
process[robot_state_publisher-3]: started with pid [3815]
process[teleop_joystick-4]: started with pid [3816]
process[joystick-5]: started with pid [3817]
[ERROR] [1658583059.052093291]: Couldn't open joystick /dev/input/js0. Will retry every second.
Traceback (most recent call last):
File "/home/bill/catkin_ws/src/neato-ros/neato/src/neato_node.py", line 49, in
Okay so python doesn't come with serial so needs to be added by "sudo apt-get install python3-serial"
Then /dev/neato and linked /dev/ttyACM0 need 777 permissions.
These probably need to added to your most excellent instructions. Along with how to set up keyboard instead of joystick. I have not figured that out yet....
next problem display launch yields: ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher]. Make sure file exists in package path and permission is set to executable (chmod +x)
I have to break, I'll look into this and let you know.
problem was robot_state_publisher/state_publisher should be robot_state_publisher/robot_state_publisher. that's correct but node is already created in neatobase. So I deleted line out of neatobase.
Seems to be working now... cheers!
Everything seems to work up to roslaunch neato gui.launch. which yields "RLException: [gui.launch] is neither a launch file in package [neato] nor is [neato] a launch file name The traceback for the exception was written to the log file"
Index of file:///home/bill/catkin_ws/src/neato-ros/neato/launch/include/ does not show any gui.launch.