gRPC client implementation of a PoseTracker
component.
More...
#include <pose_tracker_client.hpp>
|
| PoseTrackerClient (std::string name, std::shared_ptr< grpc::Channel > channel) |
|
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.
|
|
std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra) override |
| Returns GeometryConfig s associated with the calling pose tracker.
|
|
std::vector< GeometryConfig > | get_geometries () |
| Returns GeometryConfig s associated with the calling pose tracker.
|
|
virtual std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra)=0 |
| Returns GeometryConfig s 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.
|
|
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 GeometryConfig s associated with the calling pose tracker.
|
|
Name | get_resource_name () const override |
| Returns the Name for a particular resource.
|
|
| Resource (std::string name) |
|
virtual std::string | name () const |
| Return the resource's name.
|
|
|
| Component () |
|
| Component (std::string name) |
|
| Component (std::string name) |
|
Name | get_resource_name (const std::string &type) const |
|
gRPC client implementation of a PoseTracker
component.
◆ do_command()
ProtoStruct viam::sdk::impl::PoseTrackerClient::do_command |
( |
const ProtoStruct & | command | ) |
|
|
overridevirtual |
Send/receive arbitrary commands to the resource.
- Parameters
-
Command | the command to execute. |
- Returns
- The result of the executed command.
Implements viam::sdk::PoseTracker.
◆ get_geometries() [1/2]
std::vector< GeometryConfig > viam::sdk::impl::PoseTrackerClient::get_geometries |
( |
const ProtoStruct & | extra | ) |
|
|
overridevirtual |
◆ get_geometries() [2/2]
virtual std::vector< GeometryConfig > viam::sdk::PoseTracker::get_geometries |
( |
const ProtoStruct & | extra | ) |
|
|
virtual |
◆ get_poses() [1/3]
pose_map viam::sdk::PoseTracker::get_poses |
( |
const std::vector< std::string > & | body_names | ) |
|
|
inline |
Get the poses of each body tracked by the pose tracker.
- Parameters
-
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. |
- Returns
- A mapping of each body to its pose.
◆ get_poses() [2/3]
PoseTracker::pose_map viam::sdk::impl::PoseTrackerClient::get_poses |
( |
const std::vector< std::string > & | body_names, |
|
|
const ProtoStruct & | extra ) |
|
overridevirtual |
Get the poses of each body tracked by the pose tracker.
- Parameters
-
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. |
- Returns
- A mapping of each body to its pose.
Implements viam::sdk::PoseTracker.
◆ get_poses() [3/3]
virtual pose_map viam::sdk::PoseTracker::get_poses |
( |
const std::vector< std::string > & | body_names, |
|
|
const ProtoStruct & | extra ) |
|
virtual |
Get the poses of each body tracked by the pose tracker.
- Parameters
-
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. |
- Returns
- A mapping of each body to its pose.
Implements viam::sdk::PoseTracker.
The documentation for this class was generated from the following file: