change datatype of timestep from int to float
This commit is contained in:
parent
b2bc60394a
commit
58054d6eea
@ -16,9 +16,9 @@ public class VehicleTimeRecord {
|
|||||||
protected int id;
|
protected int id;
|
||||||
protected float position;
|
protected float position;
|
||||||
protected float velocity;
|
protected float velocity;
|
||||||
protected int timestep;
|
protected float timestep;
|
||||||
|
|
||||||
public VehicleTimeRecord(int id, float position, float velocity, int timestep) {
|
public VehicleTimeRecord(int id, float position, float velocity, float timestep) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.position = position; //needed???
|
this.position = position; //needed???
|
||||||
this.velocity = velocity;
|
this.velocity = velocity;
|
||||||
|
Loading…
Reference in New Issue
Block a user