GithubHelp home page GithubHelp logo

pvandervelde / zinger_controller_test_nodes Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 70 KB

Contains test nodes to verify that the ROS2 controllers for tblaze are working

License: Apache License 2.0

Python 100.00%

zinger_controller_test_nodes's Introduction

zinger_controller_test_nodes

This package contains test nodes to verify that the ROS2 controllers for zinger are working. There are test nodes for:

  • The steering controllers for all four wheels of the zinger robot: steering_controller.py. This verifies that the steering angle for the four drive modules can be changed.
  • The drive controller for all four wheels of the zinger robot: drive_controller.py. This verifies that the wheel rotation speed for the four drive modules can be changed.

Dependencies

The configurations in this repository assume you have the following prerequisites installed on the device on which you want to run this code. That device might be an Ubuntu machine or a physical robot using Raspberry Pi OS.

  • zinger_description - Contains the geometric description of the zinger robot for ROS to work with.

Contents

This repository contains different folders for the different parts of the robot description.

  • The config files that provide the configurations for the ROS control actuators and the test publishers
  • The launch directory contains the launch files
  • The source code for the controllers can be found in the zinger_controller_test_nodes directory
    • The steering_controller.py defines a ROS2 controller that controls the steering angle of the drive modules using the JointGroupPositionController.
    • The drive_controller.py defines a ROS2 controller that controls the wheel rotation velocity of the drive modules using the JointGroupVelocityController.

Usage

To start the steering controller use the following command line

ros2 launch zinger_controller_test_nodes steering_controller.launch.py

To start the drive controller use the following command line

ros2 launch zinger_controller_test_nodes drive_controller.launch.py

When simulating the zinger robot in Gazebo add the use_sim_time:=true parameter to the command lines.

zinger_controller_test_nodes's People

Contributors

pvandervelde avatar

Stargazers

Kim Seong Hyeon avatar

Watchers

 avatar James Cloos avatar  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.