Skip to content

spot_leash error #172

@justyx404

Description

@justyx404

I encoutered this following error while launching the latest ros 2 drivers

[spot_ros2-1] [wrapper.py:974] Traceback (most recent call last):
[spot_ros2-1]   File "/ros_ws/install/spot_wrapper/lib/python3.10/site-packages/spot_wrapper/wrapper.py", line 959, in claim
[spot_ros2-1]     if not self._spot_leash.claim():
[spot_ros2-1]   File "/ros_ws/install/spot_wrapper/lib/python3.10/site-packages/spot_wrapper/spot_leash.py", line 141, in claim
[spot_ros2-1]     for resource in self._lease_task.proto:
[spot_ros2-1] TypeError: 'NoneType' object is not iterable

And due to it, the wasd examples (and would imagine many others) completely doesn't work. Will post a PR if it is an easy fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions