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
13
namespace
squiggles
{
14
class
PhysicalModel
{
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
squiggles::PhysicalModel
Definition
physicalmodel.hpp:14
squiggles::PhysicalModel::linear_to_wheel_vels
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.
squiggles::PhysicalModel::constraints
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 ...
squiggles::PhysicalModel::to_string
virtual std::string to_string() const =0
squiggles::Pose
Definition
pose.hpp:16
constraints.hpp
squiggles
Copyright 2020 Jonathan Bayless.
Definition
constraints.hpp:13
pose.hpp
squiggles::Constraints
Definition
constraints.hpp:14
include
okapi
squiggles
physicalmodel
physicalmodel.hpp
Generated by
1.9.8