Public Member Functions
Imu Class Reference

#include <imu.h>

Inheritance diagram for Imu:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Imu ()
void poll (void)

Detailed Description

Interface for Arduino-attached MPU-9150 IMU.

Definition at line 48 of file imu.h.


Constructor & Destructor Documentation

Imu::Imu ( )

Constructor: sets poll period to 50 msecs (40 Hz).

Definition at line 78 of file imu.cpp.


Member Function Documentation

void Imu::poll ( void  ) [virtual]

Poll interface.

When this function is called periodically, it reads the battery voltage, sending it in a serial message.

Implements ArduinoDevice.

Definition at line 95 of file imu.cpp.


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


segbot_firmware
Author(s): Jose Bigio, Jack O'Quin, Tim Eckel (NewPing library)
autogenerated on Fri Aug 28 2015 13:02:53