LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
physicalmodel.hpp
Go to the documentation of this file.
1
7#ifndef _PHYSICAL_MODEL_PHYSICAL_MODEL_HPP_
8#define _PHYSICAL_MODEL_PHYSICAL_MODEL_HPP_
9
10#include "constraints.hpp"
11#include "geometry/pose.hpp"
12
13namespace squiggles {
15 public:
26 virtual Constraints
27 constraints(const Pose pose, double curvature, double vel) = 0;
28
36 virtual std::vector<double> linear_to_wheel_vels(double linear,
37 double curvature) = 0;
38
39 virtual std::string to_string() const = 0;
40};
41} // namespace squiggles
42
43#endif
virtual std::vector< double > linear_to_wheel_vels(double linear, double curvature)=0
Converts a linear velocity and desired curvature into the component for each wheel of the robot.
virtual Constraints constraints(const Pose pose, double curvature, double vel)=0
Calculate a set of stricter constraints for the path at the given state than the general constraints ...
virtual std::string to_string() const =0
Copyright 2020 Jonathan Bayless.