Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python3 ArmarX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
Python3 ArmarX
Commits
0013e819
Commit
0013e819
authored
1 month ago
by
Timo Birr
Browse files
Options
Downloads
Patches
Plain Diff
Add AronIceTypes alias for AronDataIceTypes
parent
60047d25
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#22414
passed
1 month ago
Stage: setup-venv
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
armarx_memory/aron/aron_ice_types/aron_ice_types.py
+3
-51
3 additions, 51 deletions
armarx_memory/aron/aron_ice_types/aron_ice_types.py
with
3 additions
and
51 deletions
armarx_memory/aron/aron_ice_types/aron_ice_types.py
+
3
−
51
View file @
0013e819
...
...
@@ -3,57 +3,6 @@ from .import_aron_slice import import_aron_slice
armarx_aron
=
import_aron_slice
()
data_dto
=
armarx_aron
.
data
.
dto
class
AronIceTypes
:
ARON_VERSION
=
armarx_aron
.
Version
()
Version
=
armarx_aron
.
Version
Data
=
data_dto
.
GenericData
String
=
data_dto
.
AronString
Bool
=
data_dto
.
AronBool
Int
=
data_dto
.
AronInt
Long
=
data_dto
.
AronLong
Float
=
data_dto
.
AronFloat
Double
=
data_dto
.
AronDouble
List
=
data_dto
.
List
Dict
=
data_dto
.
Dict
NDArray
=
data_dto
.
NDArray
@classmethod
def
string
(
cls
,
value
:
str
)
->
String
:
return
cls
.
String
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
bool
(
cls
,
value
:
int
)
->
Bool
:
return
cls
.
Bool
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
int
(
cls
,
value
:
int
)
->
Int
:
return
cls
.
Int
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
long
(
cls
,
value
:
int
)
->
Long
:
return
cls
.
Long
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
float
(
cls
,
value
:
float
)
->
Float
:
return
cls
.
Float
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
double
(
cls
,
value
:
float
)
->
Double
:
return
cls
.
Double
(
value
=
value
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
list
(
cls
,
elements
:
list
)
->
List
:
return
cls
.
List
(
elements
=
elements
,
VERSION
=
cls
.
ARON_VERSION
)
@classmethod
def
dict
(
cls
,
elements
:
dict
)
->
Dict
:
return
cls
.
Dict
(
elements
=
elements
,
VERSION
=
cls
.
ARON_VERSION
)
class
AronDataIceTypes
:
ARON_VERSION
=
armarx_aron
.
Version
()
...
...
@@ -105,3 +54,6 @@ class AronDataIceTypes:
@classmethod
def
dict
(
cls
,
elements
:
dict
)
->
Dict
:
return
cls
.
Dict
(
elements
=
elements
,
VERSION
=
cls
.
ARON_VERSION
)
AronIceTypes
=
AronDataIceTypes
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