File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/jaxsim/parsers/descriptions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5
5
from collections .abc import Sequence
6
6
7
7
from jaxsim import logging
8
+ from jaxsim .logging import jaxsim_warn
8
9
9
10
from ..kinematic_graph import KinematicGraph , KinematicGraphTransforms , RootPose
10
11
from .collision import CollidablePoint , CollisionShape
@@ -164,7 +165,7 @@ def reduce(self, considered_joints: Sequence[str]) -> ModelDescription:
164
165
A `ModelDescription` instance that only includes the considered joints.
165
166
"""
166
167
167
- logging . warning (
168
+ jaxsim_warn (
168
169
"The joint order in the model description is not preserved when reducing "
169
170
"the model. Consider using the `names_to_indices` method to get the correct "
170
171
"order of the joints, or use the `joint_names()` method to inspect the internal joint ordering."
You can’t perform that action at this time.
0 commit comments