Trying to log data from UM6 sensor with GPS receiver LS20031. I have two problems: - I can't log to file at a fast rate (<0.5s) without data values freezing to a fixed value. Print to pc screen it works fine. Ideally I would do this with an interrupt (e.g. ticker) so that the time of each reading is a fixed interval - I removed this as I thought this was causing the problem. - I want to record GPS lat and long. I have setup the GPS ground speed so I know the sensor are communicating. So I possibly havent set the config file to correctly interpet these two signals.

Dependencies:   MODSERIAL mbed

Fork of UM6_IMU_AHRS_2012 by lhiggs CSUM

Embed: (wiki syntax)

« Back to documentation index

MODSERIAL Internals

MODSERIAL Internals

Functions

int rxDiscardLastChar (void)
 Remove the last char placed into the rx buffer.

Variables

MODSERIAL_IRQ_INFO callbackInfo
 Used to pass information to callbacks.

Function Documentation

int rxDiscardLastChar ( void   ) [protected, inherited]

Remove the last char placed into the rx buffer.

This is an operation that can only be performed by an rxCallback function. To protect the buffers this function is defined protected so that a regular application cannot call it directly. It can only be called by the public version within a MODSERIAL_IRQ_INFO class.

Returns:
The byte removed from the buffer.

Definition at line 118 of file MODSERIAL.cpp.


Variable Documentation

MODSERIAL_IRQ_INFO callbackInfo [protected, inherited]

Used to pass information to callbacks.

Definition at line 790 of file MODSERIAL.h.