|
Viam C++ SDK current
|
gRPC client implementation of a PoseTracker component.
More...
#include <pose_tracker_client.hpp>
Inheritance diagram for viam::sdk::impl::PoseTrackerClient:Public Types | |
| using | interface_type = PoseTracker |
Public Types inherited from viam::sdk::PoseTracker | |
| using | pose_map = std::unordered_map<std::string, pose_in_frame> |
Public Member Functions | |
| PoseTrackerClient (std::string name, const ViamChannel &channel) | |
| const ViamChannel & | channel () const |
| PoseTracker::pose_map | get_poses (const std::vector< std::string > &body_names, const ProtoStruct &extra) override |
| Get the poses of each body tracked by the pose tracker. | |
| ProtoStruct | do_command (const ProtoStruct &command) override |
| Send/receive arbitrary commands to the resource. | |
| ProtoStruct | get_status () override |
| Get the status of the pose tracker. | |
| std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra) override |
Returns GeometryConfigs associated with the calling pose tracker. | |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling pose tracker. | |
| virtual std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra)=0 |
Returns GeometryConfigs associated with the calling pose tracker. | |
| pose_map | get_poses (const std::vector< std::string > &body_names) |
| Get the poses of each body tracked by the pose tracker. | |
| virtual pose_map | get_poses (const std::vector< std::string > &body_names, const ProtoStruct &extra)=0 |
| Get the poses of each body tracked by the pose tracker. | |
Public Member Functions inherited from viam::sdk::PoseTracker | |
| API | api () const override |
Returns the API associated with a particular resource. | |
| pose_map | get_poses (const std::vector< std::string > &body_names) |
| Get the poses of each body tracked by the pose tracker. | |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling pose tracker. | |
Public Member Functions inherited from viam::sdk::Component | |
| Name | get_resource_name () const override |
Returns the Name for a particular resource. | |
Public Member Functions inherited from viam::sdk::Resource | |
| Resource (std::string name) | |
| Resource (const ResourceConfig &cfg) | |
| Construct from a resource config. Use this overload to ensure Viam App log filtering works immediately during object construction. | |
| virtual std::string | name () const |
| Return the resource's name. | |
| void | set_log_level (log_level) const |
| Set the log level for log messages originating from this Resource. | |
Additional Inherited Members | |
Protected Member Functions inherited from viam::sdk::PoseTracker | |
| Component () | |
| Component (std::string name) | |
| Component (const ResourceConfig &cfg) | |
Protected Member Functions inherited from viam::sdk::Component | |
| Component (std::string name) | |
| Component (const ResourceConfig &cfg) | |
Protected Member Functions inherited from viam::sdk::Resource | |
| Name | get_resource_name (const std::string &type) const |
Protected Attributes inherited from viam::sdk::Resource | |
| LogSource | logger_ |
gRPC client implementation of a PoseTracker component.
|
overridevirtual |
Send/receive arbitrary commands to the resource.
| Command | the command to execute. |
Implements viam::sdk::PoseTracker.
|
overridevirtual |
Returns GeometryConfigs associated with the calling pose tracker.
| extra | Any additional arguments to the method |
Implements viam::sdk::PoseTracker.
|
virtual |
Returns GeometryConfigs associated with the calling pose tracker.
| extra | Any additional arguments to the method |
Implements viam::sdk::PoseTracker.
|
inline |
Get the poses of each body tracked by the pose tracker.
| tracker_name | The name of the pose tracker. |
| body_names | Names of bodies whose poses are being requested. If the vector is empty then all available poses are returned. |
|
overridevirtual |
Get the poses of each body tracked by the pose tracker.
| tracker_name | The name of the pose tracker. |
| body_names | Names of bodies whose poses are being requested. If the vector is empty then all available poses are returned. |
| extra | Any additional arguments to the method. |
Implements viam::sdk::PoseTracker.
|
virtual |
Get the poses of each body tracked by the pose tracker.
| tracker_name | The name of the pose tracker. |
| body_names | Names of bodies whose poses are being requested. If the vector is empty then all available poses are returned. |
| extra | Any additional arguments to the method. |
Implements viam::sdk::PoseTracker.
|
overridevirtual |
Get the status of the pose tracker.
ProtoStruct containing the status of the pose tracker. Implements viam::sdk::PoseTracker.