Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Cooperative Cuisine Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
CoCoSy
Cooperative Cuisine Environment
Commits
a15fa336
Commit
a15fa336
authored
1 year ago
by
Fabian Heinrich
Browse files
Options
Downloads
Patches
Plain Diff
Added ([, ], {, }) and removed (_, +, $, €, /, (, )) characters from the counter fabric
parent
e7888738
No related branches found
No related tags found
1 merge request
!34
Resolve "Counter Factory"
Pipeline
#44943
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
overcooked_simulator/counter_factory.py
+4
-9
4 additions, 9 deletions
overcooked_simulator/counter_factory.py
overcooked_simulator/game_content/environment_config.yaml
+2
-2
2 additions, 2 deletions
overcooked_simulator/game_content/environment_config.yaml
with
6 additions
and
11 deletions
overcooked_simulator/counter_factory.py
+
4
−
9
View file @
a15fa336
...
...
@@ -34,33 +34,28 @@ def convert_words_to_chars(layout_chars_config: dict[str, str]) -> dict[str, str
dict[str, str]: A dictionary where the keys are the layout characters and the values are their corresponding words.
"""
word_refs
=
{
"
underscore
"
:
"
_
"
,
"
hash
"
:
"
#
"
,
"
space
"
:
"
"
,
"
dot
"
:
"
.
"
,
"
comma
"
:
"
,
"
,
"
semicolon
"
:
"
;
"
,
"
colon
"
:
"
:
"
,
"
plus
"
:
"
+
"
,
"
minus
"
:
"
-
"
,
"
exclamation
"
:
"
!
"
,
"
question
"
:
"
?
"
,
"
dquote
"
:
'"'
,
"
squote
"
:
"'"
,
"
star
"
:
"
*
"
,
"
dollar
"
:
"
$
"
,
"
euro
"
:
"
€
"
,
"
ampersand
"
:
"
&
"
,
"
slash
"
:
"
/
"
,
"
oparentheses
"
:
"
(
"
,
"
cparentheses
"
:
"
)
"
,
"
equal
"
:
"
=
"
,
"
right
"
:
"
>
"
,
"
left
"
:
"
<
"
,
"
pipe
"
:
"
|
"
,
"
at
"
:
"
@
"
,
"
top
"
:
"
^
"
,
"
tilde
"
:
"
~
"
,
"
ocurlybracket
"
:
"
{
"
,
"
ccurlybracket
"
:
"
}
"
,
"
osquarebracket
"
:
"
[
"
,
"
csquarebracket
"
:
"
]
"
,
}
return
{
word_refs
.
get
(
c
,
c
):
name
for
c
,
name
in
layout_chars_config
.
items
()}
...
...
This diff is collapsed.
Click to expand it.
overcooked_simulator/game_content/environment_config.yaml
+
2
−
2
View file @
a15fa336
...
...
@@ -17,7 +17,7 @@ meals:
-
Salad
layout_chars
:
underscore
:
Free
_
:
Free
hash
:
Counter
A
:
Agent
P
:
PlateDispenser
...
...
@@ -25,7 +25,7 @@ layout_chars:
X
:
Trashcan
W
:
ServingWindow
S
:
Sink
plus
:
SinkAddon
+
:
SinkAddon
U
:
Pot
# with Stove
Q
:
Pan
# with Stove
O
:
Peel
# with Oven
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment