-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
If it’s not a bug, please use discussions: https://github.com/NVlabs/curobo/discussions
Please provide the below information in addition to your issue:
- cuRobo installation mode (choose from [python, isaac sim, docker python, docker isaac sim]): isaac sim
- python version: Native Python 3.10 that came with isaac sim
- Isaac Sim version (if using): 4.1.0
Issue Details
The multi_arm_reacher example would crash if:
- Press play
- Move the red cube so the arms start moving
- press either "Pause" or "Stop"
The error message would be:
if i % 100 == 0:
TypeError: not all arguments converted during string formatting
The issue is due to an out-of-scope iterator variable i in these lines. The fix is simply change the i's to, e.g., k
for k in target_links.keys():
c_p, c_rot = target_links[k].get_world_pose()
link_poses[k] = Pose(
position=tensor_args.to_device(c_p),
quaternion=tensor_args.to_device(c_rot),
)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers