Giter Site home page Giter Site logo

why speed command (unit:m/s)mentioned in the carla_ros_bridge? is different from speed command(unit:km/h) mentioned in the carla window about ros-bridge HOT 3 CLOSED

carla-simulator avatar carla-simulator commented on August 20, 2024
why speed command (unit:m/s)mentioned in the carla_ros_bridge? is different from speed command(unit:km/h) mentioned in the carla window

from ros-bridge.

Comments (3)

lgeo3 avatar lgeo3 commented on August 20, 2024

@chengjinjack Thanks for the issue, after discussion on discord with @danil-tolkachev and other ros-bridge user, there seem to be a better way to handle car control than what we are doing right now.
Here are the two direction that we could implement:

  1. Use something like PID controller in ROS bridge in order to control the car using speed command
  2. Use another control message like ThrottleCmd from [1] and shift responsibility for speed control on user side

[1] https://bitbucket.org/DataspeedInc/dbw_mkz_ros/src/a73b98eab07879a850a58b403a4a9e3422d744bd/dbw_mkz_msgs/msg/?at=default

from ros-bridge.

fabianoboril avatar fabianoboril commented on August 20, 2024

Hi,
we updated the code in the master branch, which should address your issue. You can now either use a PID-controller to provide ackermann driving commands, or you can set throttle/brake values directly. Please have a look.

For now, I'll close this issues, as the problem should be resolved.

from ros-bridge.

yangydavid avatar yangydavid commented on August 20, 2024

@fabianoboril Hi Could you elaborate a little more about how to directly set throttle/brake values? Any instructions would be very much appreciated! Thanks!

from ros-bridge.

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.