GithubHelp home page GithubHelp logo

Comments (6)

sonyccd avatar sonyccd commented on August 21, 2024

Wooooooo your PID was set to 0 ?! And you did not have the encoder hooked up?

from roboclaw_ros.

ozgurerbulan avatar ozgurerbulan commented on August 21, 2024

Yep, I was trying to connections without any move. So I thought 0 pid gives no motion. What do you think, what was wrong?

from roboclaw_ros.

sonyccd avatar sonyccd commented on August 21, 2024

You have several problems:

  1. You have to have the encoders hooked up or the roboclaw has no way to know how fast the wheels are spinning. For the ROS driver to work that is needed.
  2. PID does not work that way, read this for more information. PID
  3. YOU MUST tune the PID loop using the software as I stated in the README for the ROS code to work or things like you described will happen.

from roboclaw_ros.

ozgurerbulan avatar ozgurerbulan commented on August 21, 2024

I know how PID works. What do you expect when you give zero to P I D coefficients? Well, I expect no motion. As I said before, I set that parameters to zero for not to damage controller in the first launch.

from roboclaw_ros.

sonyccd avatar sonyccd commented on August 21, 2024

The ROS driver does not do anything but set speeds for the roboclaw controller to meet. If it is not properly configured it will not work. This means you must have the encoders attached. Also if you are just testing I would recommend to disconnect the motors from the power terminals and measure the voltage to see if things are operating properly.

from roboclaw_ros.

harryman1 avatar harryman1 commented on August 21, 2024

agreed with Sonyccd, I have tested with all the proper connections to the encoders and setup the right values on the Windows application provided by ionmc, when you setup the correct values ans test the node it does work.

I had followed all the recommendations and also did an auto tune (and have PID values ), but in my case I did setup and test with low revolutions and thermo fused connections to the motors

the node work very well and does not burn your motor controller :), the only issue is the odom data

but it works :)

from roboclaw_ros.

Related Issues (20)

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.