Skip to content
Snippets Groups Projects
Commit 027df80f authored by René Schöne's avatar René Schöne
Browse files

multiply position by 10 for testing.

parent aa11b948
No related branches found
No related tags found
No related merge requests found
Pipeline #6970 passed
......@@ -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 {:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment