public class LaserScanLayer extends SubscriberLayer<sensor_msgs.LaserScan> implements TfLayer
SubscriberLayer
that visualizes sensor_msgs/LaserScan messages.Constructor and Description |
---|
LaserScanLayer(org.ros.namespace.GraphName topicName) |
LaserScanLayer(java.lang.String topicName) |
Modifier and Type | Method and Description |
---|---|
void |
draw(GL10 gl) |
org.ros.rosjava_geometry.FrameName |
getFrame() |
void |
onStart(org.ros.node.ConnectedNode connectedNode,
android.os.Handler handler,
org.ros.rosjava_geometry.FrameTransformTree frameTransformTree,
Camera camera)
Called when the layer is registered at the navigation view.
|
getSubscriber, onShutdown
onTouchEvent
public LaserScanLayer(java.lang.String topicName)
public LaserScanLayer(org.ros.namespace.GraphName topicName)
public void draw(GL10 gl)
draw
in interface OpenGlDrawable
draw
in class DefaultLayer
public void onStart(org.ros.node.ConnectedNode connectedNode, android.os.Handler handler, org.ros.rosjava_geometry.FrameTransformTree frameTransformTree, Camera camera)
Layer
onStart
in interface Layer
onStart
in class SubscriberLayer<sensor_msgs.LaserScan>