Giter Club home page Giter Club logo

turtlebot2-on-noetic's Introduction

turtlebot2-on-noetic

  • My installing procedure about turtlebot2 on neotic (ubuntu 20.04 focal)

Kobuki

  • You need to install this first.

Procedure

# create workspace
mkdir ./kobuki_ws/src/ -p
cd ./kobuki_ws/src/

# clone some source code
sh ./kobuki.sh

# make
cd ../
catkin_make

# source
source ./devel/setup.bash

Tips

  • Only clone the yujinrobot/kobuki repo and catkin_make it will generate Could not find a package configuration file provided by "kobuki_msgs", so add yujinrobot/kobuki_msgs.
  • Then error messages turn to Could not find a package configuration file provided by "yocs_controllers", with referenced from install_basic.sh, it needs to clone yujinrobot/yujin_ocs.
  • Same, Could not find a package configuration file provided by "kobuki_dock_drive", add yujinrobot/kobuki_core.
  • Same, Could not find a package configuration file provided by "ecl_mobile_robot", with referenced from kobuki_core.rosinstall, add stonier/ecl_*.
  • Finally, source ./devel/setup.bash and finish.

Turtlebot2

All turtlebot packages are fully stable on ROS Melodic so if you want to have those in a Noetic Distribution you may want to clone all the repositories in you catkin workspace and compile them in you enviroment. If you install all needed dependencies you should not have any problem since, generally speaking, any package stable in Melodic is likely to work properly under Noetic.

Procedure

# create workspaces
mkdir ./turtlebot2_ws/src/ -p
cd ./turtlebot2_ws/src/

# setup envroinment of mkbuki
source <xxx>/kobuki_ws/devel/setup.bash

# clone some source code
sh ./turtlebot2.sh

# make
cd ..
catkin_make

# source
source ./devel/setup.bash

Tips

  • These procedures are almost same with https://github.com/gaunthan/Turtlebot2-On-Melodic.
  • If kobuki is not be installed first, it will generate some errors: Could not find a package configuration file provided by "kobuki_driver".
  • turtlebot/turtlebot_viz install rviz for turtlebot_rviz_launchers.

Work with turtlebot2

Bring Up

roslaunch turtlebot_bringup minimal.launch

Control by KeyBoard

roslaunch turtlebot_teleop keyboard_teleop.launch

Work with rviz

roslaunch turtlebot_rviz_launchers view_robot.launch

Some problem

  1. Kobuki : device does not (yet) available, is the usb connected?.

Then do the obvious – make sure kobuki is turned on (leds should be active on the kobuki) and the cable is plugged in. If you are sure about both of these, check to see that your system has had the udev rule applied for /dev/kobuki

ls -n /dev | grep kobuki # nothing
rosrun kobuki_ftdi create_udev_rules
ls -n /dev | grep kobuki # has one
  1. Other see turtlebot移动机器人(05):turtlebot-Kobuki和Kinect

References

turtlebot2-on-noetic's People

Contributors

aoi-hosizora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.