Giter Club home page Giter Club logo

rosrobotcontrol's Introduction

ROSRomeoNode

This is an Arduino proejct for a DFRobot Romeo that implements a ROS Node using rosserial_arduino to publish encoder and sensor values and subscribe to desired motor speeds.

Node API

This node uses motor control commands to set the speeds of two motors. In addition, it monitors encoders for the two motors and published their counts and rates.

To prevent a ROS node crash or communication problem from causing a runaway robot, the node will stop the robot if no new motor command is received within a timeout threshold.

Published Topics

lwheel (Int16)

Left wheel encoder value

rwheel (Int16)

Right wheel encoder value

lwheel_velocity (Float32)

Left wheel speed in meters per second.

rwheel_velocity (Float32)

Right wheel speed in encoder ticks per second.

Subscribed Topics

lwheel_vtarget (Float32)

Left wheel target speed in meters per second.

rwheel_vtarget (Float32)

Right wheel target speed in meters per second.

Parameters

ticks_meter (Int16, default 50)

The number of encoder ticks per meter. A global parameter since it will be used by more than one node.

~control_rate (Int16, default 50)

The rate at which the motors are updated, in Hz.

~vtarget_timeout (Float32, default 2.0)

Maximum time, in seconds, from the last velocity target command. If no command is received within this timeout, the node assumes the controller node has crashed, and sets the motor speeds to zero.

Kp (Float32, default 1.0)

Proportional control parameter.

Ki (Float32, default 0.0)

Integral control parameter.

Kd (Float32, default 0.0)

Derivative control parameter.

rosrobotcontrol's People

Contributors

merose avatar

Watchers

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