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
Lennard Hofmann
RobotAPI
Commits
410565bf
Commit
410565bf
authored
6 years ago
by
Mirko Wächter
Browse files
Options
Downloads
Patches
Plain Diff
adapted variantinfo to core changes
parent
a58582b1
Branches
feature/skills-manager-edit-arguments
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/RobotAPI/VariantInfo-RobotAPI.xml
+4
-4
4 additions, 4 deletions
data/RobotAPI/VariantInfo-RobotAPI.xml
with
4 additions
and
4 deletions
data/RobotAPI/VariantInfo-RobotAPI.xml
+
4
−
4
View file @
410565bf
...
...
@@ -180,17 +180,17 @@
<method
header=
"const VirtualRobot::RobotPtr getLocalRobot() const"
>
return localRobot;
</method>
<method
header=
"const VirtualRobot::RobotPtr getLocalCollisionRobot() const"
>
return localCollisionRobot;
</method>
<!--
<method header="const RobotNameHelperPtr getNameHelper() const">return robotNameHelper;</method>
-->
<method
header=
"const RobotNameHelperPtr get
Robot
NameHelper() const"
>
return robotNameHelper;
</method>
<member>
VirtualRobot::RobotPtr localRobot;
</member>
<member>
VirtualRobot::RobotPtr localCollisionRobot;
</member>
<!--
<member>RobotNameHelperPtr robotNameHelper;</member>
-->
<member>
RobotNameHelperPtr robotNameHelper;
</member>
<onConnect>
// initialize local robot
</onConnect>
<onConnect>
localRobot = RemoteRobot::createLocalCloneFromFile(robotStateComponent, VirtualRobot::RobotIO::eStructure);
</onConnect>
<onConnect>
localCollisionRobot = RemoteRobot::createLocalCloneFromFile(robotStateComponent, VirtualRobot::RobotIO::eCollisionModel);
</onConnect>
<!--
<onConnect>robotNameHelper = RobotNameHelper::Create(robotStateComponent->getRobotInfo(), getSelectedProfile());</onConnect>
-->
<onConnect>
robotNameHelper = RobotNameHelper::Create(robotStateComponent->getRobotInfo(), getSelected
Statechart
Profile());
</onConnect>
<stateMethod
header=
"const VirtualRobot::RobotPtr getLocalRobot() const"
>
return %getContext%-
>
getLocalRobot();
</stateMethod>
<stateMethod
header=
"const VirtualRobot::RobotPtr getLocalCollisionRobot() const"
>
return %getContext%-
>
getLocalCollisionRobot();
</stateMethod>
<stateMethod
header=
"const RobotNameHelperPtr getRobotNameHelper() const"
>
return
RobotNameHelper::Create(
%getContext%-
>
getRobot
StateComponent()-
>
getRobotInfo(), XMLState::getSelectedProfile()
);
</stateMethod>
<stateMethod
header=
"const RobotNameHelperPtr getRobotNameHelper() const"
>
return %getContext%-
>
getRobot
NameHelper(
);
</stateMethod>
</Proxy>
<Proxy
include=
"RobotAPI/interface/components/ViewSelectionInterface.h"
...
...
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