adding installation script for installing within the virtual machine; more README
This commit is contained in:
parent
803f278f0c
commit
3c2c40029d
|
@ -13,9 +13,15 @@ INSTALLATION and USE:
|
||||||
builds our specifically configured linux image.
|
builds our specifically configured linux image.
|
||||||
|
|
||||||
With `runqemu qemux86-64 core-image-bmw` the linux image runs within a virtual machine.
|
With `runqemu qemux86-64 core-image-bmw` the linux image runs within a virtual machine.
|
||||||
|
|
||||||
We assume that this is running on and compiled for an x86-64 architecture. For other architectures, some settings must be adjusted.
|
We assume that this is running on and compiled for an x86-64 architecture. For other architectures, some settings must be adjusted.
|
||||||
|
|
||||||
|
Unpack ros_server.tar.gz somewhere, adjust pathes in fuerte-ros-base.rosinstall to the location where it has been unpacked.
|
||||||
|
After starting the virtual machine, copy the installation script from the guest system to the home directory with scp and execute it.
|
||||||
|
|
||||||
|
scp lukas@192.168.7.1:/<location of repository>/install.sh .
|
||||||
|
sh ./install.sh
|
||||||
|
|
||||||
|
|
||||||
CONTENT of the repository:
|
CONTENT of the repository:
|
||||||
|
|
||||||
.gitignore list of filenames of the poky-danny-8.0 release to ignore. Adjust file to track newly added recipes.
|
.gitignore list of filenames of the poky-danny-8.0 release to ignore. Adjust file to track newly added recipes.
|
||||||
|
@ -25,10 +31,18 @@ CONTENT of the repository:
|
||||||
meta/recipes-devtools/python/python-pyyaml_3.10.bb recipe for pyyaml python library
|
meta/recipes-devtools/python/python-pyyaml_3.10.bb recipe for pyyaml python library
|
||||||
meta/recipes-devtools/python/python-rospkg_1.0.15.bb recipe for rospkg tool
|
meta/recipes-devtools/python/python-rospkg_1.0.15.bb recipe for rospkg tool
|
||||||
|
|
||||||
|
|
||||||
RESOLVED ISSUES:
|
RESOLVED ISSUES:
|
||||||
- recipes for python-pyyaml and python-rospkg create invalid shell scripts (header line refers to python-native instead of python.)
|
- recipes for python-pyyaml and python-rospkg create invalid shell scripts (header line refers to python-native instead of python.)
|
||||||
RESOLVED by patching distutils class--will be committed to yocto.
|
RESOLVED by patching distutils class--will be committed to yocto.
|
||||||
|
|
||||||
OPEN ISSUES:
|
OPEN ISSUES:
|
||||||
- Yocto: python-setuptools requires python-modules at run-time.
|
- recipe for log4cxx requires another patch.
|
||||||
|
- Yocto: python-setuptools requires some python-modules at run-time.
|
||||||
|
TEMPORARILY RESOLVED by adding all python-modules in the image
|
||||||
|
SHOULD BE RESOLVED by creating an appropriate patch for python-setuptools and contributing to openembedded-core
|
||||||
- rospkg modules are not found when runnning python.
|
- rospkg modules are not found when runnning python.
|
||||||
|
UNCLEAR. Maybe we need rospkg-dev?
|
||||||
|
- Compilation with make fails in the virtual machine because of insufficient memory during compilation.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
# create ssh login without password
|
||||||
|
ssh-keygen -t rsa
|
||||||
|
cat .ssh/id_rsa.pub | ssh lukas@192.168.7.1 'cat >> .ssh/authorized_keys'
|
||||||
|
# copy prepared rosinstall file
|
||||||
|
scp lukas@192.168.7.1:/home/lukas/ros_server/fuerte-ros-base.rosinstall .
|
||||||
|
# run rosinstall
|
||||||
|
mkdir ~/ros
|
||||||
|
rosinstall --catkin ~/ros fuerte-ros-base.rosinstall
|
||||||
|
# install rospkg manually
|
||||||
|
git clone ssh://lukas@192.168.7.1//home/lukas/ros_server/rospkg
|
||||||
|
cd ~/rospkg
|
||||||
|
python setup.py install
|
||||||
|
# cmake invocation
|
||||||
|
cd ~/ros
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte -DSETUPTOOLS_DEB_LAYOUT=OFF
|
Loading…
Reference in New Issue