0% found this document useful (0 votes)
153 views1 page

Deadreckoning H

This C++ header file contains function prototypes for dead reckoning localization. It defines functions to initialize dead reckoning, get the x, y coordinates and heading of a robot from encoder data, and manually set the coordinates and heading.

Uploaded by

api-272643960
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
153 views1 page

Deadreckoning H

This C++ header file contains function prototypes for dead reckoning localization. It defines functions to initialize dead reckoning, get the x, y coordinates and heading of a robot from encoder data, and manually set the coordinates and heading.

Uploaded by

api-272643960
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

#ifndef DEADRECKONING_H

#define DEADRECKONING_H
// Public Function Prototypes
void InitDeadReckoning(void);
/*
Returns x,y coordinates of the bot and the current heading as calculated from
the encoder data
*/
double GetX(void);
double GetY(void);
double GetHeading(void);
/*
Set the x,y coordinates and heading manually if desired
*/
void SetCoordinates(double x, double y, double heading);
#endif //DEADRECKONING_H

You might also like