Coder Social home page Coder Social logo

robotino2-ros2-node's Introduction

Robotino 2 node

ROS2 node for Festo Robotino 2.

Implementation

This package doesn't use OpenRobotinoAPI because it is only for x86 application in Windows.

Robotino communication protocol is defined with little "reverse engineering". Communication between OpenRobotnioAPI and Robotino was analyzed using Wireshark. Structure of TCP payload of input and output packages was defined with matching TCP payload content and public header of OpenRobotinoAPI. Searched information is in SensorState.h and SetState.h (/include/rec/iocontrol/remotestate) in toQDSAProtocol and fromQDSAProtocol methods.

TCP payload of start package (it begins communication with Robotino 2) was hardcoded in following bytes: 0x02, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00.

Simple TCP client was implemented using Boost library.

Node description

Node parameters:

  • ip – IP-address of Robotino2. Default: 172.26.1.0
  • port – port of Robotino2. Default: 80
  • sample_period – sample period of node process (ms). Default: 20 ms

Subscribed topics:

  • /robotino2/cmd_vel – set robot speeds
  • /robotino2/cmd_mot_vel – set robot motor velocities

Published topics:

  • /robotino2/bumper – bumper state (false/true)
  • /robotino2/motor_state – state of motors: name, position, velocity, current
  • /robotino2/joint_state – state of joints (wheels): name, position and velocity
  • /robotino2/ir – state of distance sensors: type, field of view, minimum and maximum ranges, current range

Services:

  • /robotino2/reset_pos – reset motor positions

Dependencies

robotino2-ros2-node's People

Contributors

broleg5 avatar

Stargazers

 avatar

Watchers

 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.