WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

relativeDepth

Returns the under water depth in meters relative to when the power was switched on.
Syntax
Pressure. relativeDepth()
Where Pressure is the name you have given to the device in Project Designer.
Parameters
None
Returns
double
Note
You should make sure that your submersible is floating on the surface when the power is switched on.

 

 

Valid XHTML 1.0 Transitional