private void logPose(TangoPoseData pose){
  StringBuilder stringBuilder=new StringBuilder();
  float translation[]=pose.getTranslationAsFloats();
  float orientation[]=pose.getRotationAsFloats();
  stringBuilder.append(String.format("[%+3.3f,%+3.3f,%+3.3f]\n",translation[0],translation[1],translation[2]));
  stringBuilder.append(String.format("(%+3.3f,%+3.3f,%+3.3f,%+3.3f)",orientation[0],orientation[1],orientation[2],orientation[3]));
  log.call(stringBuilder.toString());
}

private void logPose ( TangoPoseData pose ) { StringBuilder stringBuilder = new StringBuilder ( ) ; float translation [ ] = pose . getTranslationAsFloats ( ) ; float orientation [ ] = pose . getRotationAsFloats ( ) ; stringBuilder . append ( String . format ( "[%+3.3f,%+3.3f,%+3.3f]\n" , translation [ 0 ] , translation [ 1 ] , translation [ 2 ] ) ) ; stringBuilder . append ( String . format ( "(%+3.3f,%+3.3f,%+3.3f,%+3.3f)" , orientation [ 0 ] , orientation [ 1 ] , orientation [ 2 ] , orientation [ 3 ] ) ) ; log . call ( stringBuilder . toString ( ) ) ; }
log the position and orientation of the given pose in the logcat as information .
