Running an experiment with a point mass urdf, two-dimensional goal and fabrics results in a key error when post-processing.
Variables for the goals and forward kinematics are created based on the dimensions of the obstacles, which is often three-dimensional.
If the goal is defined to be two-dimensional and both the goal and forward kinematics are stored as two-dimensional, the postProcessor will try to find the third-dimension variables for both the goal and forward kinematics, which does not always exist.
Solution: create the variable names for goal and forward kinematics dependent on the goal indices instead of the obstacle dimensions.
Running an experiment with a point mass urdf, two-dimensional goal and fabrics results in a key error when post-processing. Variables for the goals and forward kinematics are created based on the dimensions of the obstacles, which is often three-dimensional.
If the goal is defined to be two-dimensional and both the goal and forward kinematics are stored as two-dimensional, the postProcessor will try to find the third-dimension variables for both the goal and forward kinematics, which does not always exist.
Solution: create the variable names for goal and forward kinematics dependent on the goal indices instead of the obstacle dimensions.