Player 2.1.1 / Gazebo 0.8 SVN rev. 6886在Fedora9下的安装

centos7编译OPENCV3.4.7 静态库 内容部分转载,测试多次 阅读详情

First of all

You must have a suitable Linux distribution running into your computer in order to install Player Robotics Interface and Gazebo 3D Robotics Simulator. The following are the steps you might follow to install Player and Stage on a Fedora 9 machine. It will work on similar distributions with similar configuration. Follow the first 2 steps in Personal Fedora 9 Installation Guide to install Fedora 9 correctly (in addition, great tips for F9), and add Development Support during installation in order to be able to compile and install Player/Stage and their prerequisites.

Gazebo relies on a number of third-party libraries that make installation a little bit tricky. If things go wrong, please check the Problem-solving section and the archives of the Gazebo mailing list. Please read the instructions below carefully before reporting posting to the mailing list.

(Comment: if using Fedora 8, you need install the ogre from binary package to correct the display bug)

Preparing your system

The the GUI component of Gazebo is designed to allow users to integrate their favorite GUI libraries with Gazebo. FLTK is the default GUI and requires third-party packages (OpenGL and OGRE) for 3D rendering that may not be installed on your system; if you plan to use the GUI, install these packages before proceeding:

Firstly, install the following OpenGL rpm packages if they are not present in your system (to chech them use $ rpm -qa <package-name>). Use Yum for the installation ($ yum install <package-name>).

  • mesa-libGL: open-source implementation of the OpenGL specification
  • mesa-libGL-devel: mesa-libGL development package
  • mesa-libGLU: open-source implementation of the OpenGL Utility (GLU) library
  • mesa-libGLU-devel: mesa-libGLU development package
  • freeglut: completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library
  • freeglut-devel: freeglut development package

Secondly, Gazebo render engine requires hardware 3D acceleration. In order to be able to run the GUI, you will need a suitable graphic card (ATI or nVIDIA) with hardware 3D acceleration. Please follow these instructions to setup the proper driver for your card:

ATI (NOT tested in Gazebo 0.8!)

$ rpm -ivhU http://rpm.livna.org/livna-release-8.rpm
$ yum -y install kmod-fglrx glx-utils
$ reboot
$ gedit /etc/X11/xorg.conf
Section "ServerFlags"
    Option "AIGLX" "off"
EndSection Section "Extensions"
    Option "Composite" "Disable"
EndSection
Section "DRI"
    Mode 0666
EndSection

nVIDIA: Personal Fedora 9 Installation Guide: Install Nvidia's driver

The following paths are not searched by default, leading to problems when compiling and linking some source packages. We therefore recommend that you configure your system with some additional paths (added to your etc/.bashrc script, for example):

export PATH=/usr/local/bin:$PATH
export CPATH=/usr/local/include:$CPATH
export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH

The first line sets the executable path; the second sets the path for C and C++ header files; the third line sets the library search path. You will also need to set two more paths:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

This line sets the pkg-config path (a neat utility for managing source dependencies).

Then, install the following:

Install the GUI: FLTK (Fast Light Toolkit)

$ tar xvzf fltk-1.1.9-source.tar.gz
$ cd fltk-1.1.9
$ ./configure
$ make
$ make install

or

$ yum install fltk fltk-devel

OGRE dependency: zziplib (Z Zip Library)

$ tar xvzf zziplib-0.13.49.tar.bz2
$ cd zziplib-0.13.49
$ ./configure
$ make
$ make install

        Due to a bug, add to /usr/local/lib/pkgconfig/zziplib.pc after "prefix=/usr/local" the following line: "datarootdir=${prefix}/share"

or

$ yum install zziplib zziplib-devel

OGRE dependency: FreeImage

$ tar xvzf FreeImage3100.zip
$ cd FreeImage
$ make
$ make install

or

$ yum install freeimage freeimage-devel

OGRE dependency: nVidia Cg Toolkit

OGRE dependency: OIS (Object Oriented Input System)

$ tar xvzf ois-1.2.tar.gz
$ cd ois
$ ./bootstrap
$ ./configure
$ make
$ make install

or

$ yum install ois ois-devel

OGRE (Object-Oriented Graphics Rendering Engine)

$ tar xvzf  ogre-v1-4-9.tar.bz2
$ cd ogrenew
$ ./configure
$ make
$ make install
$ /sbin/ldconfig

or

$ yum install ogre ogre-devel

To simulate rigid body physics, Gazebo utilizes ODE. Gazebo requires that ODE support trimeshes. A default install of ODE should enable trimesh suppport, if in doubt check the help files found in the ODE sources.

ODE (Open Dynamics Engine)

$ tar xvzf ode-0.10.0.tar.gz
$ cd ode-0.10.0
$ ./configure
$ make
$ make install

or

$ yum install ode ode-devel

SCONS (if not already installed in you system)

or

$ yum install scons

 

Install Player 2.1.1


Prerequisites available at Fedora 9 Package List:

Install from fedora rpm repository

$ yum install libtool-ltdl-devel

Optional prerequisites:

Python bindings for Player/Stage (optional):

    $ mkdir -p /usr/local/lib/python2.5/
    $ cd /usr/local/lib/python2.5/
    $ ln -s /usr/lib/python2.5/site-packages

Add to /etc/bashrc :

    export PYTHONPATH=/usr/local/lib/python2.5/site-packages:$PYTHONPATH

Install Player

Installing:

    $ tar xvzf player-2.1.1.tar.gz
    $ cd player-2.1.1
    $ ./configure
    $ make
    $ make install

Running:

    $ player /usr/local/share/player/config/pioneer.cfg

Install Gazebo 0.8 from SVN head (08.19.08) rev. 6886

Download from SVN head

$ svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk gazebo

Configure, compile and install

$ cd gazebo
$ scons
$ scons install

 

Running Gazebo 0.8

The Gazebo server can be started as follows:

$ gazebo <xmlfile>

where xmlfile is an XML configuration file containing the description of the world and everything in it. Sample world files can be found in the worlds directory of the source distribution, or in the installed version under /usr/local/share/gazebo/worlds/ (default install). For example:

$ gazebo /usr/local/share/gazebo/worlds/pioneer2dx.world

will create a simple world with a single robot. Gazebo will display a window with a view of the simulated world; the camera viewpoint can be changed by dragging the mouse in the window.

Gazebo 0.8 3D robot simulator

 

Player & Gazebo together

The Player device server treats Gazebo in exactly the same way that it treats real robot hardware: as a device that is a source of data and a sink for commands. Users must therefore run Player seperately, and point it at an running instance of Gazebo. Player has a number of specific drivers, such as gz_position and gz_laser that can be used to interact with Gazebo models.

For example, after starting Gazebo as per the above example, run Player like this (first download gazebo_rev6886.cfg):

$ player /path/to/your/ gazebo_rev6886.cfg

Player will output a message indicating that is has connected with the simulator:

libgazebo msg : opening /tmp/gazebo-<username>-default-sim-default

Player and Gazebo 0.8

Users can now interact with the simulated robot exactly as they would a real robot. Try running playerv, for example:

$ playerv --position2d:0

This will pop up the standard Player viewer utility. You should see an outline of the robot and the laser scan. Use the mouse to pan and zoom. You can drive the robot around by selecting the "command" option from the menu, then dragging the little cross hairs to where you want the robot to go. You should see the the robot in the Gazebo window moving at the same time.

See Player for examples of typical Player/Gazebo configurations, and consult the Player manual for information on specific Player drivers.

Model examples

The official tutorial on writting new models is here. However it is not up to date with the current (08.14.08) development snapshot from SVN.

Wheelchair model

The following is the very first release of a wheelchair model for Gazebo 0.8. It has been released for public test without any warranty. Comments are welcome to webmaster@irobotics.org.  It uses Pioneer2DX meshes for visualization and it has not any sensor yet. The main difference between any other mobile robot model and this wheelchair model is the definition of two front caster wheels (not omnidirectional ones). This tries to approach to real wheelchair locomotion behavior.

Download: wheelchair-0.1.tar.gz (unstable)

Wheelchair model Wheelchair model
VLOOKUP_fixed.py 立即下载

相关推荐

YOLO26算法心电图十二导联目标检测+训练好的模型+368张数据集+pyqt可视化界面.zip

附训练好的 YOLO 权重与 PyQt 可视化检测界面,页面底部含可视化效果预览,毕设/课设开箱即用。 【数据集概况】 · 检测类别(中文):[导联I(I), 导联II(II), 导联III(III), 胸导联V1(V1), 胸导联V2(V2), 胸导联V3(V3), 胸导联V4(V4), 胸导联V5(V5), 胸导联V6(V6), 加压肢体导联aVF(aVF), 加压肢体导联aVL(aVL), 加压肢体导联aVR(aVR)] · 训练集:313 张 · 验证集:37 张 · 测试集:18 张 · 总计:368 张 该数据集聚焦于临床心电图信号的精准识别与定位,其核心检测目标为标准12导联心电图中的各个独立导联波形区域,涵盖肢体导联(I、II、III)与加压肢体导联(aVR、aVL、aVF),以及胸前导联(V1至V6),适用于心电图自动分析系统中对各导联位置的快速准确标注与分类。数据采集场景真实还原了医院心电图室或急诊监护环境下的标准心电图记录纸,波形清晰、基线稳定,具有高度临床参考价值。... 【训练曲线与评估图】 【模型训练配置】 参数 | 值 模型 | yolo26n 训练轮数 | 100 epochs 输入尺寸 | 640x640 批次大小 | 24 优化器 | auto 初始学习率 | 0.01 训练设备 【关键指标汇总】 训练了 57 个 epoch,最终轮指标: 指标 | 数值 mAP50 | **0.9708** mAP50-95 | 0.6344 Precision | 0.8990 Recall | 0.9191 train/box_loss | 1.2231 train/cls_loss | 0.9703 val/box_loss | 1.2779 val/cls_loss | 0.... 使用场景:毕业设计、课程设计、深度学习入门、工业场景落地验证。

centos7 安装 colmap 以及 pycolmap

动手安装前需要知道的事: 选择正确的版本很重要,能少走很多弯路; 遇到问题多看官方文档及 github 上的 issue; colmap 需要的依赖大致上有 cmake、boost、gflag、glog、freeimage、ceres以及其它; 本文默认CUDA相关已安装; 本文顺序很关键; 正式开始: 1. Install gcc 需要将gcc、g++升级到高一点的版本,理论上支持 c++ 11 即可,这里我选择 version = 5.4; 2. install cmake &&

weixin_42252533的博客 2204

企业级AI助手平台 开箱即用的全栈AI平台,支持多智能体协同、Supervisor模式编排、多种决策模式、RAG技术和流程编排能力 支持多厂商大模型统一接入与管理,安全可控的企业知识库与高精度检索优化

企业级AI应用开发框架,支持多厂商大模型统一接入与管理,安全可控的企业知识库与高精度检索优化能力,提供可视化流程编排、自主决策智能体与多智能体协同调度,兼容主流 Agent Skill 协议,帮助企业与开发者零门槛快速构建安全、高效、可落地的AI智能体应用与行业解决方案。

centos7 yum安装imageMagic

1.安装依赖. 确保系统已经安装以下包 yum install -y libjpeg* libpng* libtiff* libungif* freetype zlib 2.yum走起 yum install ImageMagick -y

打卤的博客 2716

基于动态窗口法DWA的机器人路径规划研究(Matlab代码实现)

内容概要:本文系统研究了基于动态窗口法(DWA)的机器人局部路径规划算法,深入剖析其在动态环境中实现自主避障与实时轨迹优化的核心机制。文章详细阐述了DWA算法的速度空间采样策略、轨迹预测模型、动力学约束处理及多目标代价函数的设计原理,并通过构建完整的Matlab仿真框架验证算法有效性。结合典型场景的仿真实验,展示了机器人在复杂障碍物环境下如何实时生成安全、平滑且符合运动学约束的最优路径,充分体现了DWA在移动机器人导航中的实用性与鲁棒性。; 适合人群:具备机器人运动规划基础知识和Matlab编程能力,从事智能移动机器人、自动驾驶或服务机器人研发的研究生、科研人员及工程技术人员。; 使用场景及目标:①深入理解DWA算法的理论基础与实现细节;②掌握机器人局部路径规划的仿真实现方法;③为实际机器人系统的导航模块开发提供可复用的算法原型与代码参考;④作为进一步研究高级导航算法(如TEB、MPC)的技术基础。; 阅读建议:建议结合提供的Matlab代码逐模块分析与调试,重点关注速度采样、轨迹积分、障碍物距离计算及代价评估等关键环节,通过调整参数在不同地图环境中进行对比实验,以深刻把握算法性能与参数之间的关系,进而提升对实时路径规划系统设计的理解与应用能力。

Ubuntu中 vsftpd 的安装与配置 (详细介绍)

简介 vsftpd 是一个 UNIX 类操作系统上运行的服务器的名字,它可以运行在诸如 Linux, BSD, Solaris, HP-UX 以及 IRIX 上面。它支持很多其他的 FTP 服务器不支持的特征。 vsftpd是 UNIX 操作系统中的一个开源的、免费的 FTP 服务软件。具有以下特点: 安全性高 轻小易用 支持系统用户匿名用户和虚拟用户的权限验证和相关操作 安装步骤如下: 1.将此命令复制到终端 sudo apt-get install vsftpd 2.安装完成后启动VSFTP

qq_43299421的博客 1万+

FreeImage编译及遇到问题解决

FreeImage编译及遇到问题解决 1、下载freeImage源码包 wget http://downloads.sourceforge.net/freeimage/FreeImage3170.zip #解压 unzip FreeImage3170.zip -d freeImage 2、Linux下编译 编译环境及工具说明 操作系统:Ubuntu 16.04 64位,内核版本4.4.0-31 ...

weixin_34192732的博客 2124

[金仓数据库V8R6]更换授权

上传授权,使用mv license_xxx_0.dat /home/kingbase/KingbaseES/license.dat替换每个授权,并使用ls -l license.dat确保替换前后属主和权限不变。根据步骤1的数据目录位置,执行/home/kingbase/KingbaseES/Server/bin/sys_ctl -D /home/kingbase/KingbaseES/data reload使新的授权文件生效。该参数意义为授权剩余有效天数,查询结果为新授权中有效期间的天数即为替换成功。

l04050924的博客 3707

四大图像库的使用感受:OpenCV/FreeImage/CImg/CxImage

对OpenCV的印象:功能十分的强大,而且支持目前先进的图像处理技术,体系十分完善,操作手册很详细,手册首先给大家补计算机视觉的知识,几乎涵盖了近10年内的主流算法;然后将图像格式和矩阵运算,然后将各个算法的实现函数。我用它来做了一个Harris角点检测器和Canny边缘检测器,总共就花了一个小时(第一次用OpenCV)。而且该库显示图像极其方便,两句话就可以。但该库似乎不大稳定,对32F和16S

bugzhao的专栏 2万+

用Python实现一个简单的远程桌面服务端和客户端

本文介绍了一个基于Python的轻量级远程桌面解决方案,针对商业软件在嵌入式系统上的兼容性问题、性能问题和成本问题。系统采用客户端-服务端架构,包含两个通信通道:5000端口传输压缩视频流,5001端口传输控制事件。通过多线程设计、图像压缩(JPEG+zlib)和网络优化(禁用Nagle算法)等技术手段提高性能。服务端实现了高效的屏幕捕获(使用mss库)、图像处理流水线和事件处理逻辑。客户端采用PyQt5构建UI界面,包含视频接收线程以减少主线程负担。该方案具有跨平台、开源免费、轻量级(核心代码不到500行

Hi20240217的博客 1660

Crossbar RRAM技术解析:从1TnR架构到存储革命

非易失性存储器(NVM)是数据存储的核心技术,其原理基于物理状态的稳定改变以实现数据持久化。阻变存储器(RRAM)作为一种新兴NVM,利用导电细丝在介质层中的形成与断裂实现数据存储,具有高速、低功耗和结构简单的优势。在工程实践中,RRAM面临潜行路径电流等挑战,而Crossbar提出的1TnR架构通过引入共享晶体管有效解决了这一问题,在保证性能的同时提升了集成密度。该技术与CMOS工艺兼容,支持后端集成与多层堆叠,为高密度存储和嵌入式应用提供了新的解决方案。结合当前行业对高能效、高密度存储的需求,RRAM在

weixin_42523104的博客 317

signature=f9a44c10893bda065fb954afcef0221b,dev Digest 4 Dec 2012 21:59:08 -0000 Issue 6886

Author Login • Post Replydev Digest 4 Dec 2012 21:59:08 -0000 Issue 6886Topics (messages 133555 through 133566)CVE-2012-4431 Apache Tomcat Bypass of CSRF prevention filter133555 by: Mark Thomassvn com...

weixin_30649767的博客 7万+

使用 ANSYS 实现铸造、凝固和熔炼的高级解决方案

凭借其强大的有限元分析 (FEA) 和计算流体动力学 (CFD) 功能,ANSYS 可以准确预测模具内的热和流体流动行为。总之,ANSYS 是铸件凝固和熔化领域的关键工具。其全面的仿真功能、工艺优化功能、材料特性分析和用户友好的界面使其成为旨在创新和改进制造工艺的工程师不可或缺的工具。通过利用 ANSYS,各行各业可以在铸造业务中实现更高的质量、效率和成本效益,从而为先进的制造解决方案铺平道路。ANSYS是一款领先的工程仿真软件,提供强大的功能来建模和优化这些复杂的热过程,从而显著提高生产效率和质量。

jkh920184196的博客 2108

centos7安装ImageMagick

centos7安装ImageMagick

足迹人生的博客 2536

大模型选型实战:为OpenClaw匹配最优“大脑”的全维度考量

大模型不是越贵越好,也不是参数越高越好,适合自己的使用场景才是最好的。按照我的方法,先明确自己的需求,再选对应的模型,配置多模型自动路由,既能保证体验,又能最大限度降低成本。我自己用这套配置用了半年多,不管是写文章、写代码还是处理复杂问题,都完全够用,成本也很低,大家可以参考一下。如果不知道选什么模型,可以在评论区说一下你的使用场景。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 343

【软件系统架构】系列六:系统工程

系统工程是一种跨学科方法论,用于分析、设计、集成和管理复杂系统的全生命周期。其核心特点包括系统性思维、全周期管理、跨学科协作和需求导向。主流采用V模型生命周期,涵盖需求分析、系统设计、实现、测试验证及运维退役等阶段。核心工作方法包括需求工程、系统建模、接口设计、风险管理等。系统工程与项目管理协同,分别侧重技术实现和进度资源管理。应用领域覆盖航天军工、智能制造、智慧城市等。未来将向AI融合、数字孪生、模型驱动工程等方向发展,为复杂系统开发提供系统化协作范式。

moton2017的博客 2257

FreeImage使用方法

FreeImage使用方法 一、FreeImage 简介 FreeImage 是一款免费的、开源的、跨平台(Windows 、Linux 和Mac OS X )的,支持20 多种图像类型的(如BMP 、JPEG 、GIF 、PNG 、TIFF 等)图像处理库。其最大优点就是采用插件驱动型架构,具有快速、灵活、简单易用的特点,得到了广泛使用。相关的源码、库文件及帮助文档可以从ht

jiangxinyu的专栏 7940

倍福PLC--PERSISTENT断电保持数据和BOOT中各文件对应的解析

将D:\TC3程序\TwinCAT Project146\TwinCAT RT(x86)\Plc 文件夹的中三个替换文件复制到:G:\TwinCAT\3.1\Boot\Plc完成替换,如下图。(2) 找到程序所存的路径,编程电脑的D:\TC3程序\TwinCAT Project146路径下,并选择对应系统平台TwinCAT RT(x86)(3) 控制器断电,拔出内存卡,使用读卡器,在编程电脑中打开:(本次测试读卡器为G盘)(5) 开机完成后,TwinCAT自动运行,当前闪灯频率为50ms。

weixin_41883890的博客 2340

FreeImage使用

库的核心是FIBITMAP数据结构,里面包含像素和exif等信息。 得到图像格式函数FREE_IMAGE_FORMST fif=FreeImage_GetFileType(filename); 读图像函数FIBITMAP *dib=FreeImage_Load(fif,filename,0); 写图像函数FreeImage_Save(fif,dib,filename,0); 卸载图像函数F...

weixin_30622181的博客 395

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

yum 安装 imageMagick

# 查看ImageMagick yum list ImageMagick* 列出: ImageMagick.i386 6.2.8.0-4.el5_1.1 base ImageMagick-c++.i386 6.2.8.0-4.el5_1.1 ...

Jason 的专栏 2600

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

vue 项目进行直播视频 vue-video-player

vue 项目进行直播视频 最近电商直播非常火,于是接到需求搞搞! 看了很多相关的文章,没看出有啥不同,最后直接采用 vue-video-player 来开发。直播流返回的是m3u8格式的,flv格式的播放不了,可能是我配置问题。然后关于这个插件可以用 flash 。我也没去深究,毕竟谷歌都快放弃flash了。 安装插件 npm install vue-video-player videojs-...

Jioho的博客 6657

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

"export 'default' (imported as '...') was not found in ''..."错误处理

开发中遇到的一个简单问题 却花了我很长时间 //在一个js文件中导出fetch请求方法 import fetch from 'utils/fetch'; export function getCompanyList() { return fetch({ url: '/wx/company/list', method: 'get' }) } //在vue的s...

哈哈hyc的博客 4万+

(Gorails)vuejs系列视频: Webpacker/vue-resource(不再为官方推荐)。

频:https://gorails.com/episodes/using-vuejs-for-nested-forms-part-1?autoplay=1 在嵌套表格上使用vue.js。 在application.html.erb 上<head>内加上:<%= javascript_pack_tag 'hello_vue' %> 如果有style(c...

weixin_30830327的博客 238

macOS配置MAVEN环境变量执行source .bash_profile报错.bash_profile: not valid in this context: /xxx/xxx

macOS执行source命令刷新配置文件.bash_profile报错。 添加环境变量之后,执行source .bash_profile刷新配置文件报错 .bash_profile:export:11: not valid in this context: /Library/JavaDevelopment/apache-maven 通过注释测试发现是下面这句在报错 export MA...

weixin_40984822的博客 1万+

批量删除.svn信息的Windows脚本

rem 循环删除当前目录及子目录下所有的SVN文件。@echo 正在清理SVN文件,请稍候......@echo 清理完毕!

生活在爪洼岛上 183
上一篇: Ubuntu 8.04 安装NVIDIA 驱动 (install NVIDIA driver)
下一篇: MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed问题
鹅鹅
博客等级 码龄19年 70粉丝 53原创
评论 5
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值