Giter Site home page Giter Site logo

fibo-engineer / ackermann_drive_teleop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gkouros/ackermann-drive-teleop

0.0 0.0 0.0 16 KB

ROS keyboard and joystick teleoperation scripts for robots with ackermann steering

License: GNU Lesser General Public License v3.0

Python 95.20% CMake 4.80%

ackermann_drive_teleop's Introduction

ackermann_drive_teleop

ROS teleoperation scripts for robots with ackermann steering

ackermann_drive_keyop
  • Run the teleoperation script, with
    rosrun ackermann_drive_teleop keyop.py
  • You can set max speed, steering angle and command topic by giving them as arguments, when running the script.
    eg.1 rosrun ackermann_drive_teleop keyop.py 0.5
           -> max_speed=max_steering_angle=0.5, command_topic=/ackermann_cmd
    eg.2 rosrun ackermann_drive_teleop keyop.py 0.5 0.8
           -> max_speed=0.5, max_steering_angle=0.8, command_topic=/ackermann_cmd
    eg.3 rosrun ackermann_drive_teleop keyop.py 0.5 0.8 ack_cmd
           -> max=speed=0.5, max_steering_angle=0.8, command_topic=/ack_cmd
  • Use the "up", "down" arrow keys to control speed, "left" and "right" arrow keys to control the steering angle,
    space to brake and tab to reset the steering angle.
ackermann_drive_joyop
  • Run the teleoperation script, as well as the joy node using the following command:
    roslaunch ackermann_drive_teleop ackermann_drive_joyop.launch
  • You can set max speed and steering angle, by giving them as arguments to the launcher.
    eg. roslaunch ackermann_drive_teleop ackermann_drive_joyop.launch max_speed:=0.5 max_angle:=0.8
  • In order to use a joystick, it must have read and write permissions.
    You can grant such permissions by executing the following command: sudo chmod a+rw /dev/input/js0

ackermann_drive_teleop's People

Contributors

gkouros avatar vinnnyr avatar antoniocoratelli avatar rfzeg 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.