Giter Club home page Giter Club logo

restful_fleet's Introduction

RESTFUL FLEET MANAGER

About

restful fleet is a fleet manager package for RMF. The implementation of this package is largely based on free fleet. free fleet uses DDS as its middleware to communicate between the server and client. However, it can be cumbersome to allow DDS packets to be transferred across the Wide Area Network. Threfore the middleware implementation of restful fleet is using restful http requests.

Installation

cd <ws_path>/src
git clone https://github.com/Capstone-S13/restful_fleet.git
cd <ws_path>
colcon build --symlink-install

Running Restful Fleet

Before running the restful fleet client, be sure to run your robot's navigation stack with its movebase server.

cd <ws_path>
source install/setup.bash
rosrun restful_fleet_client main.py

For Developers

There are four main classes in the restful fleet package.

  • Server
  • ServerNode
  • Client
  • ClientNode

Server and Client

The middleware specific components and methods are encapsulated within the Server and Client classes. In the case of restful fleet this refers to the flask app and the methods for making restful requests.

ServerNode

The ServerNode contains the ROS publishers, subscribers to publish and subscribe relevant information to and from the fleet adapter. The most basic function of the ServerNode is to publish it's fleet's robot_state into thefleet states topic and relay the path request and mode request to the robot client.

ServerNode and ClientNode

Likewise, the ServerNode contains ROS specific classes and callback functions. The ClientNode contains the publishers, subscribers, action client, action servers required determin the robot's state as well as to command the robot to carry out necessary tasks.

Future Improvements

  • Multi client discovery.
  • ROS2 version of restful fleet client
  • More efficient method of calling map service

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.