Code Monkey home page Code Monkey logo

vesc's Introduction

MuSHR VESC

(Derived from MIT VESC)

Contains the code for interfacing with the VESC hardware.

Packages:

  • vesc: Metapackage
  • vesc_ackermann: Code for converting from Ackermann messages to VESC interpretable messages. Also has code for converting vesc responses to odometry.
  • vesc_driver: Code for sending messages to the VESC device file.
  • vesc_main: Launch files for the vesc code.
  • vesc_msgs: Contains only messages related to the VESC.

API

For adjusting params see vesc_main/config/.

Publishers

Note, some topics are omitted because they are only published and subscribed to within the vesc. For more info rosnode list.

Topic Type Description
/vesc/sensors/core vesc_msgs/VescStateStamped Barebones motor command
/vesc/sensors/servo_position_command std_msgs/Float64 Barebones steering command
/vesc/odom nav_msgs/Odometry Odometry from motion model

Subscribers

Topic Type Description
/mux/ackermann_cmd_mux/output ackermann_msgs/AckermannDriveStamped Output from mux to be converted to direct controls

vesc's People

Contributors

brentyi avatar darsor avatar gilwoolee avatar mboulet avatar rockettm avatar schmittlema avatar yoneken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vesc's Issues

Throttle Interpolator Clock Jitter

The throttle interpolator node (vesc/vesc_driver/src/throttle_interpolator.py) attempts to smooth out motor commands in order to produce less jerky motions. However, the rate of increase or decrease when performing the interpolation is dependent upon a ROS timer. Jitter in this timer can significantly affect how quickly the motor commands reach the set point.

A way to reproduce this is to send a single teleop motor command, and then view the series of non-zero commands that the throttle interpolator publishes. If you repeat this with the same single motor command, you will likely see that the resulting series of published commands from the throttle interpolator is not the same.

controlling

hello
i clone all files and all but when i run the mushr that time when i press forward then the wheel turn backward and then i press left so it does not work. i use keyboard buttons. so now what should i do?

VESC Speed Limit Params Control Opposite Limit

@romesco pointed out that vesc_driver/speed_min set in vesc/vesc_main/config/racecar_uw_nano/vesc.yaml limits how fast the car can move backwards, although it may be more intuitive for it to limit how fast it can move forwards. Similarly, vesc_driver/speed_max limits how fast the car can move backwards, but it might be more intuitive for it to control how fast it moves forwards. I believe that this mismatch is caused by the fact that the speed_to_erpm_gain is negative.

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.