Monnit Mine Java
ContentsIndexHome
PreviousUpNext
TiltBase.UpdateSensorProfileConfig1 Method
Syntax
Java
public static void UpdateSensorProfileConfig1(Sensor sens, double hysteresis, int pitchMinimum, int pitchMaximum, int rollMinimum, int rollMaximum, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double hysteresis 
A buffer to prevent the sensor from bouncing between standard operation and aware state when the assessments are very close to a threshold. for example, if a maximum threshold is set to 90 degrees and a hysteresis of 1 degree, then once the sensor takes an assessment of 90.0 degrees and enters the aware state it will remain in the aware state until the temperature readings drop to 89.0 degrees  
int pitchMinimum 
the minimum pitch the sensor can report before it goes aware. (value range: -180 - +180)  
int pitchMaximum 
the maximum pitch the sensor can report before it goes aware. (value range: -180 - +180)  
int rollMinimum 
the minimum roll the sensor can report before it goes aware. (value range: -180 - +180)  
int rollMaximum 
the maximum roll the sensor can report before it goes aware. (value range: -180 - +180)  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the ProfileConfig1 configuration available on the sensor  

 

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!