Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
JastAdd
ros2rag
Commits
027df80f
Commit
027df80f
authored
Jun 16, 2020
by
René Schöne
Browse files
multiply position by 10 for testing.
parent
aa11b948
Pipeline
#6970
passed with stages
in 6 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ros2rag.starter/src/main/jastadd/Definitions.ros2rag
View file @
027df80f
...
...
@@ -19,8 +19,7 @@ SerializeRobotConfig maps config.Robotconfig.RobotConfig rc to byte[] {:
LinkStateToIntPosition maps panda.Linkstate.PandaLinkState pls to IntPosition {:
panda.Linkstate.PandaLinkState.Position p = pls.getPos();
{ int i = 0; }
return IntPosition.of((int) p.getPositionX(), (int) p.getPositionY(), (int) p.getPositionZ());
return IntPosition.of((int) (p.getPositionX() * 10), (int) (p.getPositionY() * 10), (int) (p.getPositionZ() * 10));
:}
CreateSpeedMessage maps double speed to config.Robotconfig.RobotConfig {:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment