6#include <grpcpp/channel.h>
8#include <viam/api/component/posetracker/v1/pose_tracker.grpc.pb.h>
25 PoseTracker::pose_map
get_poses(
const std::vector<std::string>& body_names,
26 const AttributeMap& extra)
override;
28 AttributeMap
do_command(
const AttributeMap& command)
override;
30 std::vector<GeometryConfig>
get_geometries(
const AttributeMap& extra)
override;
36 using StubType = viam::component::posetracker::v1::PoseTrackerService::StubInterface;
37 std::unique_ptr<StubType> stub_;
38 std::shared_ptr<grpc::Channel> channel_;
A PoseTracker represents a physical pose or motion tracking device.
Definition pose_tracker.hpp:27
std::vector< GeometryConfig > get_geometries()
Returns GeometryConfigs associated with the calling pose tracker.
Definition pose_tracker.hpp:57
pose_map get_poses(const std::vector< std::string > &body_names)
Get the poses of each body tracked by the pose tracker.
Definition pose_tracker.hpp:38
virtual std::string name() const
Return the resource's name.
gRPC client implementation of a PoseTracker component.
Definition pose_tracker_client.hpp:19
PoseTracker::pose_map get_poses(const std::vector< std::string > &body_names, const AttributeMap &extra) override
Get the poses of each body tracked by the pose tracker.
AttributeMap do_command(const AttributeMap &command) override
Send/receive arbitrary commands to the resource.
std::vector< GeometryConfig > get_geometries(const AttributeMap &extra) override
Returns GeometryConfigs associated with the calling pose tracker.
Defines a PoseTracker component.