dogoto.act

来自「一个用来控制poineer2型机器人的智能体软件」· ACT 代码 · 共 22 行

ACT
22
字号

/*
* The script is a copy of collectObjects.act
* from Baschir Markus Hinrichs and Baschir Jaghoori
* without the loop.
* Grips the object marked with the color on the channel "a"
* and goes to the goal marked with the color on the channel "b"
*/


/*
 * Probleme:
 * - 鋟遝re Lichtschranke R2D2 funktioniert nicht richtig
 * - "timeout" funktioniert nur beim ersten Aufruf
 */

load goto.act;
start gotoGoal();
int a;
a=sfTaskFinished("gotoGoal");
sfMessage(a);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?