[Question updated]
I am programming Robotino using Java language...
I've found that the api2 contains a class called Odometry (rec.robotino.api2.Odemetry).
I've also found that it contains the following methods related to Odometry class (any other methods are related to Object class):
.mapFrameCoordinatesEvent(double arg0, double arg1, double arg2);
.mapImagePixelCoordinatesEvent(int arg0, int arg1, double arg2);
.readings(SWIGTYPE_p_double arg0, SWIGTYPE_p_double arg1,SWIGTYPE_p_double arg2);
.readings(SWIGTYPE_p_double arg0, SWIGTYPE_p_double arg1,SWIGTYPE_p_double arg2, SWIGTYPE_p_unsigned_int arg3);
.readingsEvent(double arg0, double arg1, double arg2, float arg3, float arg4, float arg5, long arg6);
.set(double arg0, double arg1, double arg2);
.set(double arg0, double arg1, double arg2, boolean arg3);
.setComId(ComId arg0);
.swigReleaseOwnership();
.swigTakeOwnership();
I know that I have to use the .setComId method to enable odometry just the way I did it with omnidrive, bumper and ir sensors.
I know that I can't use the .readings methods because they require a SWIGTYPE_p_double variable type, so I suppose that those methods are internal inside the Odometry class.
I am sure that I don't have to use .swigReleaseOwnership and .swigTakeOwnership because OmniDrive class has the same methods and the omnidrive system works without me calling those methods.
I don't know what are .mapFrameCoordinaterEvent and .mapImagePixelCoordinatedEvent for. I think they have something to do with a 2D map made of what Robotino sees and detects.
The remaining methods are .set(with boolean), .set(without boolean) and .readingsEvent.
I don't know what are both .set used for.
I also don't know if I need to use the .readingsEvent or if I should combine it with.set.
As I understand when I plug in the gyroscope into a Robotino USB port, it works without the necessity of calling it, it is implemented in the Odometry class.
If some one could help me understand this better, I would be very grateful. Please let me know if I am missing something.
I am programming Robotino using Java language...
I've found that the api2 contains a class called Odometry (rec.robotino.api2.Odemetry).
I've also found that it contains the following methods related to Odometry class (any other methods are related to Object class):
.mapFrameCoordinatesEvent(double arg0, double arg1, double arg2);
.mapImagePixelCoordinatesEvent(int arg0, int arg1, double arg2);
.readings(SWIGTYPE_p_double arg0, SWIGTYPE_p_double arg1,SWIGTYPE_p_double arg2);
.readings(SWIGTYPE_p_double arg0, SWIGTYPE_p_double arg1,SWIGTYPE_p_double arg2, SWIGTYPE_p_unsigned_int arg3);
.readingsEvent(double arg0, double arg1, double arg2, float arg3, float arg4, float arg5, long arg6);
.set(double arg0, double arg1, double arg2);
.set(double arg0, double arg1, double arg2, boolean arg3);
.setComId(ComId arg0);
.swigReleaseOwnership();
.swigTakeOwnership();
I know that I have to use the .setComId method to enable odometry just the way I did it with omnidrive, bumper and ir sensors.
I know that I can't use the .readings methods because they require a SWIGTYPE_p_double variable type, so I suppose that those methods are internal inside the Odometry class.
I am sure that I don't have to use .swigReleaseOwnership and .swigTakeOwnership because OmniDrive class has the same methods and the omnidrive system works without me calling those methods.
I don't know what are .mapFrameCoordinaterEvent and .mapImagePixelCoordinatedEvent for. I think they have something to do with a 2D map made of what Robotino sees and detects.
The remaining methods are .set(with boolean), .set(without boolean) and .readingsEvent.
I don't know what are both .set used for.
I also don't know if I need to use the .readingsEvent or if I should combine it with.set.
As I understand when I plug in the gyroscope into a Robotino USB port, it works without the necessity of calling it, it is implemented in the Odometry class.
If some one could help me understand this better, I would be very grateful. Please let me know if I am missing something.
Comment