fix(docs): update send_feedback docstrings
This commit is contained in:
@@ -300,10 +300,6 @@ def send_action(self, action: dict[str, Any]) -> dict[str, Any]:
|
|||||||
return action
|
return action
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- ## Putting it all together (TODO)
|
|
||||||
```python
|
|
||||||
``` -->
|
|
||||||
|
|
||||||
## Adding a Teleoperator
|
## Adding a Teleoperator
|
||||||
|
|
||||||
For implementing teleoperation devices, we also provide a [`Teleoperator`](https://github.com/huggingface/lerobot/blob/main/lerobot/common/teleoperators/teleoperator.py) base class. This class is very similar to the `Robot` base class and also doesn't assume anything on form factor.
|
For implementing teleoperation devices, we also provide a [`Teleoperator`](https://github.com/huggingface/lerobot/blob/main/lerobot/common/teleoperators/teleoperator.py) base class. This class is very similar to the `Robot` base class and also doesn't assume anything on form factor.
|
||||||
|
|||||||
@@ -165,8 +165,8 @@ class Teleoperator(abc.ABC):
|
|||||||
Send a feedback action command to the teleoperator.
|
Send a feedback action command to the teleoperator.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
action (dict[str, Any]): Dictionary representing the desired action. Its structure should match
|
feedback (dict[str, Any]): Dictionary representing the desired feedback. Its structure should match
|
||||||
:pymeth:`action_features`.
|
:pymeth:`feedback_features`.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
dict[str, Any]: The action actually sent to the motors potentially clipped or modified, e.g. by
|
dict[str, Any]: The action actually sent to the motors potentially clipped or modified, e.g. by
|
||||||
|
|||||||
Reference in New Issue
Block a user