You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
(3) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(6) |
| 2002 |
Jan
(11) |
Feb
|
Mar
(5) |
Apr
|
May
(1) |
Jun
(2) |
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
| 2003 |
Jan
(1) |
Feb
(11) |
Mar
(33) |
Apr
(8) |
May
(10) |
Jun
(1) |
Jul
(1) |
Aug
(5) |
Sep
(4) |
Oct
(3) |
Nov
(6) |
Dec
(22) |
| 2004 |
Jan
(46) |
Feb
(16) |
Mar
(39) |
Apr
(29) |
May
(27) |
Jun
(11) |
Jul
(8) |
Aug
(15) |
Sep
(29) |
Oct
(12) |
Nov
(42) |
Dec
(19) |
| 2005 |
Jan
(2) |
Feb
(64) |
Mar
(87) |
Apr
(35) |
May
(6) |
Jun
(20) |
Jul
(34) |
Aug
(73) |
Sep
(39) |
Oct
(20) |
Nov
(3) |
Dec
(9) |
| 2006 |
Jan
(3) |
Feb
(17) |
Mar
(6) |
Apr
(6) |
May
(20) |
Jun
(18) |
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(5) |
Nov
(13) |
Dec
(5) |
| 2007 |
Jan
|
Feb
(4) |
Mar
(17) |
Apr
(4) |
May
(4) |
Jun
(4) |
Jul
(1) |
Aug
(3) |
Sep
(13) |
Oct
(15) |
Nov
(21) |
Dec
(9) |
| 2008 |
Jan
(12) |
Feb
(9) |
Mar
(14) |
Apr
(35) |
May
(17) |
Jun
(23) |
Jul
(28) |
Aug
(34) |
Sep
(24) |
Oct
(9) |
Nov
(6) |
Dec
(4) |
| 2009 |
Jan
(27) |
Feb
(8) |
Mar
(5) |
Apr
(3) |
May
|
Jun
(4) |
Jul
(7) |
Aug
(13) |
Sep
(9) |
Oct
(5) |
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
(3) |
Mar
(1) |
Apr
(3) |
May
(4) |
Jun
(4) |
Jul
(10) |
Aug
(7) |
Sep
(5) |
Oct
(4) |
Nov
(4) |
Dec
(1) |
| 2011 |
Jan
(3) |
Feb
(6) |
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(5) |
| 2012 |
Jan
(5) |
Feb
(13) |
Mar
(6) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(5) |
Nov
(9) |
Dec
(3) |
| 2013 |
Jan
|
Feb
(5) |
Mar
|
Apr
(4) |
May
|
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
| 2015 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(2) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2023 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(4) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
|
3
(2) |
4
|
5
|
6
|
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
|
28
|
29
|
30
|
31
|
|
|
|
|
From: Bernhard W. <be...@bl...> - 2014-12-03 23:19:04
|
Hi Owen Interesting finding, but I am not yet sure that the position is the problem (float has an accuracy of ~8 decimals under suitable conditions). What happens after 95 seconds, before the steps are way below 1 cm, after that they get quickly bigger? What does the plot exactly show, how did you calculate the result (it must be more than just breaking, otherwise the distance would just develop in one direction)? Maybe there is a floating point unfriendly expression in TORCS which could be rewritten in a more suitable way, or maybe this applies for your distance calculation. Could you explain the whole thing in more detail? Any special things, e.g. floating point compiler flags (usually intermediate results are in 80 or more bits in the FPU, but if you choose SSE as example, you have just 32 bit for floats, this can make a significant difference under certain conditions). Kind regards Bernhard On 12/03/2014 11:01 AM, Owen McAree wrote: > Hello developers, > > Firstly I'd like to say thanks for creating such a great piece of > software! I've just started a research job and will be using TORCS > extensively to study the behavior of autonomous vehicles. > > I have written a small interface between TORCS and MATLAB such that I > can I can prototype my algorithms quickly and I have come across a small > problem. The 'tdble' type used by TORCS is defined as a float, which for > the majority of parameters makes sense but when working with the vehicle > positions I have found some numerical errors creeping in to the > integration inside SimCarUpdatePos (in car.cpp). The issue comes about > when two vehicles have very similar (but not identical) velocities, > which when integrated with the position get truncated to be identical. > This has the effect that computing the distance between two vehicles > returns a constant value (as the velocities are being made identical). I > have attached a plot illustrating the bug, it shows the computed > distance between two vehicles (one following the other with near > identical velocity) when the lead vehicle brakes. > > At first I thought I could simply change the definition of tdble to > double and this would solve the problem, but it seems that tdble is not > used consistently through the source, so this caused more problems! In > the end I modified the structures a little to simply have the position > values represented as double (in addition to the tdble values, for > compatibility) and leave the rest untouched, this has solved the problem > (but is not elegant!). > > I appreciate this is an edge case which will only crop up very rarely, > but if you'd like me to share my changes with you (or if you have a more > elegant solution!) please let me know. > > Best regards, > Owen > > -- > Dr Owen McAree > Research Fellow > Department of Automatic Control and Systems Engineering > University of Sheffield, S13JD > T: 0114 222 5138 > E: o.m...@sh... <mailto:o.m...@sh...> > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Torcs-devel mailing list > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/torcs-devel > |
|
From: Owen M. <o.m...@sh...> - 2014-12-03 10:01:48
|
Hello developers, Firstly I'd like to say thanks for creating such a great piece of software! I've just started a research job and will be using TORCS extensively to study the behavior of autonomous vehicles. I have written a small interface between TORCS and MATLAB such that I can I can prototype my algorithms quickly and I have come across a small problem. The 'tdble' type used by TORCS is defined as a float, which for the majority of parameters makes sense but when working with the vehicle positions I have found some numerical errors creeping in to the integration inside SimCarUpdatePos (in car.cpp). The issue comes about when two vehicles have very similar (but not identical) velocities, which when integrated with the position get truncated to be identical. This has the effect that computing the distance between two vehicles returns a constant value (as the velocities are being made identical). I have attached a plot illustrating the bug, it shows the computed distance between two vehicles (one following the other with near identical velocity) when the lead vehicle brakes. At first I thought I could simply change the definition of tdble to double and this would solve the problem, but it seems that tdble is not used consistently through the source, so this caused more problems! In the end I modified the structures a little to simply have the position values represented as double (in addition to the tdble values, for compatibility) and leave the rest untouched, this has solved the problem (but is not elegant!). I appreciate this is an edge case which will only crop up very rarely, but if you'd like me to share my changes with you (or if you have a more elegant solution!) please let me know. Best regards, Owen -- Dr Owen McAree Research Fellow Department of Automatic Control and Systems Engineering University of Sheffield, S13JD T: 0114 222 5138 E: o.m...@sh... |