Public Member Functions | Public Attributes | List of all members
RealRobot::Wheel Struct Reference

Public Member Functions

double calcEncAngle ()
 
 Wheel (const std::string &wheel_name, int counts_per_rev)
 

Public Attributes

double cmd = 0
 
double eff = 0
 
int enc = 0
 
std::string name = ""
 
double pos = 0
 
double rads_per_count = 0
 
double vel = 0
 
double velSetPt = 0
 

Detailed Description

Definition at line 30 of file real_robot.h.

Constructor & Destructor Documentation

◆ Wheel()

RealRobot::Wheel::Wheel ( const std::string &  wheel_name,
int  counts_per_rev 
)

Definition at line 4 of file real_robot.cpp.

Member Function Documentation

◆ calcEncAngle()

double RealRobot::Wheel::calcEncAngle ( )

Definition at line 11 of file real_robot.cpp.

Member Data Documentation

◆ cmd

double RealRobot::Wheel::cmd = 0

Definition at line 34 of file real_robot.h.

◆ eff

double RealRobot::Wheel::eff = 0

Definition at line 37 of file real_robot.h.

◆ enc

int RealRobot::Wheel::enc = 0

Definition at line 33 of file real_robot.h.

◆ name

std::string RealRobot::Wheel::name = ""

Definition at line 32 of file real_robot.h.

◆ pos

double RealRobot::Wheel::pos = 0

Definition at line 35 of file real_robot.h.

◆ rads_per_count

double RealRobot::Wheel::rads_per_count = 0

Definition at line 39 of file real_robot.h.

◆ vel

double RealRobot::Wheel::vel = 0

Definition at line 36 of file real_robot.h.

◆ velSetPt

double RealRobot::Wheel::velSetPt = 0

Definition at line 38 of file real_robot.h.


The documentation for this struct was generated from the following files:


diffdrive_arduino
Author(s): Josh Newans
autogenerated on Mon Feb 28 2022 22:13:39