Property | Type | Description | |
---|---|---|---|
CalculatePose | void | ||
GetLaserScannerData | ].double[ | ||
PoseChanged | void | ||
RequestLaserScannerDataRefresh | void | ||
StartSimulation | void | ||
StopSimulation | void |
Method | Description | |
---|---|---|
ClearMap ( ) : void |
Clears the layer data collected for the map.
|
|
Connect ( string host ) : int |
Function for connecting to the robot.
|
|
Disconnect ( ) : void |
Disconnects the robot.
|
|
GetLayers ( ) : |
TODO: test function, should be removed later
|
|
GetWheelSpeed ( ) : double[] | ||
OnSimulationStateChanged ( ) : void |
Trigger for the simulation state change event.
|
|
RobotControl ( ) : System |
Initializes a new instance of the RobotControl class.
|
|
SetSimulationState ( SimulationCommand command ) : void |
Starts, stops or resets the V-REP EDU simulation according to the given command.
|
|
SetWheelSpeed ( double linAng ) : void | ||
SetWheelSpeed ( double r, double l ) : void |
Sets the speed of the joints of the robot.
|
Method | Description | |
---|---|---|
CalculatePose ( object sender, |
Switch Pose data between Localization and Mapbuilder classes. Localization calculates the new Pose data from the given layers by the Mapbuilder and then give it back to the sender.
|
|
GetLaserScannerData ( ) : ].double[ |
Collects the laser scanner data from the simulator.
|
|
PoseChanged ( object sender, |
Switch Pose data between Localization and Mapbuilder classes when any changes happened.
|
|
RequestLaserScannerDataRefresh ( object sender, |
Request to refresh the laser scanner data.
|
|
StartSimulation ( ) : void |
Starts the simulation in the V-REP EDU application and begins drawing the map on a new thread.
|
|
StopSimulation ( ) : void |
Stops the simulation in the V-REP EDU application and aborts the map drawing thread.
|
public Connect ( string host ) : int | ||
host | string | Address of the robot. |
return | int |
public SetSimulationState ( SimulationCommand command ) : void | ||
command | SimulationCommand | The given command. |
return | void |
public SetWheelSpeed ( double linAng ) : void | ||
linAng | double | |
return | void |
public SetWheelSpeed ( double r, double l ) : void | ||
r | double | The right joint. |
l | double | The left joint. |
return | void |