C# 클래스 ControlSystem.Simulator

IRobot implementation using IUI output interface for simulating robot behavior.
상속: IRobot
파일 보기 프로젝트 열기: syre/SortingIndustrialRobot 1 사용 예제들

공개 메소드들

메소드 설명
Simulator ( ) : System

Default constructor. Note: Uses console output as standard.

Speed ( Wrapper _bGroup, long _mSpeed ) : bool

Speed for future movements in percent

Time ( Wrapper _bGroup, long _mTime ) : bool

Time for future movements in miliseconds

closeGripper ( ) : bool

Close the gripper

getCurrentPosition ( ) : VecPoint

Gets current position

getCurrentPositionAsString ( ) : string
getJawOpeningWidthMilimeters ( ) : short

Gets width of jaw opening in milimeters

getJawOpeningWidthPercentage ( ) : short

Gets width of jaw opening in percent

getWeight ( ) : double
homeRobot ( ) : bool

Setting robot to start position

isOnline ( ) : bool

Connect to the robot

moveBase ( int speed ) : bool

Moving the base

moveByAbsoluteCoordinates ( string name, int x, int y, int z, int pitch, int roll ) : bool

Moving from the absolute position (home position)

moveByCoordinates ( int _x, int _y, int _z, int _pitch, int _roll ) : bool

Function for moving by coordinates

moveByPitch ( int pitch ) : bool

Moves just pitch coordinate

moveByRelativeCoordinates ( string name, int _iX, int _iY, int _iZ, int _iPitch, int _iRoll ) : bool

Moving from the relative position (current position)

moveByRoll ( int roll ) : bool

Moves just roll coordinate

moveByXCoordinate ( int x ) : bool

Moves just X coordinate

moveByYCoordinate ( int y ) : bool

Moves just Y coordinate

moveByZCoordinate ( int z ) : bool

Moves just Z coordinate

moveConveyerBelt ( int speed ) : bool

Moving the Conveyer Belt

moveElbow ( int speed ) : bool

Moving the elbow

moveGripper ( int speed ) : bool

Moving the gripper

moveShoulder ( int speed ) : bool

Moving the shoulder

moveToAPosition ( ) : bool
moveToCubePosition ( string name, int _iCubeID ) : bool
moveWristPitch ( int speed ) : bool

Moving the wrist Pitch

moveWristRoll ( int speed ) : bool

Moving the Wrist Roll

movebyCoordinates ( int _iX, int _iY, int _iZ ) : bool

Moves all coordinates

openGripper ( ) : bool

Opens the gripper

stopAllMovement ( ) : bool

Writes out that All movement is stopped

비공개 메소드들

메소드 설명
initialization ( ) : bool

Initializes the robot to default values

메소드 상세

Simulator() 공개 메소드

Default constructor. Note: Uses console output as standard.
public Simulator ( ) : System
리턴 System

Speed() 공개 메소드

Speed for future movements in percent
public Speed ( Wrapper _bGroup, long _mSpeed ) : bool
_bGroup Wrapper Part of the robot
_mSpeed long Value for speed
리턴 bool

Time() 공개 메소드

Time for future movements in miliseconds
public Time ( Wrapper _bGroup, long _mTime ) : bool
_bGroup Wrapper Part of the robot
_mTime long Value for time
리턴 bool

closeGripper() 공개 메소드

Close the gripper
public closeGripper ( ) : bool
리턴 bool

getCurrentPosition() 공개 메소드

Gets current position
public getCurrentPosition ( ) : VecPoint
리턴 VecPoint

getCurrentPositionAsString() 공개 메소드

public getCurrentPositionAsString ( ) : string
리턴 string

getJawOpeningWidthMilimeters() 공개 메소드

Gets width of jaw opening in milimeters
public getJawOpeningWidthMilimeters ( ) : short
리턴 short

getJawOpeningWidthPercentage() 공개 메소드

Gets width of jaw opening in percent
public getJawOpeningWidthPercentage ( ) : short
리턴 short

getWeight() 공개 메소드

public getWeight ( ) : double
리턴 double

homeRobot() 공개 메소드

Setting robot to start position
public homeRobot ( ) : bool
리턴 bool

isOnline() 공개 메소드

Connect to the robot
public isOnline ( ) : bool
리턴 bool

moveBase() 공개 메소드

Moving the base
public moveBase ( int speed ) : bool
speed int speed
리턴 bool

moveByAbsoluteCoordinates() 공개 메소드

Moving from the absolute position (home position)
public moveByAbsoluteCoordinates ( string name, int x, int y, int z, int pitch, int roll ) : bool
name string
x int Parameter is of which x coordinate to use
y int Parameter is of which y coordinate to use
z int Parameter is of which z coordinate to use
pitch int Parameter is of which pitch to use
roll int Parameter is of which roll to use
리턴 bool

moveByCoordinates() 공개 메소드

Function for moving by coordinates
public moveByCoordinates ( int _x, int _y, int _z, int _pitch, int _roll ) : bool
_x int x-coordinate
_y int y-coordinate
_z int z-coordinate
_pitch int pitch robot arm
_roll int roll of robot arm
리턴 bool

moveByPitch() 공개 메소드

Moves just pitch coordinate
public moveByPitch ( int pitch ) : bool
pitch int value for the pitch coordinate
리턴 bool

moveByRelativeCoordinates() 공개 메소드

Moving from the relative position (current position)
public moveByRelativeCoordinates ( string name, int _iX, int _iY, int _iZ, int _iPitch, int _iRoll ) : bool
name string
_iX int Parameter of which x coordinate to use
_iY int Parameter of which y coordinate to use
_iZ int Parameter of which z coordinate to use
_iPitch int Parameter of which Pitch to use
_iRoll int Parameter of which Roll to use
리턴 bool

moveByRoll() 공개 메소드

Moves just roll coordinate
public moveByRoll ( int roll ) : bool
roll int value for the roll coordinate
리턴 bool

moveByXCoordinate() 공개 메소드

Moves just X coordinate
public moveByXCoordinate ( int x ) : bool
x int value for the x coordinate
리턴 bool

moveByYCoordinate() 공개 메소드

Moves just Y coordinate
public moveByYCoordinate ( int y ) : bool
y int value for the y coordinate
리턴 bool

moveByZCoordinate() 공개 메소드

Moves just Z coordinate
public moveByZCoordinate ( int z ) : bool
z int value for the z coordinate
리턴 bool

moveConveyerBelt() 공개 메소드

Moving the Conveyer Belt
public moveConveyerBelt ( int speed ) : bool
speed int speed
리턴 bool

moveElbow() 공개 메소드

Moving the elbow
public moveElbow ( int speed ) : bool
speed int speed
리턴 bool

moveGripper() 공개 메소드

Moving the gripper
public moveGripper ( int speed ) : bool
speed int speed
리턴 bool

moveShoulder() 공개 메소드

Moving the shoulder
public moveShoulder ( int speed ) : bool
speed int speed
리턴 bool

moveToAPosition() 공개 메소드

public moveToAPosition ( ) : bool
리턴 bool

moveToCubePosition() 공개 메소드

public moveToCubePosition ( string name, int _iCubeID ) : bool
name string
_iCubeID int
리턴 bool

moveWristPitch() 공개 메소드

Moving the wrist Pitch
public moveWristPitch ( int speed ) : bool
speed int speed
리턴 bool

moveWristRoll() 공개 메소드

Moving the Wrist Roll
public moveWristRoll ( int speed ) : bool
speed int speed
리턴 bool

movebyCoordinates() 공개 메소드

Moves all coordinates
public movebyCoordinates ( int _iX, int _iY, int _iZ ) : bool
_iX int
_iY int
_iZ int
리턴 bool

openGripper() 공개 메소드

Opens the gripper
public openGripper ( ) : bool
리턴 bool

stopAllMovement() 공개 메소드

Writes out that All movement is stopped
public stopAllMovement ( ) : bool
리턴 bool