Viam C++ SDK current
Loading...
Searching...
No Matches
orientation_types.hpp
1#pragma once
2
3#include <viam/api/app/v1/robot.pb.h>
4
5namespace viam {
6namespace sdk {
7
8enum OrientationType {
9 AxisAngles,
10 OrientationVector,
11 OrientationVectorDegrees,
12 EulerAngles,
13 Quaternion,
14};
15
17 double x, y, z, theta;
18};
19
21 double yaw, roll, pitch;
22};
23
25 double x, y, z, theta;
26};
27
29 double x, y, z, theta;
30};
31
32struct quaternion {
33 double x, y, z, w;
34};
35
37 double x, y, z;
38 viam::app::v1::Translation to_proto() const;
39};
40} // namespace sdk
41} // namespace viam
Definition orientation_types.hpp:16
Definition orientation_types.hpp:20
Definition orientation_types.hpp:28
Definition orientation_types.hpp:24
Definition orientation_types.hpp:32
Definition orientation_types.hpp:36