Viam C++ SDK
current
Loading...
Searching...
No Matches
src
viam
sdk
referenceframe
frame.hpp
1
#pragma once
2
3
#include <string>
4
5
#include <viam/api/app/v1/robot.pb.h>
6
7
#include <viam/sdk/spatialmath/geometry.hpp>
8
#include <viam/sdk/spatialmath/orientation.hpp>
9
10
namespace
viam {
11
namespace
sdk {
12
13
class
LinkConfig
{
14
public
:
15
viam::app::v1::Frame to_proto()
const
;
16
static
LinkConfig
from_proto(
const
viam::app::v1::Frame& proto);
17
translation
get_translation()
const
;
18
OrientationConfig
get_orientation_config()
const
;
19
GeometryConfig
get_geometry_config()
const
;
20
std::string get_parent()
const
;
21
22
private
:
23
std::string id_;
24
translation
translation_;
25
OrientationConfig
orientation_;
26
GeometryConfig
geometry_;
27
std::string parent_;
28
};
29
30
}
// namespace sdk
31
}
// namespace viam
viam::sdk::GeometryConfig
Definition
geometry.hpp:42
viam::sdk::LinkConfig
Definition
frame.hpp:13
viam::sdk::OrientationConfig
Definition
orientation.hpp:19
viam::sdk::translation
Definition
orientation_types.hpp:36
Generated by
1.10.0