-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix moveit_py Policy docs build (#2584)
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ MoveItPy API Documentation | |
|
||
moveit_py.core | ||
moveit_py.planning | ||
moveit_py.policies | ||
moveit_py.servo_client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
"""Utilities for learned policy deployment. | ||
This module can be used to configure moveit_servo for learning based applications. | ||
""" | ||
|
||
from .policy import Policy |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import abc | ||
from abc import ABC, abstractmethod | ||
from rclpy.node import Node | ||
from typing import Any | ||
|
||
class Policy(ABC, Node, metaclass=abc.ABCMeta): | ||
logger: Any | ||
param_listener: Any | ||
params: Any | ||
activate_policy_service: Any | ||
_is_active: bool | ||
def __init__(self, params, node_name) -> None: ... | ||
@property | ||
def is_active(self) -> Any: ... | ||
def activate_policy(self, request: Any, response: Any) -> Any: ... | ||
def get_sensor_msg_type(self, msg_type: str) -> Any: ... | ||
def get_command_msg_type(self, msg_type: str) -> Any: ... | ||
def register_sensors(self): ... | ||
def register_command(self): ... | ||
@abstractmethod | ||
def forward(self): ... |