Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
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
Package registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
RobotAPI
Commits
769babf1
Commit
769babf1
authored
4 years ago
by
Fabian Tërnava
Browse files
Options
Downloads
Patches
Plain Diff
added generated aron files to gitignore
parent
10be4589
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
source/RobotAPI/libraries/aron/test/aron/HumanPose.aron.generated.h
+0
-165
0 additions, 165 deletions
...otAPI/libraries/aron/test/aron/HumanPose.aron.generated.h
with
1 addition
and
165 deletions
.gitignore
+
1
−
0
View file @
769babf1
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
.idea
.idea
source/*/Test.h
source/*/Test.h
source/*/*.aron.generated.h
*.bak
*.bak
*#
*#
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/libraries/aron/test/aron/HumanPose.aron.generated.h
deleted
100644 → 0
+
0
−
165
View file @
10be4589
/*
* This file is part of ArmarX.
*
* Copyright (C) 2012-2016, High Performance Humanoid Technologies (H2T),
* Karlsruhe Institute of Technology (KIT), all rights reserved.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*************************************************************************
* WARNING: This file is autogenerated.
* Original file: /home/fabian/Software/ArmarX/RobotAPI/source/RobotAPI/libraries/aron/test/xmls/HumanPose.xml
* Timestamp of generation: Mon Aug 31 17:02:44 2020
* Please do not edit since your changes may be overwritten on the next generation
* If you have any questions please contact: Fabian Peller-Konrad (fabian dot peller-konrad at kit dot edu)
*************************************************************************
*/
#ifndef ARONTESTSEGMENT__NATURALIKRESULT__ARON_TYPE_DEFINITION_INCLUDE_GUARD
#define ARONTESTSEGMENT__NATURALIKRESULT__ARON_TYPE_DEFINITION_INCLUDE_GUARD
#include
<string>
#include
<vector>
#include
<map>
#include
<Eigen/Core>
#include
<RobotAPI/interface/aron.h>
#include
<RobotAPI/libraries/aron/codegenerator/AronCppClass.h>
#include
<RobotAPI/libraries/aron/io/classWriters/AronDataNavigatorWriter/AronDataNavigatorWriter.h>
#include
<RobotAPI/libraries/aron/io/classReaders/AronDataNavigatorReader/AronDataNavigatorReader.h>
namespace
armarx
{
class
NaturalIKResult
:
virtual
public
armarx
::
aron
::
codegeneration
::
AronCppClass
{
public:
std
::
vector
<
float
>
jointValues
;
bool
reached
;
public:
NaturalIKResult
()
{
initialize
();
reset
();
}
public
:
/**
* @brief operator==() - This method checks whether all values equal another instance.
* @param i - The other instance
* @return - true, if all members are the same, false otherwise
*/
bool
operator
==
(
const
armarx
::
NaturalIKResult
&
i
)
const
{
if
(
not
(
jointValues
==
i
.
jointValues
))
{
return
false
;
}
if
(
not
(
reached
==
i
.
reached
))
{
return
false
;
}
return
true
;
}
/**
* @brief reset() - This method resets all member variables to default.
* @return - nothing
*/
virtual
void
reset
()
override
{
jointValues
.
clear
();
reached
=
{};
}
/**
* @brief initialize() - This method initializeses special base-class members.
* @return - nothing
*/
virtual
void
initialize
()
override
{
// setup aronType
std
::
map
<
std
::
string
,
armarx
::
aron
::
AronAbstractType
::
PointerType
>
aronTypeRoot_objectiteratorcontainer
;
armarx
::
aron
::
AronFloatType
::
PointerType
aronTypeRoot_jointValues_listtype
=
armarx
::
aron
::
AronFloatType
::
PointerType
(
new
armarx
::
aron
::
AronFloatType
());
armarx
::
aron
::
AronListType
::
PointerType
aronTypeRoot_jointValues
=
armarx
::
aron
::
AronListType
::
PointerType
(
new
armarx
::
aron
::
AronListType
(
aronTypeRoot_jointValues_listtype
));
aronTypeRoot_objectiteratorcontainer
[
"jointValues"
]
=
aronTypeRoot_jointValues
;
armarx
::
aron
::
AronBoolType
::
PointerType
aronTypeRoot_reached
=
armarx
::
aron
::
AronBoolType
::
PointerType
(
new
armarx
::
aron
::
AronBoolType
());
aronTypeRoot_objectiteratorcontainer
[
"reached"
]
=
aronTypeRoot_reached
;
armarx
::
aron
::
AronObjectType
::
PointerType
aronTypeRoot
=
armarx
::
aron
::
AronObjectType
::
PointerType
(
new
armarx
::
aron
::
AronObjectType
(
"armarx::NaturalIKResult"
,
aronTypeRoot_objectiteratorcontainer
));
aronType
=
aronTypeRoot
;
}
/**
* @brief write() - This method returns a new type from the member data types using a writer implementation.
* @param w - The writer implementation
* @return - the result of the writer implementation
*/
virtual
void
write
(
armarx
::
aron
::
io
::
AronWriter
&
w
)
const
override
{
w
.
writeStartDict
();
w
.
writeKey
(
"jointValues"
);
w
.
writeStartList
();
for
(
unsigned
int
jointValues_listiterator
=
0
;
jointValues_listiterator
<
jointValues
.
size
();
++
jointValues_listiterator
)
{
w
.
writeFloat
(
jointValues
[
jointValues_listiterator
]);
}
w
.
writeEndList
();
w
.
writeKey
(
"reached"
);
w
.
writeBool
(
reached
);
w
.
writeEndDict
();
}
/**
* @brief read() - This method sets the struct members to new values given in a reader implementation.
* @param r - The reader implementation
* @return - nothing
*/
virtual
void
read
(
armarx
::
aron
::
io
::
AronReader
&
r
)
override
{
reset
();
r
.
readStartDict
();
r
.
readMember
(
"jointValues"
);
r
.
readStartList
();
while
(
!
r
.
readEndList
())
{
float
jointValues_listiterator
;
jointValues_listiterator
=
r
.
readFloat
();
jointValues
.
push_back
(
jointValues_listiterator
);
}
r
.
readMember
(
"reached"
);
reached
=
r
.
readBool
();
r
.
readEndDict
();
}
/**
* @brief specializedWrite() - This method returns a new type from the member data types using a writer implementation.
* @return - the result of the writer implementation
*/
armarx
::
aron
::
AronDataPtr
toAron
()
const
{
armarx
::
aron
::
io
::
AronDataNavigatorWriter
writer
;
this
->
write
(
writer
);
return
writer
.
getResult
();
}
/**
* @brief specializedRead() - This method sets the struct members to new values given in a reader implementation.
* @return - nothing
*/
void
fromAron
(
const
armarx
::
aron
::
AronDataPtr
&
input
)
{
armarx
::
aron
::
io
::
AronDataNavigatorReader
reader
(
input
);
this
->
read
(
reader
);
}
};
// class NaturalIKResult
}
// namespace armarx
#endif // ARONTESTSEGMENT__NATURALIKRESULT__ARON_TYPE_DEFINITION_INCLUDE_GUARD
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