We are simulating two orbital assets in close proximity in Simscape Multibody, and would like to compute the position of the CoM of each one via the Inertia Sensor block.
Both satellites are linked via a 6dof joint to the World frame, thus Simscape sees them as a unique mechanism.
We were able to span the Inertia Sensor measurement to either all rigidly-connected bodies of each satellite, or to the whole mechanism composed by both of them. However, we would like to compute the CoM position for each of the two satellites including all non-rigidly-connected appendages and bodies (i.e., mobile solar panels, robotic arm or others), but not including the other spacecraft and related bodies.
Is there a way to include certain bodies in the computation (e.g., those connected via revolute joints) and exlude others? We would like to avoid having to perform the computation "manually" if possible.