From c23f0f4bd7ea048abb6554f2ba375296f3a021a5 Mon Sep 17 00:00:00 2001 From: Laurent Eschenauer Date: Fri, 30 Aug 2013 10:11:28 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a024048..eb82645 100644 --- a/README.md +++ b/README.md @@ -110,11 +110,15 @@ Add a wait step to the mission. Will wait for the given delay (in ms) before pro Add a movement step to the mission. Will go the given position before proceeding to next step. The position is a Controller goal such as {x: 0, y: 0, z: 1, yaw: 90}. -### mission.task(function) +#### mission.task(function(callback){..}) Add a task step to the mission. Will execute the provided function before proceeding to the next step. A callback argument is passed to the function, it should be called when the task is done. +#### mission.taskSync(function) + +Add a task step to the mission. Will execute the provided function before proceeding to the next step. + #### mission.zero() Add a zeroing step to the mission. This will set the current position/orientation as