libstp
Robotics library for Botball
Loading...
Searching...
No Matches
motion_pid.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
#include "
foundation/pid.hpp
"
5
6
namespace
libstp::motion
7
{
8
// Forward declaration
9
struct
UnifiedMotionPidConfig
;
10
14
enum class
PidType
15
{
16
Distance
,
// For forward/backward distance control
17
Heading
,
// For heading/yaw control
18
};
19
26
std::unique_ptr<foundation::PidController>
createPidController
(
27
const
UnifiedMotionPidConfig
& unified_config,
28
PidType
type);
29
}
libstp::motion
Definition
arc_motion.hpp:12
libstp::motion::PidType
PidType
Definition
motion_pid.hpp:15
libstp::motion::PidType::Heading
@ Heading
Definition
motion_pid.hpp:17
libstp::motion::PidType::Distance
@ Distance
Definition
motion_pid.hpp:16
libstp::motion::createPidController
std::unique_ptr< foundation::PidController > createPidController(const UnifiedMotionPidConfig &unified_config, PidType type)
pid.hpp
libstp::motion::UnifiedMotionPidConfig
Definition
motion_config.hpp:41
modules
libstp-motion
include
motion
motion_pid.hpp
Generated by
1.15.0