summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/pipeline.hpp')
-rw-r--r--logic/pipeline.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp
index dc04d44b..0061e439 100644
--- a/logic/pipeline.hpp
+++ b/logic/pipeline.hpp
@@ -37,10 +37,10 @@ using euler_t = euler::euler_t;
class reltrans
{
- euler_t tcomp_interp_pos, tcomp_last_value;
- Timer tcomp_interp_timer;
- bool tcomp_state = false;
- bool tcomp_in_zone = false;
+ euler_t interp_pos, last_value;
+ Timer interp_timer;
+ bool cur = false;
+ bool in_zone = false;
public:
reltrans();
@@ -50,7 +50,7 @@ public:
bool disable_tx, bool disable_ty, bool disable_tz) const;
warn_result_unused
- Pose apply_pipeline(bool enable, const Pose& value, const Mat<bool, 6, 1>& disable);
+ Pose apply_pipeline(reltrans_state cur, const Pose& value, const Mat<bool, 6, 1>& disable);
};
using namespace time_units;