Vehicle skid marks and tire smoke

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Vehicle skid marks and tire smoke

Postby Shaderman » Sun Jul 31, 2016 8:36 am

Hi.

I'd like to add skid marks and tire smoke. I don't see how to get the necessary information like wheel lock-up and wheelspin in Newton. Do you guys have any suggestions please?

Thanks

Shaderman
Shaderman
 
Posts: 66
Joined: Tue Mar 08, 2016 2:51 am

Re: Vehicle skid marks and tire smoke

Postby Slick » Sun Jul 31, 2016 9:43 am

My guess would be to monitor the omega of the wheel to determine if it is spinning faster or slower than it should be for the speed of the vehicle.
Slick
 
Posts: 330
Joined: Sat Feb 07, 2004 7:24 pm
Location: LA last and France now

Re: Vehicle skid marks and tire smoke

Postby Shaderman » Sun Oct 02, 2016 10:51 am

Ouch, I thought I replied already :oops:

Thanks for your idea Slick. I had some success already weeks ago, but don't have the time to continue with my Newton project currently.
Shaderman
 
Posts: 66
Joined: Tue Mar 08, 2016 2:51 am

Re: Vehicle skid marks and tire smoke

Postby Julio Jerez » Sun Oct 02, 2016 3:54 pm

you can iterate over the tire list using
Code: Select all
dList<BodyPartTire>::dListNode* GetFirstTire() const;
dList<BodyPartTire>::dListNode* GetNextTire (dList<BodyPartTire>::dListNode* const tireNode) const;


then each tire you can read
Code: Select all
dFloat GetLateralSlip () const;
dFloat GetLongitudinalSlip () const;


you need to sync to get that interface.

the parameter measure how much the tire are slipping relation for the vehicle velocity.
for -1.0 to 1.0

a value of zero mean the vehicle is rolling with not slip, this is rare since all vehicle tire model are adhoke, meaning you nee slip in order to move, but motion opposes the slip

you can clip the value a 0.5 and assume that a slip value less than 0.5 is normal, after that the tire is sliding and can produce sound, skid mark, etc.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Vehicle skid marks and tire smoke

Postby Shaderman » Mon Oct 03, 2016 1:03 am

Thanks a lot Julio, will try it once i have some spare time again.
Shaderman
 
Posts: 66
Joined: Tue Mar 08, 2016 2:51 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests

cron