Coder Social home page Coder Social logo

devanshdhrafani / diff_drive_bot Goto Github PK

View Code? Open in Web Editor NEW
59.0 5.0 22.0 14.54 MB

ROS package for implementing slam_gmapping and ROS navigation stack on a custom 2 Wheeled Differential Drive robot.

CMake 56.39% Python 43.61%
ros slam slam-gmapping autonomous-robots navigation localization mapping

diff_drive_bot's Issues

missing some dependencies

sudo apt install ros-melodic-turtlebot3-gazebo
sudo apt-get install ros-melodic-amcl
sudo apt install ros-melodic-move-base

Scan Matching Failed, using odometry

Hi, I am new to ROS so this might be a small issue. I followed your instructions on running your code, but it sees like I am getting an error in odometry. I am getting the following error when I am launching the gmapping launch file and move the robot using teleop keyboard. I can only see the robot moving in RViz correctly but the map is not being generated.

Scan Matching Failed, using odometry. Likelihood=0 lp:-5.23433 3.03561 2.36259 op:-5.55515 3.41028 2.32294 Scan Matching Failed, using odometry. Likelihood=0 lp:-5.23433 3.03561 2.36259 op:-5.55515 3.41028 2.32294 Scan Matching Failed, using odometry. Likelihood=0 lp:-5.23433 3.03561 2.36259 op:-5.55515 3.41028 2.32294

For context I am using
Linux, Ubuntu 18.04 in VMware workstation
ROS version - Melodic

I got the following warnings when I launched gazebo

[ WARN] [1619782997.277450972, 0.001000000]: DiffDrive(ns = //): missing <rosDebugLevel> default is na [ INFO] [1619782997.278184061, 0.001000000]: DiffDrive(ns = //): <tf_prefix> = [ WARN] [1619782997.278362064, 0.001000000]: DiffDrive(ns = //): missing <publishWheelTF> default is false [ WARN] [1619782997.278543640, 0.001000000]: DiffDrive(ns = //): missing <publishOdomTF> default is true [ WARN] [1619782997.278720111, 0.001000000]: DiffDrive(ns = //): missing <publishWheelJointState> default is false [ WARN] [1619782997.278876191, 0.001000000]: DiffDrive(ns = //): missing <wheelAcceleration> default is 0 [ WARN] [1619782997.278982939, 0.001000000]: DiffDrive(ns = //): missing <wheelTorque> default is 5 [ WARN] [1619782997.279142032, 0.001000000]: DiffDrive(ns = //): missing <odometrySource> default is 1 [ WARN] [1619782997.279290997, 0.001000000]: GazeboRosDiffDrive Plugin (ns = ) missing <publishTf>, defaults to 1
and the following waring when I launched gmapping

[ WARN] [1619784434.386338514]: The root link chassis has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.

I did not get any warnings when I launched the teleop

I have made sure that I sourced the workspace before running the launch file.

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.