Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with weight balance into all cars
11-05-2005, 05:09 PM,
#1
Problem with weight balance into all cars
Since two or three weeks I have a problem with weight balance of all cars. When I start a race the cars have front wheels on the air and when I brake rear wheels are on the air (Chris you have got some screenshots into bmwm3gtr.zip allegated file). It seems to drive on a seesaw. I have tried to delete all setting files, sources and I have made a svn checkout but nothing.You have mentioned some problems with platform Ubuntu and OpenSuSE, I have got a Fedora Core 4 with gcc 4.0Gianni
Reply
11-05-2005, 07:51 PM,
#2
Problem with weight balance into all cars
This seems to be a problem that only appears with GCC 4. I'm baffled....
Reply
12-30-2005, 02:37 PM,
#3
Problem with weight balance into all cars
I too have the same problem. Using Mandriva 2006, compiled using Scons. The binary distribution doesn't worked. VDrift version: 03-11-2005Hope theres a easy solution
Reply
08-03-2006, 01:28 AM,
#4
 
hi, think this problem is due to some array index errors, patch to src/vamos/body/Car.cc, does this fix it?
Code:
Index: Car.cc
===================================================================
--- Car.cc    (revision 1172)
+++ Car.cc    (working copy)
@@ -1994,7 +1994,7 @@
    retval = m_car_definition.GetParam("suspension-FR.hinge", tvec);
    if (!retval)
        success = false;
-    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[3] = tvec[3];
+    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[2] = tvec[2];
    
    //create front right suspension
    Side side = RIGHT;
@@ -2014,7 +2014,7 @@
    retval = m_car_definition.GetParam("suspension-FL.hinge", tvec);
    if (!retval)
        success = false;
-    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[3] = tvec[3];
+    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[2] = tvec[2];
    
    //create front left suspension
    side = LEFT;
@@ -2068,7 +2068,7 @@
    retval = m_car_definition.GetParam("suspension-RR.hinge", tvec);
    if (!retval)
        success = false;
-    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[3] = tvec[3];
+    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[2] = tvec[2];
    
    //create rear right suspension
    side = RIGHT;
@@ -2088,7 +2088,7 @@
    retval = m_car_definition.GetParam("suspension-RL.hinge", tvec);
    if (!retval)
        success = false;
-    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[3] = tvec[3];
+    t3v2.m_vec[0] = tvec[0];    t3v2.m_vec[1] = tvec[1];    t3v2.m_vec[2] = tvec[2];
    
    //create rear left suspension
    side = LEFT;
Reply
08-03-2006, 02:34 AM,
#5
 
ladybirdman Wrote:hi, think this problem is due to some array index errors, patch to src/vamos/body/Car.cc, does this fix it?
As far as I can tell, it does fix it! I compiled with this patch using gcc4. vdrift ran fine without any weird car bumping. Great find, ladybirdman! The patch is checked into SVN.
Reply
08-03-2006, 11:25 PM,
#6
 
Great catch! This also explains why I was having trouble moving the suspension hinge z coordinate around. I'll mess with the suspension hinges on one of the cars and see what it lets me do with the suspension geometries.
Reply
08-03-2006, 11:25 PM,
#7
 
Great catch! This also explains why I was having trouble moving the suspension hinge z coordinate around. I'll mess with the suspension hinges on one of the cars and see what it lets me do with the suspension geometries.
Reply
08-04-2006, 02:06 AM,
#8
 
This is awesome! So glad to hear this is fixed.
Reply
08-04-2006, 02:06 AM,
#9
 
This is awesome! So glad to hear this is fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)