Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "lo/lo.h"
00017 #include <iostream>
00018 #include "lo/UT_Timer.h"
00019
00020 using namespace std;
00021 using jlo::LocatedObject;
00022
00023 class ObjectLoader : public jlo::LazyLocatedObjectLoader
00024 {
00025 LocatedObject* GetParent(const LocatedObject& child){return NULL;};
00026 } test;
00027
00028 int main() {
00029
00030 cout << "LocatedObject: Testing simple transformations\n";
00031
00032
00033 LocatedObject robot(&test, NULL,0,0,0,0,0,0);
00034
00035 LocatedObject rightShoulder(&test, 123, robot.m_uniqueID, 0.085,-0.165,1.053,- M_PI/2, 0,M_PI*30.0/180.0);
00036
00037 LocatedObject leftShoulder(&test, 124 ,robot.m_uniqueID,0.085,0.165,1.053, -M_PI/2, 0,-M_PI*30.0/180.0);
00038
00039 }
00040