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
7e356a3b
Commit
7e356a3b
authored
10 years ago
by
Valerij Wittenbeck
Browse files
Options
Downloads
Patches
Plain Diff
scenario MovePlatform - added a config file which makes the platform go to the table
parent
c2850ac7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scenarios/MovePlatformTest/configs/MovePlatformExampleCloseToTable.xml
+28
-0
28 additions, 0 deletions
...ePlatformTest/configs/MovePlatformExampleCloseToTable.xml
source/RobotAPI/statecharts/MovePlatform/MovePlatform.cpp
+2
-1
2 additions, 1 deletion
source/RobotAPI/statecharts/MovePlatform/MovePlatform.cpp
with
30 additions
and
1 deletion
scenarios/MovePlatformTest/configs/MovePlatformExampleCloseToTable.xml
0 → 100644
+
28
−
0
View file @
7e356a3b
<MovePlatformStateChart>
<StateParameters>
<!--
x/y are in mm
for now z=rotation around z axis in radian
-->
<targetPositions>
<Item0>
<x>
3400
</x>
<y>
7150
</y>
<z>
-1.6
</z>
</Item0>
</targetPositions>
<!--unreachable-->
<!--targetPositions>
<Item0>
<x>5000</x>
<y>5000</y>
<z>0</z>
</Item0>
</targetPositions-->
<positionalAccuracy>
10
</positionAccuracy>
<!--mm-->
<orientationalAccuracy>
0.1
</orientationAccuracy>
<!--rad-->
<timeoutMoveTo>
30000
</timeoutMoveTO>
</StateParameters>
</MovePlatformStateChart>
This diff is collapsed.
Click to expand it.
source/RobotAPI/statecharts/MovePlatform/MovePlatform.cpp
+
2
−
1
View file @
7e356a3b
...
...
@@ -51,7 +51,8 @@ namespace armarx
// ****************************************************************
void
StatechartMovePlatform
::
defineParameters
()
{
setConfigFile
(
"RobotAPI/scenarios/MovePlatformTest/configs/MovePlatformExample.xml"
);
// setConfigFile("RobotAPI/scenarios/MovePlatformTest/configs/MovePlatformExample.xml");
setConfigFile
(
"RobotAPI/scenarios/MovePlatformTest/configs/MovePlatformExampleCloseToTable.xml"
);
addToInput
(
"targetPositions"
,
VariantType
::
List
(
VariantType
::
Vector3
),
false
);
addToInput
(
"positionalAccuracy"
,
VariantType
::
Float
,
false
);
addToInput
(
"orientationalAccuracy"
,
VariantType
::
Float
,
false
);
...
...
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