Skip to content

Commit

Permalink
Merge pull request #86 from IntEL4CoRo/dynamic-params
Browse files Browse the repository at this point in the history
Dynamic params
  • Loading branch information
sunava authored Sep 10, 2024
2 parents e4305f7 + a957873 commit 9d7cc00
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 29 deletions.
69 changes: 41 additions & 28 deletions content/page/labs/Action Cores/buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
{
"name": "PR2",
"value": "pr2",
"img": "https://intel4coro.github.io/coai-vib/img/pr2_urdf_white1.png",
"knowledge_bases": "https://data.open-ease.org/QA?neem_id=6526790ced1a1bfc415a1d38&q=findall%28%5BDuration%2C%20Evt%5D%2C%0A%20%20%28%20%20event_interval%28Evt%2C%20Begin%2C%20End%29%2C%0A%20%20%20%20%20number%28End%29%2C%0A%20%20%20%20%20Duration%20is%20End%20-%20Begin%0A%20%20%29%2C%0A%20%20Durations%29%2C%0Amax_member%28%5BMaxDuration%2C%20LongestEvt%5D%2C%20Durations%29"
},
"img": "https://intel4coro.github.io/coai-vib/img/pr2_urdf_white1.png"
},
{
"name": "ARMAR-6",
"value": "armar6",
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/A6_cropped_hq_fixed_tablet4_rdax_1200x2048.png?raw=true"
},
{
},
{
"name": "Tiago",
"value": "tiago",
"img": "https://intel4coro.github.io/coai-vib/img/tiago_urdf_white1.png"
Expand All @@ -29,11 +28,12 @@
"name": "Justin",
"value": "justin",
"img": "https://github.com/sunava/pycram/blob/07f83024258983131934ee3f8a4acaa32d1ffc46/demos/pycram_virtual_building_demos/img/justin.png?raw=true"
},
},
{
"name": "Stretch",
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/stretch.png?raw=true",
"value": "stretch"
"value": "stretch",
"knowledge_bases": "https://data.open-ease.org/QA?neem_id=6526790ced1a1bfc415a1d38&q=findall%28%5BDuration%2C%20Evt%5D%2C%0A%20%20%28%20%20event_interval%28Evt%2C%20Begin%2C%20End%29%2C%0A%20%20%20%20%20number%28End%29%2C%0A%20%20%20%20%20Duration%20is%20End%20-%20Begin%0A%20%20%29%2C%0A%20%20Durations%29%2C%0Amax_member%28%5BMaxDuration%2C%20LongestEvt%5D%2C%20Durations%29"
},
{
"name": "Donbot",
Expand All @@ -43,24 +43,26 @@
{
"name": "HSRB",
"value": "hsr",
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/hsr.png?raw=true"
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/hsr.png?raw=true",
"knowledge_bases": "https://data.open-ease.org/QA?neem_id=6526790ced1a1bfc415a1d38&q=findall%28%5BDuration%2C%20Evt%5D%2C%0A%20%20%28%20%20event_interval%28Evt%2C%20Begin%2C%20End%29%2C%0A%20%20%20%20%20number%28End%29%2C%0A%20%20%20%20%20Duration%20is%20End%20-%20Begin%0A%20%20%29%2C%0A%20%20Durations%29%2C%0Amax_member%28%5BMaxDuration%2C%20LongestEvt%5D%2C%20Durations%29"
},
{
"name": "iCuB",
"value": "icub",
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/icub.png?raw=true"
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/icub.png?raw=true",
"knowledge_bases": "https://data.open-ease.org/QA?neem_id=6526790ced1a1bfc415a1d38&q=findall%28%5BDuration%2C%20Evt%5D%2C%0A%20%20%28%20%20event_interval%28Evt%2C%20Begin%2C%20End%29%2C%0A%20%20%20%20%20number%28End%29%2C%0A%20%20%20%20%20Duration%20is%20End%20-%20Begin%0A%20%20%29%2C%0A%20%20Durations%29%2C%0Amax_member%28%5BMaxDuration%2C%20LongestEvt%5D%2C%20Durations%29"
},
{
"name": "Multi-Agent",
"value": "multiagent",
"img": "https://github.com/sunava/pycram/blob/binder-robot-manipulation-actions/demos/pycram_virtual_building_demos/img/MultiAgent_pr2_tiago.png?raw=true"
}
}

],
"tasks": [
{
"name": "Please Select an Action",
"value": "navigate",
"value": "navigating",
"img": "https://github.com/sunava/pycram/blob/binder-all-robots/demos/pycram_virtual_building_demos/img/tra.png?raw=true"
},

Expand Down Expand Up @@ -98,24 +100,35 @@
"robots",
"tasks"
],
"available": {
"environments=apartment|robots=pr2|tasks=navigate": "google.de",
"environments=apartment|robots=armar6|tasks=navigate": "google.de",
"environments=apartment|robots=tiago|tasks=navigate": "google.de",
"environments=apartment|robots=justin|tasks=navigate": "google.de",
"environments=apartment|robots=stretch|tasks=navigate": "google.de",
"environments=apartment|robots=donbot|tasks=navigate": "google.de",
"environments=apartment|robots=hsr|tasks=navigate": "google.de",
"environments=apartment|robots=icub|tasks=navigate": "google.de",
"environments=apartment|robots=multiagent|tasks=navigate": "google.de",
"environments=apartment|robots=pr2|tasks=transporting": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"environments=apartment|robots=tiago|tasks=transporting": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"environments=apartment|robots=donbot|tasks=transporting": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"environments=apartment|robots=justin|tasks=transporting": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"available": {
"environments=apartment|robots=pr2|tasks=navigating": "",
"environments=apartment|robots=armar6|tasks=navigating": "",
"environments=apartment|robots=tiago|tasks=navigating": "",
"environments=apartment|robots=justin|tasks=navigating": "",
"environments=apartment|robots=stretch|tasks=navigating": "",
"environments=apartment|robots=donbot|tasks=navigating": "",
"environments=apartment|robots=hsr|tasks=navigating": "",
"environments=apartment|robots=icub|tasks=navigating": "",
"environments=apartment|robots=multiagent|tasks=navigating": "",
"environments=apartment|robots=pr2|tasks=transporting": "",




"environments=apartment|robots=armar6|tasks=transporting": "https://binder.intel4coro.de/v2/gh/LucaKro/pycram/04b1475e88e101454a0647571e22d6fd32f8994d?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Ftransporting_actions%2Ftransport_demo_armar.ipynb",
"environments=apartment|robots=multiagent|tasks=transporting": "https://binder.intel4coro.de/v2/gh/K3cks/pycram/f6b83376cb661a57cb27a48c2135a8a05a1a42f4?urlpath=lab%2Ftree%2Fdemos%2Fpycram_multirobot_demo%2Frobot_demo.ipynb",

"environments=apartment|robots=tiago|tasks=cutting": "https://binder.intel4coro.de/v2/gh/LucaKro/pycram/0f5b3f06400f39b30cd1b20c9d84070dda11bdc2?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fcutting_actions%2Fcutting_demo_tiago.ipynb",
"environments=apartment|robots=tiago|tasks=transporting": "",

"environments=apartment|robots=donbot|tasks=transporting": "",

"environments=apartment|robots=justin|tasks=transporting": "https://binder.intel4coro.de/v2/gh/LucaKro/pycram/1410769d61f9ab6e8b9f8dc3b5ce5eda8c0cc6ca?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Ftransporting_actions%2Ftransport_demo_justin.ipynb",
"environments=apartment|robots=justin|tasks=cutting":"https://binder.intel4coro.de/v2/gh/LucaKro/pycram/1410769d61f9ab6e8b9f8dc3b5ce5eda8c0cc6ca?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fcutting_actions%2Fcutting_demo_justin.ipynb",

"environments=apartment|robots=pr2|tasks=mixing": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"environments=apartment|robots=pr2|tasks=cutting": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb",
"environments=apartment|robots=pr2|tasks=pouring": "https://binder.intel4coro.de/v2/gh/sunava/pycram/f19dd08d8cb0990b2f606461500d77738f9d1387?urlpath=lab%2Ftree%2Fdemos%2Fpycram_virtual_building_demos%2Fstart_demo.ipynb"
"environments=apartment|robots=pr2|tasks=mixing": "",
"environments=apartment|robots=pr2|tasks=cutting":"",
"environments=apartment|robots=pr2|tasks=pouring": ""

}
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/action_forms_dynamics.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<div class="text-capitalize option-name" v-text="slotProps.option.name"></div>
<a class="text-xs" target="_blank" title="Knowledge Bases in OpenEASE"
v-if="slotProps.option.knowledge_bases" :href="slotProps.option.knowledge_bases"
onclick="event.stopPropagation()">Knowledge Bases</a>
onclick="event.stopPropagation()">Coming Soon</a>
</div>
</template>
</p-dropdown>
Expand Down

0 comments on commit 9d7cc00

Please sign in to comment.