Edison install ROS in two method
2015-10-04 10:45
330 查看
USE yocto make image
NOTE: THIS PART IS UNFINISHED!!in your edison yocto BSP path get ROS layer from git
git clone https://github.com/bmwcarit/meta-ros.git
and you can read the README.md to get details about meta-ros
edit edison_image.bb
add this:
IMAGE_INSTALL += "roslaunch catkin roscpp-tutorials cv-bridge packagegroup-ros-comm"
edit bblayers.conf
add
/path/to/meta-intel-edison/meta-ros \
below this line
BBLAYERS ?= " \
but finally i find something in rootfs generated in host linux PC do not exist in edison rootfs.
there could be some mechanism in yocto that i don’t pay attention
i will find in manual for do_rootfs.
because of this, it need to copy many files to board and export some env
I managed to run ros in board >_<
USE Source install
My zynq board installed ROS indigo and it sounds like there are some problem when communicate between two different version ROS .so i installed ROS indigo in edsion.First add
IMAGE_INSTALL += "boost-dev"
in edison-image.bb
btw i change the rootfs size to 2048M
or you can use opkg follow this :
https://communities.intel.com/thread/55692
opkg install boost-dev
and now to install ROS depend libs
What i have installed will list behind.
python lib
wget http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py easy_install pip pip install -U empy pip install -U nose
console_bridge
install console_bridge packagegit clone git://github.com/ros/console_bridge.git cd console_bridge cmake . make make install
TinyXML
you can use apt-get libtinyxml-dev in debian-base OSi take a lot time to get it work…
ROS need libtinyxml not libtinyxml2
first get source from
wget http://ftp.th.debian.org/debian/pool/main/t/tinyxml/tinyxml_2.6.2.orig.tar.gz[/code]
then uncompress then get in source path
create a CMakeLists.txt filecmake_minimum_required(VERSION 2.6) project(TinyXml) set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) include_directories(./) file( GLOB_RECURSE source_files *.h *.cpp ) add_library( tinyxml SHARED ${source_files} ) #SET_TARGET_PROPERTIES (tinyxml PROPERTIES DEFINE_SYMBOL "EXPORT" ) INSTALL( FILES tinyxml.h tinystr.h DESTINATION include/ ) INSTALL( FILES lib/libtinyxml.so DESTINATION lib/ )
NOTE
add#define TIXML_USE_STLin tinyxml.h
END NOTE
to cmake make make install get libtinyxml.so in /usr/local/liblz4
git clone https://github.com/Cyan4973/lz4.git cd lz4/lib make make installFINAL
set ROS_OS_OVERRIDE
Format: “OS_NAME:OS_VERSION_STRING” This will force it to detect Ubuntu Lucid:
export ROS_OS_OVERRIDE=ubuntu:10.04
If defined, this will override the autodetection of an OS. This can be useful when debugging rosdep dependencies on alien platforms, when platforms are actually very similar and might need be forced, or of course if the autodetection is failing
in /etc/profileexport ROS_OS_OVERRIDE=ubuntu:14.04
It works wellFollow this
http://wiki.ros.org/indigo/Installation/Source
相关文章推荐
- 收集的ROS防火墙脚本
- ROS限速脚本 动态限速 固定限速
- ROS超智能的脚本
- ROS 采用NAT方式提高双线转发效率的方法
- ROS最正确的限速--------小包优先+带宽均分+简单队列限制上传速度
- ROS用流量监控动态控制限速点(新方法)----预留带宽
- ROS與二層交換機3COM(4200)做24個多出口ADSL(固定IP)拔號
- ROS莫明掉线断流的解决方法
- 如何使用ROS 限制BT下载
- ros防火墙脚本(经典推荐)
- ROS加强精通过程--禁止 未授权用户上网
- ROS最正确的限速--------小包优先+带宽均分+简单队列限制上传速度
- Ros强开指定首页,类似电信的ADSL强开指定首页,即push功能
- ROS做PCQ集体限速图
- ROS软路由 IPSec配置
- 关于类似于电信弹出广告(push业务),使用ROS与简单web服务器实现
- 在routeros中只允许用户dhcp上网
- Ros固定IP共享上网设置
- ROS 封QQ脚本
- POSTROUTING与PREROUTING区别