I tried to make a zero-gravity environment with OpenSim 4.1. Previously, I set Vec3(0) into osimModel.setGravity(), however, I always received some errors from SimBody. So that, I gave a small gravity such as 0.01 m/s^2 in Y-axis with OpenSim 4.1. However, I received sometimes an error as following:
Is it possible to express zero-gravity environment in OpenSim 4.1? Or is there any ideas to mimic that with small gravity acceleration values? In some cases, 0.01 works for me. However, 0.01 still did not work with other cases. I could not expect what conditions make the issue of non-zero direction vector. If someone knows this issue, could you share your previous experience or solutions?RuntimeError: std::exception in 'SimTK::State & OpenSim::Model::initSystem()': SimTK Exception thrown at Force_Gravity.cpp:225:
Error detected by Simbody method Force::Gravity::Gravity(downDirection,magnitude): A non-finite 'down' direction was received; did you specify a zero-length Vec3? The direction must be non-zero.
(Required condition 'defDirection.isFinite()' was not met.)
Thank you,
Hide