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
Hi, I'm working on an Java-App in Androidstudio for Temi. The app should be able to remotely control Temi with the method "skidJoy(x,y,false)" (i.e. forward, backward, right, left). The problem is that Temi does not move when calling the corresponding method (see code) unless I set the method in a While(true) loop. can someone help me with this ?
public class MainActivity extends AppCompatActivity implements OnRobotReadyListener {
private static Robot sRobot;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
protected void onStart() {
super.onStart();
this.sRobot = Robot.getInstance();
this.sRobot.addOnRobotReadyListener(this);
}
@Override
protected void onStop() {
super.onStop();
this.sRobot.removeOnRobotReadyListener(this);
}
@Override
public void onRobotReady(boolean isReady) {
if (isReady) {
TemiGoForward();
}
}
public void TemiGoleft(){
sRobot.skidJoy(0,1,false);
}
public void TemiGoReight(){
sRobot.skidJoy(0,-1,false);
}
public void TemiGoForward(){
sRobot.skidJoy(1,0,false);
}
public void TemiGoBack(){
sRobot.skidJoy(-1,0,false);
}
}
Hi, I'm working on an Java-App in Androidstudio for Temi. The app should be able to remotely control Temi with the method "skidJoy(x,y,false)" (i.e. forward, backward, right, left). The problem is that Temi does not move when calling the corresponding method (see code) unless I set the method in a While(true) loop. can someone help me with this ?