Coder Social home page Coder Social logo

matrix's Introduction

matrix ros 驱动使用说明

1. 工程编译

1.1. 进入ros_ws文件夹执行catkin_make命令,如下

cd ros_ws/
catkin_make

1.2. 编译成功后执行命令

catkin_make install

1.3. 使用rosmsg和rostopic命令可以查看输出的信息,如果对这两个命令,请点击http://wiki.ros.org/kinetic/Installation/Ubuntu 自行查找。

1.4. 将matrix节点加入默认路径参数

source devel/setup.bash

1.5. 执行上述命令完成后即可运行matrix ros驱动程序

roslaunch matrix matrix.launch

2. RViz查看输出信息

2.1. 查看image信息

2.1.1. 打开rviz,命令如下

rviz

2.1.2. 在rviz主界面左侧Displays框下侧点击‘add’按钮,弹出框中选中‘image’条目,点击确定。展开Displays框中的image条目,在image topic中选择/matrix相关的条目,一般fullimageN 为出现图像的条目。

2.2. 查看障碍物信息

2.2.1. 打开rviz,命令如下

rviz

2.2.2. 在rviz主界面左侧Displays框下侧点击'add'按钮,弹出框中选中'MarkerArray'条目,点击确定。展开Displays框中的MarkerArray条目,在Marker Topic中选择/matrix/objs,在Global options中的Fix frame中填入velodyne即可 2.2.3. 将摄像头朝向障碍物方向,在有障碍物出现的时候会在rviz界面中间出现绿色的方块。

注意

  1. 本示例适用于matrix 1.6, 1.7, mono 1-4路的输出,暂未支持多个IP的情况。
  2. 示例中的matrix设备的IP默认为192.168.1.10,请确认板子IP。
  3. 运行本示例需要 ros环境,ros环境搭建请查看http://wiki.ros.org/kinetic/Installation/Ubuntu

matrix's People

Contributors

suprock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.