C# Mine
ContentsIndexHome
PreviousUpNext
RiceTiltBase.UpdateSensorProfileConfig1 Method

sets all data for the ProfileConfig1 configuration available on the sensor

Syntax
C#
public static void UpdateSensorProfileConfig1(Sensor sens, double hysteresis, int pitchMinimum, int pitchMaximum, int rollMinimum, int rollMaximum, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double hysteresis 
the amount of assessments the sensor where take inbetween heartbeats if during these assesments the value is above or below respective triggering thresholds it will send an aware state message. 
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 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!