Members
(inner, constant) hub :events.EventEmitter
Hub event emitter.
Type:
-
events.EventEmitter
(inner) win :BrowserWindow
Keep a global reference of the window object so it doesn't automatically close.
Type:
-
BrowserWindow
Methods
(inner) createWindow()
Create the window, loads the html into it and set events.
Fires:
(inner) startNode()
Start all the necessary ROS nodes
Fires:
Events
data
Fires after receiving data from ROS
Properties:
Name | Type | Description |
---|---|---|
data |
String
|
Data received from ROS |
Type:
-
object
msg
After receiving teleop command from server, publish it to the fromElectron Node
Properties:
Name | Type | Description |
---|---|---|
data |
String
|
JSON string of the teleoperation command |
Type:
-
object
parameters_response
Respond to the parameter_request event with the parameter
Properties:
Name | Type | Description |
---|---|---|
parameters |
String
|
Parameters set in the launch file |
Type:
-
object
patrol-plan
After receiving a patrol from server, publish it to the operatorNavGoal Node
Properties:
Name | Type | Description |
---|---|---|
patrolJsonString |
String
|
JSON object containing the patrol. |
Type:
-
object