1
Fork 0

fix: function name error

This commit is contained in:
Jona Reynaert 2026-05-15 19:52:06 +02:00
parent 3dfcfc493e
commit 3eb6e0fb45

View file

@ -141,7 +141,7 @@ def main() -> None:
# Optionally override robot color by recoloring geoms belonging to the robot's body subtree.
if args.robot_color is not None:
robot_rgba = _hex_to_rgba(args.robot_color, 1.0)
robot_rgba = hex_to_rgba(args.robot_color, 1.0)
# Collect body IDs in the subtree rooted at `body_id` by walking parent links.
nbody = int(model.nbody)
body_parent = model.body_parentid