Coder Social home page Coder Social logo

robottime / diff_wheel_agv Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 14.0 13.56 MB

two wheel differential agv control、lidar slam、lidar navigation、QR code detection、 QR code location、QR code waypoint move

License: MIT License

CMake 49.67% Python 50.33%

diff_wheel_agv's Introduction

diff_wheel_agv

two wheel differential agv control、lidar slam、lidar navigation、QR code detection、 QR code location、QR code waypoint move

agv_bringup

启动小车和rviz软件并使用键盘控制小车移动

  roslaunch agv_bringup agv_robot.launch  rviz:=true
  rosrun teleop_twist_keyboard teleop_twist_keyboard.py

如果远端启动小车,默认rviz关闭

  roslaunch agv_bringup agv_robot.launch
  rosrun teleop_twist_keyboard teleop_twist_keyboard.py

agv_slam

构建地图并保存

  roslaunch agv_bringup agv_robot.launch  rviz:=true
  rosrun teleop_twist_keyboard teleop_twist_keyboard.py
  roslaunch agv_slam agv_slam.launch

使用键盘遥控器遥控小车在整个环境中往返移动,直至生成的地图完整、准确,保存地图到导航包路径下

  cd **/agv_navigation/maps
  rosrun map_server map_saver -f ./map

agv_navigation

  roslaunch agv_bringup agv_robot.launch  rviz:=true
  rosrun teleop_twist_keyboard teleop_twist_keyboard.py
  roslaunch agv_navigation agv_navigation.launch

设置“Fixed Frame”为Map 使用rviz工具栏提供的"2D Pose Estimate"工具指定小车当前位置与方向 如果amcl pose array(红色小箭头)不集中,适当的旋转或移动小车使其集中 使用rviz工具栏提供的"2D Nav Goal"工具指定小车目标位置与方向

错误解决
请确保电脑内装有以下几个Ros包:

  1. ros-melodic-gmapping
  2. ros-melodic-move-base
  3. ros-melodic-amcl
  4. ros-melodic-navigation

agv

agv_camera

agv底盘车底部中心位置装有一枚向下的usb摄像头用以拍摄地面上apriltag二维码,该程序包可以单独启动,在该项目中用在“agv_navigation_qr”中

agv_navigation_qr

使用二维码定位,控制小车按固定路线行驶,路线定义在”agv_navigation_qr/scripts/autonav.py“Line 35,如下图所示
waypoint

qr_navigation

错误解决
not find qr_locate,该程序包位于https://github.com/robottime/qr_locate

diff_wheel_agv's People

Contributors

maplehan avatar

Stargazers

yoda_yuuk7i avatar saehan Lee/SLAM in the hazardous environments avatar  avatar adam avatar whale avatar  avatar kelvin avatar  avatar  avatar  avatar 赵嘉成 avatar  avatar  avatar xiaoju avatar  avatar  avatar Vien.Beos avatar  avatar  avatar Tayfun Kuşçu avatar 天宇 avatar  avatar  avatar  avatar YYX avatar NA95 avatar  avatar  avatar Thedush avatar  avatar Benoni Jiang avatar

Watchers

James Cloos avatar  avatar  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.