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 ProtoStruct& extra)
override;
28 ProtoStruct
do_command(
const ProtoStruct& command)
override;
30 std::vector<GeometryConfig>
get_geometries(
const ProtoStruct& 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:24
std::vector< GeometryConfig > get_geometries()
Returns GeometryConfigs associated with the calling pose tracker.
Definition pose_tracker.hpp:54
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:35
virtual std::string name() const
Return the resource's name.
gRPC client implementation of a PoseTracker component.
Definition pose_tracker_client.hpp:19
std::vector< GeometryConfig > get_geometries(const ProtoStruct &extra) override
Returns GeometryConfigs associated with the calling pose tracker.
ProtoStruct do_command(const ProtoStruct &command) override
Send/receive arbitrary commands to the resource.
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.
Defines a PoseTracker component.