Bad news: can't get my ethernet working, but that's an orthogonal problem to ROS linuxCNC intergration
Good news: I have ROS running alongside linuxCNC with the RTAI kernal. I have tested as far as streaming usb camera info at the same time.
So perhaps @cncbasher ROS will not go alongside the liveCD version only??
My installation was as follows
fresh 32bit version of ubuntu 10.04
ran
linuxcnc-install.sh from
http://www.linuxcnc.org/index.php/download/21/
(NOT instructions from the wiki
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2 they did not seem to work for me)
Then I could restart and boot and seemingly run linuxCNC, but no internet so I booted back into normal pae kernal to install ROS
electric :
http://www.ros.org/wiki/electric/Installation
To test usb camera I already have my code written from the blog, I have shared that in github
mkdir ~/ros
cd ~/ros
git clone git://github.com/tomlarkworthy/linuxCNC_ROS.git
also get other peoples code out of their repositories for
usb_cam
http://www.ros.org/wiki/usb_cam
vision_visp
http://www.ros.org/wiki/vision_visp
adjust ROS_PACKAGE_PATH to /opt/ros/setup.sh to point to where external ROS packages are stored:
export ROS_PACKAGE_PATH=/opt/ros/electric/stacks:/home/YOURHOME/ros
then make sure bash is aware of change
source ~/.bashrc
Now
roscd linuxCNC_ROS
should now go to the git repository using the ros tool to cd into installed ros packages (it searches the ROS_PACKAGE_PATH)
rosmake (the build tool) in that directory will fail because the dependencies are not installed
so
rosmake --rosdep-install
will find also install all the required extra system dependencies
now you should be able to test the usb camera (if you have on plugged in).
roslaunch linuxCNC_ROS camera_view.launch
(launch files are xml descriptions of what modules to run, and how to connect them). Its very human readable, you can see them all in linuxCNC_ROS/launch
there are a few others but it seems they are not properly working on my fresh install but they shall be an easy fix.
OK so I will spend a few days trying to get my damn Ethernet working as I can't program very quickly without internet.