Giter Site home page Giter Site logo

fame-ros's Introduction

fame_engine

The fame_engine is a package that integrates the bpmn-engine in a ROS node. The package defines:

  • The splitter node is in charge of getting a BPMN collaboration, create single models for each participant and share them with the related robots.
  • The engine node can be deployed into each robot and is able to receive a process and execute it.

System launch

The launch file executed in a real robot looks like:

...

def generate_launch_description():
    use_sim_time = LaunchConfiguration('use_sim_time', default='false')
    share_directory = get_package_share_directory('fame_engine')
    # set the path of your nodejs start file
    start_js_file = os.path.join(
        share_directory,
        'dist',
        'controller.js')

    start_robot_engine_node = Node(
        name='engine_node',
        executable='node',
        output='screen',
        namespace='ROBOT_NAME',
        parameters=[{'use_sim_time': use_sim_time}],
        arguments=[
            start_js_file
        ],
        cwd=share_directory)

    ld = LaunchDescription()
    ld.add_action(start_robot_engine_node)

    return ld

Package initialization:

cd fame_engine
colcon build
source install/setup.bash

Node execution:

ros2 launch fame_engine <file_name>.py

fame-ros's People

Contributors

sarapettinari avatar dependabot[bot] avatar

Stargazers

Pål Edman 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.