Terrain implementation in Simmechanics

2 views (last 30 days)
Simone
Simone on 31 Mar 2014
Edited: Simone on 3 May 2014
Hi everybody, I'm quite new in the Simmechanics world and I need some help for my problem. I'm studying the motion of a legged robot modeled in Simmechanics and I need to see how the robot walks when moving on a rough terrain. So, let's assume that I have created my rough surface in Matlab, how can I implement it in Simmechanics as a ground? There is also the problem that the model needs to recognize on which point the i-th leg is supported. Any suggestion? Thank you in advance.
Update. I've solved the main problem thanks to the scatteredInterpolant function and using different spring/damper system for each leg. Now I've a minor problem: I want to display the whole (rough) ground and the robot walking over it. Due to the very high number of points of the ground I don't want to insert them as CS in the body which represents the ground. What can I do? Do I need to use the VR Toolbox? Thanks in advance.
Simone

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!