Commit 027df80f authored by René Schöne's avatar René Schöne
Browse files

multiply position by 10 for testing.

parent aa11b948
Pipeline #6970 passed with stages
in 6 minutes and 32 seconds
...@@ -19,8 +19,7 @@ SerializeRobotConfig maps config.Robotconfig.RobotConfig rc to byte[] {: ...@@ -19,8 +19,7 @@ SerializeRobotConfig maps config.Robotconfig.RobotConfig rc to byte[] {:
LinkStateToIntPosition maps panda.Linkstate.PandaLinkState pls to IntPosition {: LinkStateToIntPosition maps panda.Linkstate.PandaLinkState pls to IntPosition {:
panda.Linkstate.PandaLinkState.Position p = pls.getPos(); panda.Linkstate.PandaLinkState.Position p = pls.getPos();
{ int i = 0; } return IntPosition.of((int) (p.getPositionX() * 10), (int) (p.getPositionY() * 10), (int) (p.getPositionZ() * 10));
return IntPosition.of((int) p.getPositionX(), (int) p.getPositionY(), (int) p.getPositionZ());
:} :}
CreateSpeedMessage maps double speed to config.Robotconfig.RobotConfig {: CreateSpeedMessage maps double speed to config.Robotconfig.RobotConfig {:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment