LogbookMovement

The 1.14.0 update: what changes for your app

Log
22 of 25
Date
Reading
1 min read

Skills in this log

On Sunday, opening the robot’s app on my phone, an update was waiting: version 1.14.0 of the robot software. Installed from the phone. Before that, I read what it changes for anyone writing their own app.

The robot, head turned to one side.

Two movements no longer blend

Until now, if two parts of a program asked for a movement at the same time, the robot blended them. Since 1.14.0, the second one is refused, with an error named MoveBusyError. Wake-up and going to sleep hold on for their whole sequence: a gesture requested during them is refused too.

For your app: catch this error around every gesture, and decide what to do. Wait and retry, or drop the gesture. A program that only catches the errors it expects will stop on this one.

When an app stops, the robot stays up

Before, when an app stopped, the robot went to bed. Now it goes back to its starting position and keeps its motors on.

For your app: if you want it to go to bed when you stop, do it yourself before exiting. My program already does: every exit puts the robot to bed, head tucked in, then motors off.

The rest

  • The usage statistics, on by default since 1.13.0, are more detailed. They are still switched off the same way.
  • A fix for the orientation sensor on the wireless version.

For me

My program is already ready for the second change. For the first, it still has to handle MoveBusyError explicitly, and be tried on the robot. That is the next step.

Lire en français