The Robot Application Programming Interface Delegate Project
|
PointSample describes the position and attributes of a point in the cloud. More...
Public Member Functions | |
PointCloudSample () | |
PointCloudSample (PointCloudSample other) | |
boolean | equals (Object o) |
int | hashCode () |
Object | copy_from (Object src) |
This is the implementation of the Copyable interface. | |
String | toString () |
String | toString (String desc, int indent) |
Static Public Member Functions | |
static Object | create () |
Public Attributes | |
gov.nasa.rapid.idl.dds.rapid.Vec3d | origin = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create() |
Origin of points (i.e., offset from frame 0,0,0 in meters). | |
gov.nasa.rapid.idl.dds.rapid.Vec3d | xyzScale = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create() |
Per-element scale factor to convert point units to a meaningful value. | |
gov.nasa.rapid.idl.dds.rapid.PointSampleSequence | points = (gov.nasa.rapid.idl.dds.rapid.PointSampleSequence) gov.nasa.rapid.idl.dds.rapid.PointSampleSequence.create() |
Sequence of points. | |
gov.nasa.rapid.idl.dds.rapid.ShortSequence | rowLengths = (gov.nasa.rapid.idl.dds.rapid.ShortSequence) gov.nasa.rapid.idl.dds.rapid.ShortSequence.create() |
Descriptions of rows from the same scan-line. |
Note: Attributes are included in this struct because we get them for free on the wire due to word alignment. PointCloudSample message sends data in point cloud format.
PointCloudSample | ( | ) |
PointCloudSample | ( | PointCloudSample | other | ) |
Object copy_from | ( | Object | src | ) |
This method will perform a deep copy of src
This method could be placed into PointCloudSampleTypeSupport
rather than here by using the -noCopyable
option to rtiddsgen.
src | The Object which contains the data to be copied. |
this
. NullPointerException | If src is null. |
ClassCastException | If src is not the same type as this . |
Reimplemented from Message.
static Object create | ( | ) | [static] |
boolean equals | ( | Object | o | ) |
int hashCode | ( | ) |
String toString | ( | String | desc, |
int | indent | ||
) |
String toString | ( | ) |
Reimplemented from Message.
gov.nasa.rapid.idl.dds.rapid.Vec3d origin = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create() |
gov.nasa.rapid.idl.dds.rapid.PointSampleSequence points = (gov.nasa.rapid.idl.dds.rapid.PointSampleSequence) gov.nasa.rapid.idl.dds.rapid.PointSampleSequence.create() |
gov.nasa.rapid.idl.dds.rapid.ShortSequence rowLengths = (gov.nasa.rapid.idl.dds.rapid.ShortSequence) gov.nasa.rapid.idl.dds.rapid.ShortSequence.create() |
If all points belong to the same point cloud,
rowLengths.length() == 0 (or rowLengths.length()==1 && rowLengths[0] == samples.length() )
Otherwise,
SUM(rowLengths) == samples.length().
gov.nasa.rapid.idl.dds.rapid.Vec3d xyzScale = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create() |
Following conversion, spatial coordinates should be in METERS and angular values should be in RADIANS.