Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
component:drone [2015/01/14 23:40]
127.0.0.1 external edit
component:drone [2018/09/27 02:10]
payonel
Line 1: Line 1:
-Drone +Component: Robot
-=====+
  
-Provided by [[item:​drone|Drones]]. 
- 
-Component name: `drone`.  ​ 
-Callbacks: 
- 
-- `getStatusText():​string`  ​ 
-  Get the status text currently being displayed in the GUI. 
-- `setStatusText(value:​string):​string`  ​ 
-  Set the status text to display in the GUI, returns new value. 
-- `move(dx:​number,​ dy:number, dz:​number)`  ​ 
-  Change the target position by the specified offset. 
-- `getOffset():​number`  ​ 
-  Get the current distance to the target position. 
-- `getVelocity():​number`  ​ 
-  Get the current velocity in m/s. 
-- `getMaxVelocity():​number`  ​ 
-  Get the maximum velocity, in m/s. 
-- `getAcceleration():​number`  ​ 
-  Get the currently set acceleration. 
-- `setAcceleration(value:​number):​number`  ​ 
-  Try to set the acceleration to the specified value and return the new acceleration. 
- 
-They also share most world interaction methods with robots, e.g. `detect`, `suck`, `drop`, `drain`, `fill` and so on.  ​ 
-**TODO**: Insert those here. 
- 
----- 
- 
-{{page>​component:​contents&​noheader&​noeditbutton&​nouser&​nofooter}} ​