public class MultibeamUtil
extends java.lang.Object
| Constructor and Description |
|---|
MultibeamUtil() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
getData(java.nio.ByteBuffer bytes,
double scaleFactor,
short bitsPerPoint) |
static BathymetrySwath |
getMultibeamSwath(pt.lsts.imc.SonarData sonarData,
SystemPositionAndAttitude pose) |
static void |
main(java.lang.String[] args) |
static void |
putBytesAt(java.nio.ByteBuffer buffer,
int startPos,
byte[] bytes)
Puts the given bytes in the buffer starting at the
given position
|
static pt.lsts.imc.SonarData |
swathToSonarData(BathymetrySwath swath,
SystemPositionAndAttitude pose,
boolean useAngleStepsInData,
boolean useIntensity,
short bytesPerData)
This is to be used for testing purposes.
|
static pt.lsts.imc.SonarData |
swathToSonarDataOld(BathymetrySwath swath,
SystemPositionAndAttitude pose)
This is to be used for testing purposes.
|
static byte[] |
valueToBytes(double value,
int bytesPerPoint,
float scaleFactor)
Converts a given value into a byte a representation of
`bytesPerPoint` bytes.
|
public static BathymetrySwath getMultibeamSwath(pt.lsts.imc.SonarData sonarData, SystemPositionAndAttitude pose)
public static double[] getData(java.nio.ByteBuffer bytes,
double scaleFactor,
short bitsPerPoint)
public static byte[] valueToBytes(double value,
int bytesPerPoint,
float scaleFactor)
public static void putBytesAt(java.nio.ByteBuffer buffer,
int startPos,
byte[] bytes)
public static pt.lsts.imc.SonarData swathToSonarDataOld(BathymetrySwath swath, SystemPositionAndAttitude pose)
swath - pose - public static pt.lsts.imc.SonarData swathToSonarData(BathymetrySwath swath, SystemPositionAndAttitude pose, boolean useAngleStepsInData, boolean useIntensity, short bytesPerData)
swath - pose - public static void main(java.lang.String[] args)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.