RIT VEXU Core API
Loading...
Searching...
No Matches
VDP::OdometryControlRecord Class Reference

#include <builtins.hpp>

Inheritance diagram for VDP::OdometryControlRecord:
VDP::Record VDP::Part

Public Member Functions

 OdometryControlRecord (std::string name, OdometryBase &odom)
 
void response () override
 
- Public Member Functions inherited from VDP::Record
 Record (std::string name)
 
 Record (std::string name, const std::vector< Part * > &parts)
 
 Record (std::string name, std::vector< PartPtr > parts)
 
 Record (std::string name, PacketReader &reader)
 
void set_fields (std::vector< PartPtr > fields)
 
void fetch () override
 
void read_data_from_message (PacketReader &reader) override
 
- Public Member Functions inherited from VDP::Part
 Part (std::string name)
 
std::string pretty_print () const
 
std::string pretty_print_data () const
 

Additional Inherited Members

- Protected Member Functions inherited from VDP::Record
void write_schema (PacketWriter &sofar) const override
 
void write_message (PacketWriter &sofar) const override
 

Detailed Description

Defines a record sets odometry values from the board

Constructor & Destructor Documentation

◆ OdometryControlRecord()

VDP::OdometryControlRecord::OdometryControlRecord ( std::string name,
OdometryBase & odom )

Creates a record for taking odometry data from the debug board

Parameters
namethe name of the record to create
odomthe odometry to get data from

Member Function Documentation

◆ response()

void VDP::OdometryControlRecord::response ( )
overridevirtual

sets the odom position to the values from the board

sets the odometry position to the values from the debug board

Reimplemented from VDP::Part.


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