summaryrefslogtreecommitdiffhomepage
path: root/compat/euler.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-04 20:14:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-04 20:14:16 +0200
commit538853d89547a101f2af7c7e193a0d05576e6247 (patch)
treedd208401caa8636087cf684ee44a2a9961435ee2 /compat/euler.cpp
parent85162f706e5c85c5dfe98d14c0096ed18670dcf8 (diff)
change awkward type name
Diffstat (limited to 'compat/euler.cpp')
-rw-r--r--compat/euler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/euler.cpp b/compat/euler.cpp
index 889fc53e..5d6fb25b 100644
--- a/compat/euler.cpp
+++ b/compat/euler.cpp
@@ -4,7 +4,7 @@
namespace euler {
-euler_t rmat_to_euler(const rmat& R)
+Pose_ rmat_to_euler(const rmat& R)
{
const double cy = sqrt(R(2,2)*R(2, 2) + R(2, 1)*R(2, 1));
const bool large_enough = cy > 1e-10;
@@ -23,7 +23,7 @@ euler_t rmat_to_euler(const rmat& R)
}
// tait-bryan angles, not euler
-rmat euler_to_rmat(const euler_t& input)
+rmat euler_to_rmat(const Pose_& input)
{
const double H = -input(0);
const double P = -input(1);