 |
libRBR
v1.2.3
RBR instrument communication API
|
Go to the documentation of this file.
13 #ifndef LIBRBR_RBRINSTRUMENTVEHICLE_H
14 #define LIBRBR_RBRINSTRUMENTVEHICLE_H
21 #define RBRINSTRUMENT_REGIME_MAX 3
24 #define RBRINSTRUMENT_REGIME_BOUNDARY_MAX 65535
27 #define RBRINSTRUMENT_REGIME_BINSIZE_MAX 6553.5
30 #define RBRINSTRUMENT_REGIME_SAMPLING_PERIOD_MAX 65000
@ RBRINSTRUMENT_REFERENCE_ABSOLUTE
Definition: RBRInstrumentVehicle.h:71
float slowThreshold
Sets the boundary, based on the previous profile, where the instrument should switch to the slow peri...
Definition: RBRInstrumentVehicle.h:282
RBRInstrumentError RBRInstrument_getDirectionDependentSampling(RBRInstrument *instrument, RBRInstrumentDirectionDependentSampling *ddsampling)
Get the instrument direction-dependent sampling settings.
RBRInstrumentError RBRInstrument_setRegime(RBRInstrument *instrument, const RBRInstrumentRegime *regime)
Set the instrument regime settings.
RBRInstrumentError RBRInstrument_getRegime(RBRInstrument *instrument, RBRInstrumentRegime *regime)
Get the instrument regime settings.
@ RBRINSTRUMENT_REFERENCE_SEAPRESSURE
Definition: RBRInstrumentVehicle.h:73
float fastThreshold
Sets the boundary, based on the previous profile, where the instrument should switch to the fast peri...
Definition: RBRInstrumentVehicle.h:274
RBRInstrumentDirection direction
In which direction the instrument samples at the fast rate.
Definition: RBRInstrumentVehicle.h:252
@ RBRINSTRUMENT_DIRECTION_ASCENDING
Definition: RBRInstrumentVehicle.h:43
@ RBRINSTRUMENT_DIRECTION_DESCENDING
Definition: RBRInstrumentVehicle.h:45
int32_t count
The number of regimes that are set.
Definition: RBRInstrumentVehicle.h:106
RBRInstrumentError RBRInstrument_setDirectionDependentSampling(RBRInstrument *instrument, RBRInstrumentDirectionDependentSampling *ddsampling)
Set the instrument regime settings.
@ RBRINSTRUMENT_UNKNOWN_REFERENCE
Definition: RBRInstrumentVehicle.h:77
RBRInstrumentDirection
Whether settings apply to ascent or descent.
Definition: RBRInstrumentVehicle.h:40
int32_t RBRInstrumentPeriod
A periodic parameter.
Definition: RBRInstrument.h:191
RBRInstrumentPeriod samplingPeriod
The same meaning as RBRInstrumentSampling.period, but applies only to this particular regime.
Definition: RBRInstrumentVehicle.h:190
@ RBRINSTRUMENT_UNKNOWN_DIRECTION
Definition: RBRInstrumentVehicle.h:49
struct RBRInstrumentRegimes RBRInstrumentRegimes
Instrument regimes command parameters.
RBRInstrumentError
Errors which can be returned from library functions.
Definition: RBRInstrument.h:200
@ RBRINSTRUMENT_DIRECTION_COUNT
Definition: RBRInstrumentVehicle.h:47
RBRInstrumentPeriod fastPeriod
The same meaning as RBRInstrumentSampling.period, but applies only when the instrument is moving in t...
Definition: RBRInstrumentVehicle.h:259
float boundary
The first boundary in a region.
Definition: RBRInstrumentVehicle.h:177
RBRInstrumentError RBRInstrument_getRegimes(RBRInstrument *instrument, RBRInstrumentRegimes *regimes)
Get the instrument regimes settings.
RBRInstrumentRegimesReference
The types of pressure available for use a reference for the determination of the current regime and b...
Definition: RBRInstrumentVehicle.h:68
@ RBRINSTRUMENT_REFERENCE_COUNT
Definition: RBRInstrumentVehicle.h:75
float binSize
The size used for each averaged bin.
Definition: RBRInstrumentVehicle.h:183
RBRInstrumentPeriod slowPeriod
The same meaning as RBRInstrumentSampling.period, but applies only when the instrument is not moving ...
Definition: RBRInstrumentVehicle.h:266
const char * RBRInstrumentRegimesReference_name(RBRInstrumentRegimesReference reference)
Get a human-readable string name for a regime pressure reference.
Instrument regimes command parameters.
Definition: RBRInstrumentVehicle.h:97
RBRInstrumentError RBRInstrument_setRegimes(RBRInstrument *instrument, const RBRInstrumentRegimes *regimes)
Set the instrument regimes settings.
uint8_t RBRInstrumentRegimeIndex
A regime identifier.
Definition: RBRInstrumentVehicle.h:152
Core library context object.
Definition: RBRInstrument.h:591
RBRInstrumentRegimeIndex index
The index of the regime in question.
Definition: RBRInstrumentVehicle.h:171
struct RBRInstrumentRegime RBRInstrumentRegime
Instrument regime command parameters.
Instrument ddsampling command parameters.
Definition: RBRInstrumentVehicle.h:249
const char * RBRInstrumentDirection_name(RBRInstrumentDirection direction)
Get a human-readable string name for an instrument direction.
Instrument regime command parameters.
Definition: RBRInstrumentVehicle.h:161
RBRInstrumentDirection direction
The regimes-relevant direction through the water column.
Definition: RBRInstrumentVehicle.h:100
struct RBRInstrumentDirectionDependentSampling RBRInstrumentDirectionDependentSampling
Instrument ddsampling command parameters.
RBRInstrumentRegimesReference reference
The pressure type used for regime and bin determination.
Definition: RBRInstrumentVehicle.h:108