Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tracking speed/acceleration statistics
05-08-2009, 02:28 PM,
#3
 
Hi!

I added this code fragment in the SetupTelemetry method:

std:Confusedtringstream str;
telemetry.push_back(CARTELEMETRY <T> ("car"));
telemetry.back().AddVariable(&(body.GetVelocity()[0]), "velocity x");
telemetry.back().AddVariable(&(body.GetVelocity()[1]), "velocity y");
telemetry.back().AddVariable(&(body.GetVelocity()[2]), "velocity z");

but in the output .dat file i always get the same value for each one of them. Is it certain that the SetVelocity method in rigidbody.h is called somewhere?

Finally is there a documentation of all the different measurements as from the names in the code it's not easy to understand their utility.

Thanks a lot for your excellent piece of work
Nikos
Reply


Messages In This Thread
[No subject] - by joevenzon_phpbb2_import3 - 04-16-2009, 09:43 PM
[No subject] - by ntsourak - 05-08-2009, 02:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-09-2009, 01:17 AM
[No subject] - by ntsourak - 05-11-2009, 03:18 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-12-2009, 11:29 PM
[No subject] - by ntsourak - 05-13-2009, 07:56 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-13-2009, 10:33 AM
[No subject] - by ntsourak - 05-14-2009, 01:56 PM
[No subject] - by alex25 - 05-14-2009, 02:22 PM
[No subject] - by ntsourak - 05-15-2009, 06:04 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-15-2009, 08:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)