rubis-lab / CPSim_linux

8 stars 26 forks source link

Minus value of Final_lap_time #8

Open lamnd09 opened 7 years ago

lamnd09 commented 7 years ago

When the car runs with high speed (>200km/h). I am wondering why final_lap_time gets minus value.

"race start: 15.100001, end: 15.444956, cumulated_distance: 15.284203 of ECUs: 2, lap time: -0.636000 sec, average distance: 5.094734 m score: -233.171371"

we123456 commented 7 years ago

Thanks for your reporting. Did you execute the program on Native Linux? (not on the virtual machine)

lamnd09 commented 7 years ago

Thanks for your quick reply, Yes, I am using Native Linux Ubuntu 14.04. When the car remains high speed (200km/h), JFreePlot also cannot plot graph for speed. I think it is not an issue, however we can change some values in core files to fix it.

image

we123456 commented 7 years ago

Hmm.. Then, I cannot know why the score function does not operate correctly yet. Thus, please calculate the score function manually. You can do this with "distance.txt" and "lap_time.txt" files in eclipse directory.

lamnd09 commented 7 years ago

Yes, thank you for your instruction.

vip7265 commented 7 years ago

Ah, I didn't understand your issue. What I answered is not regarding this, so I remove my reply :)