peripherals  1.4.2
RoadNarrows Robotics Hardware Peripherals Package
Yost Class Reference

Public Member Functions

int OpenYost ()
 
void CloseYost ()
 
int ResetAngles ()
 
int MagOff ()
 
int MagOn ()
 
int ReadEuler (float &ex, float &why, float &zee)
 
int ReadQuat (float &dubya, float &ex, float &why, float &zee)
 
int ReadVectors (float &downx, float &downy, float &downz, float &forx, float &fory, float &forz)
 
int ReadDecoupleAngles (float &yaw, float &pitch, float &roll)
 
int ReadAccel (float &ex, float &why, float &zee)
 
int ReadConfidence (float &cee)
 
int ReadTemp (int &tee)
 

Private Member Functions

int checkYost ()
 
int setAttributes (int fileDesc)
 
int writeNRead (uint8_t *from, const char *to)
 
int checkIfYost (const char *dev)
 
int gyroSpeed (int speed)
 
int setYostToDefault ()
 
int calibGyro ()
 
int resetKalman ()
 
void normalize (double *nx, double *ny, double *nz)
 

Private Attributes

struct libusb_device_handle * USB_lock
 
struct libusb_context * tmpcntxt
 
int FD
 

Detailed Description

Definition at line 14 of file yost.h.


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