simulation 3d, gravity effect and force feedback
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i have a force feedback enabled joystick and if i have a model in simulation 3d in which a robotic pick n place application is created, than if the robotic arm tries to pick some object, can we have a gravity(earth's gravity) effect on that object? so that the effect of gravity can be felt at the jostick
0 comentarios
Respuestas (1)
JMP Phillips
el 19 de Ag. de 2015
I interpret this to mean that you want your joystick to feel heavy when it picks up an object. That depends if your joystick force feedback is programmable or not. Did it come with an SDK or otherwise that you can adjust the feedback settings?
2 comentarios
JMP Phillips
el 20 de Ag. de 2015
I think you include or turn on gravity in the CAD (assume you are using SolidWorks for example) model, and then drop it into Simulink. See https://www.youtube.com/watch?v=h7wY8_eqW1s as an example.
So Simulink is really just a nice way to connect it all together - the gravity is included in the CAD itself.
Then you will need to design a Simulink block between your CAD model output into your force feedback joystick input. The block will take force outputs from the model, and convert to input signals for your joystick. Your joystick inputs will need to be appropriately scaled for the CAD model outputs - one way is to normalize the inputs and outputs between 0 and 1 (1 for maximum force, 0 for no force).
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!