--
www.github.com/LSTS/
www.lsts.pt
---
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchai...@googlegroups.com.
Visit this group at https://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/d1f7a4ba-8357-4df8-afc3-7c9e633a4e21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
// override PathController getEta, to signal maneuver // completion upon passing the line perpendicular to the WP double getEta(const TrackingState& ts) { double speed = getSpeed(); double time_factor = getTimeFactor();
double errx = ts.track_length - ts.track_pos.x; double eta = errx/speed;
return std::min(65535.0,eta - time_factor); }