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/
204 stars 87 forks source link

How to check detected obstruction is a person or object and Patrol mode #258

Open ph4il2o opened 2 years ago

ph4il2o commented 2 years ago
  1. I want to know about obstruction is a person or object when Temi is going on location. How can I do ?
  2. I want to use patrol or survey mode in Temi. How to use it ?
lcgao commented 2 years ago
  1. Listen to OnGoToLocationStatusChangedListener and get the obstacle info from the description of the callback function onGoToLocationStatusChanged(). Turn on the dection mode and listen to OnDetectionStateChangedListener at the same time to know if a person is detected.

  2. How to start partol: temi's apps > Locations > Bottom button (...) > Partol. Developers can also implement another patrol via OnGoToLocationStatusChangedListener in their App.

ph4il2o commented 2 years ago

In the document it says *temi will start the Detection Mode session if Launcher in a state without user interaction and movement, and your skill can listen for the events from that via this feature and according it to do what you want temi to do.

Can I use it when temi is go to Location?

ph4il2o commented 2 years ago

I use OnGotoLocationStatusChangeListener and OnDetectionStateChange but when Temi is going to location and I Stand in front of Temi but onDetection doesn't work

I already set kios mode.