On Wednesday, May 31, 2017 at 9:49:22 AM UTC-7, RobertCNelson wrote:
Do you guys want my continued input on my experience getting ROS going on the 'blue? Remember I'm a ROS newbie.
Some of this might be good to capture and put in a ROS section of the FAQ?? :-) There's probably a lot of folks that may want to run ROS on the BBBlue. I feel it would be helpful to capture the errata for the ROS experience on the Beagle bone(s). As an experienced linux and linux sbc user I'm still finding the initial learning curve for ROS to be a bit of a FIRE HOSE! I'm glad I put it on hold a ~year ago and learned about MQTT first.
All the tutorials I've been reading from
ros.org and other sites referred to /opt/ros/<distribution> ie /opt/ros/lunar. All the packages I installed seem to be in /usr/share/ros They don't implement the ros distribution directory structure either.
When attempting to setup my catkin environment I got this;
jeffa@bluemoon:~/catkin_ws$ catkin_create_pkg beginner_tutorials std_msgs rospy roscpp
usage: catkin_create_pkg [-h] [--meta] [-s [SYS_DEPS [SYS_DEPS ...]]]
[-b [BOOST_COMPS [BOOST_COMPS ...]]] [-V PKG_VERSION]
[-D DESCRIPTION] [-l LICENSE] [-a AUTHOR]
[-m MAINTAINER] --rosdistro ROSDISTRO
name [dependencies [dependencies ...]]
catkin_create_pkg: error: argument --rosdistro is required
jeffa@bluemoon:~/catkin_ws$
So I did this;
jeffa@bluemoon:~/catkin_ws$ catkin_create_pkg beginner_tutorials std_msgs rospy roscpp --rosdistro lunar
Created file beginner_tutorials/CMakeLists.txt
Created file beginner_tutorials/package.xml
Created folder beginner_tutorials/include/beginner_tutorials
Created folder beginner_tutorials/src
Successfully created files in /home/jeffa/catkin_ws/beginner_tutorials. Please adjust the values in package.xml.
jeffa@bluemoon:~/catkin_ws$ ll
total 4
drwxr-xr-x 4 jeffa jeffa 4096 Jun 1 00:58 beginner_tutorials
jeffa@bluemoon:~/catkin_ws$ ll be*
total 20
-rw-r--r-- 1 jeffa jeffa 6253 Jun 1 00:58 CMakeLists.txt
drwxr-xr-x 3 jeffa jeffa 4096 Jun 1 00:58 include
-rw-r--r-- 1 jeffa jeffa 2134 Jun 1 00:58 package.xml
drwxr-xr-x 2 jeffa jeffa 4096 Jun 1 00:58 src
jeffa@bluemoon:~/catkin_ws$ ll be*/src
total 0
jeffa@bluemoon:~/catkin_ws$
yakin' in irc #beagle zmatt pointed me to
UpstreamPackages that shed a little light on the packaging differences. I'm still trying to remember what created /opt/ros/lunar/setup.bash on lunar the desktop machine. I did find
setup.bash.in template on the BBBlue
root@bluemoon:/# find / -name setup.bash* -print
/usr/share/catkin/cmake/templates/setup.bash.in
root@bluemoon:/#
I feel that I'm getting close. It is working, just want to get it to a nice clean install and the build environment working. Still waggin' my tail!
Hopefully not TMI but this old robot of mine that I built on a Parallax stingray chassis and a Parallax controller has been collecting dust for awhile. I'm planing to re-implement it with the BBBLue and ROS. My dogs name is Sampson, this robot is named SAMI for Semi Automated Mobile Instigator. It has ?had? an out of band camera so I could ROV it using a standard hobby transmitter. a ping sensor on an x/y servo sent range and angle data via Xbee to a wpf xaml app that included a Radar screen, gps, debug and the camera output. Check it out on uTube
sami and
SamiUpdateLaborDay

c ya... - jeffa @jhalbrecht