Skip to content

Commit

Permalink
Minor updates to wheel ports
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobaxelsson committed Jan 19, 2015
1 parent 2a039c0 commit 7832aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public VirtualFrontWheelPPort(int id) {

@Override
public Object deliver() {
return (int)CarModel.vehicleSpeed;
return (int)(Math.abs(100 * CarModel.vehicleSpeed));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public VirtualRearWheelPPort(int id) {

@Override
public Object deliver() {
return (int)CarModel.vehicleSpeed;
return (int)(Math.abs(100 * CarModel.vehicleSpeed));
}

@Override
Expand Down

0 comments on commit 7832aaf

Please sign in to comment.