robotemi / sdk

temi is an unparalleled robotic platform introducing a new dimension of development - movement. Using temi’s SDK, developers can create new functionalities and introduce new use cases via temi’s Android tablet. temi’s movement and navigation capabilities run off of it's Linux computer and uses a set of 16 sensors including a Lidar, depth cameras, driving cameras, and microphones. We encourage our developer community to suggest and request expanded functionality within the SDK and we will adhere to your needs. We want to enable you to create skills like never seen before! We will be constantly improving the SDK and its documentation. Please feel free to reach out to us with any questions or thoughts at developers@robotemi.com
https://www.robotemi.com/
205 stars 87 forks source link

To do all task one by one #446

Closed ryanwyhk closed 6 months ago

ryanwyhk commented 6 months ago

HI,

I need to process below task one by one, but cannot success, even I added sleep 500, between them, Temi will perform all tasks. Should I use while loop to monitor the listeners to control the step flow? any advice or simply code reference please? Thank You

Process: Step 1) robot.temiSay("Welcome") Thread.sleep(500); Step 2 )robot.temiSay("Follow me") Thread.sleep(500); Step 3)robot.GotoLocation(appointData.bookingRoom)

Ahad-Haque commented 6 months ago

Hi, you can use sequence to achieve this. First you have to create one then call the sequence like playfirstsequence() to play your sequence.

ryanwyhk commented 6 months ago

Thanks for your suggestion, but my process is dynamic not fixed, so I need use program to handle it

Ahad-Haque commented 6 months ago

Then you can create dynamic sequence and play it.

ryanwyhk commented 6 months ago

Then you can create dynamic sequence and play it. in Temi center set it? or use SDK has this sequence function?

zjn0505 commented 6 months ago

You can browse the wiki and sample app for each action you need.

It is important to note that you not only need to trigger the actions, but also to get their event callback, i.e. speech complete, goto location failure, etc.

Then you can chain the actions, and it will be something similiar to temi sequence feature.

ryanwyhk commented 6 months ago

You can browse the wiki and sample app for each action you need.

It is important to note that you not only need to trigger the actions, but also to get their event callback, i.e. speech complete, goto location failure, etc.

Then you can chain the actions, and it will be something similiar to temi sequence feature.

Thank You, I try to search it