Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
R1863 on OSX - hosed?
12-18-2007, 04:28 PM,
#38
 
ok in Vamos_Body::Rigid_Body::propagate, in the loop, body_force sometimes is NaN, which results in total_force, total_torque, delta_omega, delta_theta also being NaN. then the call "translate (delta_r - m_body_cm);" causes m_position, m_orientation etc to also be NaN here:

#0 Vamos_Geometry::Three_Vector::operator+= (this=0x12a7070, vec=@0xbfffd444) at src/vamos/geometry/Three_Vector.cc:166
#1 0x00037126 in Vamos_Body::Frame::translate (this=0x12a7070, delta_r=@0xbfffd444) at Frame.h:95
#2 0x00117bac in Vamos_Body::Rigid_Body::propagate (this=0x12a706c, time=0.0040000001899898052) at src/vamos/body/Rigid_Body.cc:474
#3 0x000f3b48 in Vamos_Body::Car::propagate (this=0x12a7000, time=0.0040000001899898052) at src/vamos/body/Car.cc:1058
#4 0x0013b32a in VAMOSWORLD:TonguehysUpdate (this=0x7adcb0, dt=0.00400000019) at src/vamosworld.cpp:2402
#5 0x00141b82 in VAMOSWORLD::Update (this=0x7adcb0, timefactor=1, fps=250, js=0x278420) at src/vamosworld.cpp:724
#6 0x0003194a in GAME::Update (this=0x2765a0) at src/game.cpp:228
#7 0x000347ad in GAME::Start (this=0x2765a0, args=@0xbfffe7f0) at src/game.cpp:1650


adding a "if (!isnan(body_force[0])) {" at line 434 in Rigid_Body.cc seems to fix the problem, but i really have no clue why Wink
Reply


Messages In This Thread
R1863 on OSX - hosed? - by cotharyus - 10-19-2007, 09:14 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-20-2007, 11:24 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-20-2007, 11:25 AM
[No subject] - by abs1nth - 10-20-2007, 12:24 PM
[No subject] - by cotharyus - 10-20-2007, 01:56 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-22-2007, 09:50 AM
[No subject] - by cotharyus - 10-22-2007, 02:48 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-23-2007, 01:20 AM
[No subject] - by cotharyus - 10-23-2007, 11:00 AM
[No subject] - by abs1nth - 10-23-2007, 11:12 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-24-2007, 01:27 AM
[No subject] - by abs1nth - 10-24-2007, 12:13 PM
[No subject] - by cotharyus - 10-24-2007, 05:35 PM
[No subject] - by abs1nth - 10-24-2007, 05:45 PM
[No subject] - by cotharyus - 10-24-2007, 06:44 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-24-2007, 08:51 PM
[No subject] - by cotharyus - 10-24-2007, 10:12 PM
[No subject] - by cotharyus - 10-29-2007, 09:53 AM
[No subject] - by cotharyus - 10-29-2007, 03:07 PM
[No subject] - by abs1nth - 10-29-2007, 05:12 PM
[No subject] - by cotharyus - 10-30-2007, 08:54 AM
[No subject] - by joevenzon_phpbb2_import3 - 10-30-2007, 10:04 AM
[No subject] - by cotharyus - 10-30-2007, 11:28 AM
[No subject] - by abs1nth - 10-30-2007, 05:15 PM
[No subject] - by abs1nth - 11-01-2007, 03:05 PM
[No subject] - by cotharyus - 11-01-2007, 07:49 PM
[No subject] - by cotharyus - 12-08-2007, 05:32 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-08-2007, 08:12 PM
[No subject] - by cotharyus - 12-08-2007, 10:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-09-2007, 01:34 AM
[No subject] - by cotharyus - 12-09-2007, 09:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-10-2007, 11:13 AM
[No subject] - by cotharyus - 12-10-2007, 08:08 PM
[No subject] - by abs1nth - 12-17-2007, 09:14 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-17-2007, 08:37 PM
[No subject] - by abs1nth - 12-18-2007, 02:25 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-18-2007, 03:17 PM
[No subject] - by abs1nth - 12-18-2007, 04:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-21-2007, 12:47 AM
[No subject] - by abs1nth - 12-21-2007, 09:57 AM
[No subject] - by cotharyus - 12-21-2007, 06:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-21-2007, 07:09 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-21-2007, 07:18 PM
[No subject] - by abs1nth - 12-22-2007, 07:31 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-22-2007, 03:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)