You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using this library for some simulations the last month or two and have been very happy so far. I have a slight issue when working with a robot with a large number of joints (>50) - it would be helpful to be able to be able to update the state so that only a certain subset of joints are "active", and the rest would just be treated as fixed joints with their current values. It seems like this may be possible based on the SegmentedVector data structure used to represent the joint state (I'm not too sure how to set up a mimic-joint style linear relation between variables, however).
The text was updated successfully, but these errors were encountered:
Purely updating the state of individual joints can be done using the set_position!(state, joint, pos) and set_velocity!(state, joint, vel) methods.
If you want to treat the other joints as fixed during some dynamics calculation, you can quite simply remove the corresponding rows and columns from the mass matrix and elements from the vectors.
There is probably a way to modify how the mass matrix and vectors are created so that those elements aren't calculated but I needed to remove individual joint velocities so I used the former approach.
Hi there,
I've been using this library for some simulations the last month or two and have been very happy so far. I have a slight issue when working with a robot with a large number of joints (>50) - it would be helpful to be able to be able to update the state so that only a certain subset of joints are "active", and the rest would just be treated as fixed joints with their current values. It seems like this may be possible based on the SegmentedVector data structure used to represent the joint state (I'm not too sure how to set up a mimic-joint style linear relation between variables, however).
The text was updated successfully, but these errors were encountered: