Skip to content

Commit

Permalink
domestic more environemnts
Browse files Browse the repository at this point in the history
  • Loading branch information
sunava committed Jan 21, 2025
1 parent ae4d1c8 commit 7f613d1
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,36 @@
"options": {
"environments": [
{
"name": "Apartment",
"name": "Apartment (IAI-Bremen)",
"value": "apartment",
"img": "https://intel4coro.github.io/coai-vib/img/apartment.png",
"knowledge_bases": "https://data.open-ease.org/QA?neem_id=64ccbe76181caf1b5ed3c19c&q=findall([Duration%2C Evt]%2C ( event_interval(Evt%2C Begin%2C End)%2C number(End)%2C Duration is End - Begin )%2C Durations)%2C max_member([MaxDuration%2C LongestEvt]%2C Durations)."
},
{
"name": "Kitchen",
"name": "Kitchen (IAI-Bremen)",
"value": "kitchen",
"img": "https://intel4coro.github.io/coai-vib/img/household.png",
"knowledge_bases": "coming_soon"
},
{
"name": "RoboCup-Suturo (IAI-Bremen)",
"value": "suturo",
"img": "https://github.com/sunava/pycram/blob/binder-all-robots/demos/pycram_virtual_building_demos/img/PXL_20250121_160152125.jpg?raw=true",
"knowledge_bases": "coming_soon"
},
{
"name": "Computer Science Department (Miami)",
"value": "miami",
"img": "https://github.com/sunava/pycram/blob/binder-all-robots/demos/pycram_virtual_building_demos/img/3AFAD606-5D47-4565-A44A-F241C6DFE726.jpg?raw=true",
"knowledge_bases": "coming_soon"
},
{
"name": "Institute for Systems and Robotics (ISR/IST)",
"value": "isr",
"img": "https://github.com/sunava/pycram/blob/binder-all-robots/demos/pycram_virtual_building_demos/img/isr_testbed.png?raw=true",
"knowledge_bases": "coming_soon"
}
],
],
"robots": [
{
"name": "PR2",
Expand Down Expand Up @@ -116,13 +134,59 @@
"environments=apartment|robots=hsr|tasks=navigating": "",
"environments=apartment|robots=icub|tasks=navigating": "",
"environments=apartment|robots=fetch|tasks=navigating": "",
"environments=apartment|robots=pr2|tasks=transporting": "",

"environments=kitchen|robots=pr2|tasks=navigating": "",
"environments=kitchen|robots=armar|tasks=navigating": "",
"environments=kitchen|robots=tiago|tasks=navigating": "",
"environments=kitchen|robots=donbot|tasks=navigating": "",
"environments=kitchen|robots=justin|tasks=navigating": "",
"environments=kitchen|robots=stretch|tasks=navigating": "",
"environments=kitchen|robots=hsr|tasks=navigating": "",
"environments=kitchen|robots=icub|tasks=navigating": "",
"environments=kitchen|robots=fetch|tasks=navigating": "",
"environments=kitchen|robots=pr2|tasks=transporting": "",

"environments=suturo|robots=pr2|tasks=navigating": "",
"environments=suturo|robots=armar|tasks=navigating": "",
"environments=suturo|robots=tiago|tasks=navigating": "",
"environments=suturo|robots=donbot|tasks=navigating": "",
"environments=suturo|robots=justin|tasks=navigating": "",
"environments=suturo|robots=stretch|tasks=navigating": "",
"environments=suturo|robots=hsr|tasks=navigating": "",
"environments=suturo|robots=icub|tasks=navigating": "",
"environments=suturo|robots=fetch|tasks=navigating": "",
"environments=suturo|robots=pr2|tasks=transporting": "",

"environments=miami|robots=pr2|tasks=navigating": "",
"environments=miami|robots=armar|tasks=navigating": "",
"environments=miami|robots=tiago|tasks=navigating": "",
"environments=miami|robots=donbot|tasks=navigating": "",
"environments=miami|robots=justin|tasks=navigating": "",
"environments=miami|robots=stretch|tasks=navigating": "",
"environments=miami|robots=hsr|tasks=navigating": "",
"environments=miami|robots=icub|tasks=navigating": "",
"environments=miami|robots=fetch|tasks=navigating": "",
"environments=miami|robots=pr2|tasks=transporting": "",

"environments=isr|robots=pr2|tasks=navigating": "",
"environments=isr|robots=armar|tasks=navigating": "",
"environments=isr|robots=tiago|tasks=navigating": "",
"environments=isr|robots=donbot|tasks=navigating": "",
"environments=isr|robots=justin|tasks=navigating": "",
"environments=isr|robots=stretch|tasks=navigating": "",
"environments=isr|robots=hsr|tasks=navigating": "",
"environments=isr|robots=icub|tasks=navigating": "",
"environments=isr|robots=fetch|tasks=navigating": "",
"environments=isr|robots=pr2|tasks=transporting": "",

"environments=apartment|robots=armar|tasks=transporting": "",
"environments=apartment|robots=donbot|tasks=transporting": "",
"environments=apartment|robots=justin|tasks=transporting": "",
"environments=apartment|robots=tiago|tasks=transporting": "",
"environments=apartment|robots=icub|tasks=transporting": "",
"environments=apartment|robots=fetch|tasks=transporting": "",


"environments=apartment|robots=multiagent|tasks=navigating": ""
}
},
Expand Down
60 changes: 34 additions & 26 deletions layouts/shortcodes/action_forms_dynamics.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,34 +49,42 @@


<div class="p-float-label col-md-6" v-for="item in envs">
<p-dropdown v-model="item.selected" :options="item.options" :optionLabel="item.name" :placeholder="item.name"
<p-dropdown v-model="item.selected" :options="item.options" :optionLabel="item.name" :placeholder="item.name"
:inputId="item.name" class="col-md-12 mb-3">
<template #value="slotProps">
<div v-if="slotProps.value" :title="slotProps.value.value" class="flex h-100 align-items-center"
:class="{ noImg: item.noImg }">
<img v-if="slotProps.value.img" class="selected-img" :alt="slotProps.value.name"
:src="slotProps.value.img" />
<div class="image-missing" v-else></div>
<div class="text-capitalize option-name" v-text="slotProps.value.name"></div>
<a class="text-xs" target="_blank" title="Knowledge Bases in OpenEASE"
v-if="slotProps.value.knowledge_bases" :href="slotProps.value.knowledge_bases"
onclick="event.stopPropagation()">Knowledge Bases</a>
</div>
<span v-else>
<span v-text="slotProps.placeholder"></span>
</span>
</template>
<template #option="slotProps">
<div class="flex align-items-center" :title="slotProps.option.value" :class="{ noImg: item.noImg }">
<img v-if="slotProps.option.img" class="option-img" :alt="slotProps.option.name"
:src="slotProps.option.img" />
<div class="image-missing" v-else></div>
<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>
</div>
</template>
<div v-if="slotProps.value" :title="slotProps.value.value" class="flex h-100 align-items-center" :class="{ noImg: item.noImg }">
<img v-if="slotProps.value.img" class="selected-img" :alt="slotProps.value.name" :src="slotProps.value.img" />
<div class="image-missing" v-else></div>
<div class="text-capitalize option-name" v-text="slotProps.value.name"></div>
<a
class="text-xs"
target="_blank"
title="Knowledge Bases in OpenEASE"
v-if="slotProps.value.knowledge_bases && slotProps.value.knowledge_bases !== 'coming_soon'"
:href="slotProps.value.knowledge_bases"
onclick="event.stopPropagation()">Knowledge Bases</a>
<span v-else-if="slotProps.value.knowledge_bases === 'coming_soon'" style="color: red; font-size: smaller;" title="Coming Soon">Coming Soon</span>
</div>
<span v-else>
<span v-text="slotProps.placeholder"></span>
</span>
</template>
<template #option="slotProps">
<div class="flex align-items-center" :title="slotProps.option.value">
<img v-if="slotProps.option.img" class="option-img" :alt="slotProps.option.name" :src="slotProps.option.img" />
<div class="image-missing" v-else></div>
<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 && slotProps.option.knowledge_bases !== 'coming_soon'"
:href="slotProps.option.knowledge_bases"
onclick="event.stopPropagation()">Knowledge Bases</a>
<span v-else-if="slotProps.option.knowledge_bases === 'coming_soon'"
style="color: red; font-size: smaller;"
title="Coming Soon">
Coming Soon
</span>
</div>
</template>
</p-dropdown>
<label :for="item.name" v-text="item.name"></label>
</div>
Expand Down

0 comments on commit 7f613d1

Please sign in to comment.