Coder Social home page Coder Social logo

d-bot-m2m-task-executor's Introduction

d_bot_m2m_task_executor

d-bot m2m task executor ROS package. Queues tasks based on set priorities and executes them.

Usage

Create tasks in code or with ros service "/task_manager/add_task"
Tasks are run based on set ros rate frequency and each task type has a specific code to handle each of the task types.
If there is database setup task executor can connect to it to log actions, database table:"dbot_action_log", and current location, database table:"dbot_location_log", based on odometry.

with service

this service call requires String type message with "task" {"task_type": 12, "priority": 1, "device_id": 106, "location": null, "success"
: false, "error": null, "task_id": null}

with code

Task(ETask.START_WORK_AREA_PROTECTION, taskmanager.task_priority_manager.get_priority(ETask.START_WORK_AREA_PROTECTION))

this creates task with type "START_WORK_AREA_PROTECTION" and gets priority of the task automaticly.

Launched

Lauched as a part of d-bot-m2m-launcher roslauch d_bot_m2m_task_executor task_manager.py

Localization

if task requires fetching data from device with it's own coordinate system it needs to be converted in to dbots own coordinates.

Localization currently needs devices coordinates systems start points location. This needs to be measured with d-bots map made with point cloud. To this device location is added devices own coordinate values in meters to get localized point for interaction.

d-bot-m2m-task-executor's People

Contributors

nklapp 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.