Public Member Functions | Private Member Functions | Private Attributes
com.github.rosjava.android_remocons.common_tools.dashboards.DefaultDashboard Class Reference
Inheritance diagram for com.github.rosjava.android_remocons.common_tools.dashboards.DefaultDashboard:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DefaultDashboard (Context context)
 DefaultDashboard (Context context, AttributeSet attrs)
void onShutdown (Node node)
void onStart (ConnectedNode connectedNode)

Private Member Functions

void handleDiagnosticArray (DiagnosticArray msg)
void inflateSelf (Context context)
HashMap< String, String > keyValueArrayToMap (List< KeyValue > list)
void populateBatteryFromStatus (BatteryLevelView view, DiagnosticStatus status)

Private Attributes

ConnectedNode connectedNode
Subscriber< DiagnosticArray > diagnosticSubscriber
BatteryLevelView laptopBattery
boolean powerOn = false
BatteryLevelView robotBattery

Detailed Description

Definition at line 59 of file DefaultDashboard.java.


Constructor & Destructor Documentation

Definition at line 66 of file DefaultDashboard.java.

Definition at line 70 of file DefaultDashboard.java.


Member Function Documentation

Set the ROS Node to use to get status data and connect it up. Disconnects the previous node if there was one.

Exceptions:
org.ros.exception.RosExceptionPopulate view with new diagnostic data. This must be called in the UI thread.

Definition at line 90 of file DefaultDashboard.java.

Definition at line 74 of file DefaultDashboard.java.

HashMap<String, String> com.github.rosjava.android_remocons.common_tools.dashboards.DefaultDashboard.keyValueArrayToMap ( List< KeyValue >  list) [inline, private]

Definition at line 124 of file DefaultDashboard.java.

Set the ROS Node to use to get status data and connect it up. Disconnects the previous node if there was one.

Implements com.github.rosjava.android_remocons.common_tools.dashboards.Dashboard.DashboardInterface.

Definition at line 143 of file DefaultDashboard.java.

void com.github.rosjava.android_remocons.common_tools.dashboards.DefaultDashboard.populateBatteryFromStatus ( BatteryLevelView  view,
DiagnosticStatus  status 
) [inline, private]

Definition at line 102 of file DefaultDashboard.java.


Member Data Documentation

Definition at line 62 of file DefaultDashboard.java.

Definition at line 63 of file DefaultDashboard.java.

Definition at line 61 of file DefaultDashboard.java.

Definition at line 64 of file DefaultDashboard.java.

Definition at line 60 of file DefaultDashboard.java.


The documentation for this class was generated from the following file:


android_remocons
Author(s): Daniel Stonier, Kazuto Murase
autogenerated on Sat Jun 8 2019 19:32:24