Viam C++ SDK current
Loading...
Searching...
No Matches
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
10namespace viam {
11namespace sdk {
12
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
Definition geometry.hpp:42
Definition frame.hpp:13
Definition orientation.hpp:19
Definition orientation_types.hpp:36