-
Notifications
You must be signed in to change notification settings - Fork 87
Follow
Be With Me AKA Follow Mode tells temi to search for a person that is standing next to it, lock on and then follow it's movement. Generally, a user would click on temi's top hard button or verbally ask temi to follow them, however, with the SDK you can trigger this feature programatically. temi also has the option to constraint follow, in this case temi tracks only on its axis using turn and tilt but with no movement.
- To initiate follow mode use the method beWithMe().
- To initiate constraint follow mode use the method constraintBeWith().
- To listen for follow status changes add OnBeWithMeStatusChangedListener to the addOnBeWithMeStatusChangedListener method.
- To stop listening for follow status changes remove the listener using the removeOnBeWithMeStatusChangedListener()
- To listen for constraint follow status changes add OnConstraintBeWithStatusChangedListener to the addOnConstraintBeWithStatusChangedListener method.
- To stop listening for constraint follow status changes remove the listener using the removeOnConstraintBeWithStatusChangedListener()
Below are the details regarding the follow methods you can use from SDK.
- Returns
- void object
- Exceptions
-
RemoteException Failed to start beWithMe() - Returns
- void object
- Exceptions
-
RemoteException constraintBeWith() error
Use this method to manually invoke the follow mode. Follow mode is the state where temi searches for a person standing in front of it and once found it locks on and follows their movement until told otherwise. |
Use this method to manually invoke the constraint follow mode. Constraint Follow mode is the state where temi searches for a person standing in front of it and once found it locks on to their movement until told otherwise. Unlike the regular follow in constraint mode temi only tilts and turns on its' axis it does not leave its' position. |
Below are the details regarding how to listen for follow changes.
- Parameters
- Returns
- void object.
- Parameters
- Returns
- void object.
- Parameters
- Returns
- void object.
- Parameters
- Returns
- void object.
Use this method to add a listener for temi follow mode status changes
|
Use this method to remove a specific listener for temi follow mode changes
|
Use this method to add a listener for temi constraint follow mode status changes
|
Use this method to remove a specific listener for temi follow mode changes
|
Below are the details regarding models used in Follow methods
- Interface
- ABORT("abort") - When the user or temi aborts the follow action
- CALCULATING("calculating") - When temi gets stuck following due to an obstacle and is trying to figure its' way around it
- SEARCH("search") - Follow mode is triggered and temi is looking for a person to follow
- START("start") - temi has found a person and following has began
- TRACK("track") - temi is following
- OBSTACLE_DETECTED ("obstacle detected") - temi detected obstacles
- Interface
- true - temi is in constraint mode and is tracking
- false - temi is not or is no longer in constraint mode
Set your context to implement this listener and add the override method to get the latest status regarding the follow mode. Possible statuses for follow mode are (value in parenthesis is the actual string value that will be returned): |
Set your context to implement this listener and add the override method to get the latest status regarding the constraint follow mode. There are two possible statuses for the constraint follow mode: |