Giter Site home page Giter Site logo

Comments (5)

daohu527 avatar daohu527 commented on September 27, 2024

I assume you want to control the vehicle via commands?

canbus

There is already a tool modules/canbus/tools/teleop.cc, which send control commands directly to the vehicle chassis through the keyboard.

It can meet your requirements, but it is usually used for chassis testing, if you want to use it for testing, pay attention to safety

from apollo.

BlueHeart6 avatar BlueHeart6 commented on September 27, 2024

请问这个工具该怎么使用呢

from apollo.

BlueHeart6 avatar BlueHeart6 commented on September 27, 2024

teleop.cc中的
control_command_.set_reset_model(false);
control_command_.set_driving_mode(Chassis::COMPLETE_MANUAL); 这两个函数在编译时会提示已经不再使用

from apollo.

BlueHeart6 avatar BlueHeart6 commented on September 27, 2024

driving_mode: COMPLETE_AUTO_DRIVE 我现在可以通过teleop发送控制信息 但是canbus的输出里面还是自动驾驶模式 我也无法控制汽车

from apollo.

daohu527 avatar daohu527 commented on September 27, 2024

Normally you can only control the car in autonomous mode. The vehicle does not know whether your command is from the autonomous driving system or from teleop.

Therefore, you need to enter the automatic driving mode first, and then send commands. Some vehicles have requirements for entering automatic driving. You can check

from apollo.

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.