public class PosePublisherLayer extends DefaultLayer
Constructor and Description |
---|
PosePublisherLayer(org.ros.namespace.GraphName topic,
Context context) |
PosePublisherLayer(java.lang.String topic,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
draw(GL10 gl) |
void |
onShutdown(VisualizationView view,
org.ros.node.Node node)
Called when the view is removed from the view.
|
void |
onStart(org.ros.node.ConnectedNode connectedNode,
Handler handler,
org.ros.rosjava_geometry.FrameTransformTree frameTransformTree,
Camera camera)
Called when the layer is registered at the navigation view.
|
boolean |
onTouchEvent(VisualizationView view,
MotionEvent event)
Event handler for touch events.
|
public PosePublisherLayer(java.lang.String topic, Context context)
public PosePublisherLayer(org.ros.namespace.GraphName topic, Context context)
public void draw(GL10 gl)
draw
in interface OpenGlDrawable
draw
in class DefaultLayer
public boolean onTouchEvent(VisualizationView view, MotionEvent event)
Layer
onTouchEvent
in interface Layer
onTouchEvent
in class DefaultLayer
view
- the view generating the eventevent
- the touch eventpublic void onStart(org.ros.node.ConnectedNode connectedNode, Handler handler, org.ros.rosjava_geometry.FrameTransformTree frameTransformTree, Camera camera)
Layer
onStart
in interface Layer
onStart
in class DefaultLayer
public void onShutdown(VisualizationView view, org.ros.node.Node node)
Layer
onShutdown
in interface Layer
onShutdown
in class DefaultLayer