Giter Site home page Giter Site logo

Comments (5)

ipa-nhg avatar ipa-nhg commented on September 27, 2024 1

Some pointers from me:
Input files: https://github.com/rosin-project/rosin-experiments/tree/master/metacontrol_models_experiment/MoveBaseConfigurations (all the .rossystem files)

If we check a concrete example file (f1_v1_r1.rossystem):

RosSystem { Name '**f1_v1_r1**'  RosComponents (
    ComponentInterface { name move_base NameSpace 'move_base'
        RosParameters{
            RosParameter 'controller_frequency' { RefParameter 'move_base.move_base.move_base.controller_frequency' value 15},
            RosParameter 'max_vel_x' { RefParameter 'move_base.move_base.move_base.max_vel_x' value 0.3},
            RosParameter 'inflation_radius' { RefParameter 'move_base.move_base.move_base.inflation_radius' value 0.3}
    }})
    Parameters {
        Parameter { name **qa_safety** type Double value **0.0**},
        Parameter { name **qa_energy** type Double value **0.0**}}
    }

We need to extract only the information marked with '**' and use this information to replace the variables "name_of_RosSystem" , "name_of_RosSystem_param_name" and the 0.5 of Carlos's Skeleton code: https://github.com/rosin-project/mros1_reasoner/blob/rosmodel2owl/mros1_reasoner/scripts/rosmodel2owl.py#L36-L42

If I understood correctly, from the 27 rossystem files we will obtain a single owl file.

I will meet @ipa-hsd at 13:30 to clarify if his parser code: https://github.com/ipa-hsd/rosgraph_monitor/blob/observers/src/rosgraph_monitor/parser.py can be used for this purpose

from mc_mros_reasoner.

chcorbato avatar chcorbato commented on September 27, 2024

If I understood correctly, from the 27 rossystem files we will obtain a single owl file.

That is right!

from mc_mros_reasoner.

ipa-hsd avatar ipa-hsd commented on September 27, 2024

Had a meeting with @ipa-nhg and she explained me what to do. I will come up with a script. @chcorbato probably we can sync later today for changes.

from mc_mros_reasoner.

chcorbato avatar chcorbato commented on September 27, 2024

Had a meeting with @ipa-nhg and she explained me what to do. I will come up with a script. @chcorbato probably we can sync later today for changes.

Perfect!
@ipa-hsd I'm fully available, just let me know what works better for you to sync (here, hangouts, jitsi, skype...)

from mc_mros_reasoner.

chcorbato avatar chcorbato commented on September 27, 2024

The transformation is running in 31def16, so I close this one.

from mc_mros_reasoner.

Related Issues (20)

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.