Moco mesh interval

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Moco mesh interval

Post by Mohammadreza Rezaie » Thu Jul 25, 2024 10:47 pm

Hi, I have a very stupid question about the number of meshes in Moco. I set the mesh interval to 0.01 (29 meshes), but the time interval of the output is 0.00491379 (59 rows), which is almost double. In general, shouldn't the total number of meshes be identical to the number of rows in the output file? I'm asking because this was the case for MRS.
Any help is greatly appreciated, thank you.

Tags:

User avatar
Nicholas Bianco
Posts: 1041
Joined: Thu Oct 04, 2012 8:09 pm

Re: Moco mesh interval

Post by Nicholas Bianco » Fri Jul 26, 2024 9:50 am

Hi Mohammadreza,

If using the Hermite-Simpson collocation scheme (the default), then there are three time points per mesh interval. This means that there will be 2*N + 1 time points in the trajectory, where N is the number of mesh intervals.

Best,
Nick

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: Moco mesh interval

Post by Mohammadreza Rezaie » Fri Jul 26, 2024 9:56 am

Hi Nick,
Understood, I appreciate your help.

POST REPLY