Giter Site home page Giter Site logo

Comments (6)

fabianoboril avatar fabianoboril commented on July 19, 2024

Hi,
deactivate sending control msgs in the manual_control client, and then it works ;-)
(Line 262 in https://github.com/carla-simulator/carla/blob/master/PythonAPI/manual_control.py)

from ros-bridge.

yangydavid avatar yangydavid commented on July 19, 2024

@fabianoboril Hi, I just tried what you suggested, it does disable the keyboard but the control command is still not working. Any hints on how to solve it? Thanks!
An interesting observation: if I send an unreasonably high steering angle, the ros bridge indicates an error: [ERROR] [1547232927.476727, 708.026874]: Max steering angle reached, clipping value
This means that the bridge is accepting the command, but they just don't have any effect on the vehicle.

from ros-bridge.

fabianoboril avatar fabianoboril commented on July 19, 2024

Hi,
are you publishing the ackermann msg as described in the README, i.e.
rostopic pub /carla/ego_vehicle/ackermann_cmd ackermann_msgs/AckermannDrive "{steering_angle: 0.0, steering_angle_velocity: 0.0, speed: 10, acceleration: 0.0, jerk: 0.0}" -r 10

Do you use the rosbridge with the PID controller mode, or with throttle/brake input mode? (See https://github.com/carla-simulator/ros-bridge/blob/master/config/settings.yaml --> controlmode)?

Can you provide the data published via the ego_vehicle_control_info topic? Thank you.

from ros-bridge.

fabianoboril avatar fabianoboril commented on July 19, 2024

Hi,
and maybe try PR #31 ;-)

from ros-bridge.

yangydavid avatar yangydavid commented on July 19, 2024

The PR helped. Thanks

from ros-bridge.

ruixuanz avatar ruixuanz commented on July 19, 2024

I can't find the solution to #31 Could you send me a screenshot of it because I encountered the same problem which is there is no control of the ego_vehicle after type in the Ackermann_control command.

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.