test.cpp
Go to the documentation of this file.
00001 // Copyright 2007 Alexis Maldonado
00002 //
00003 // This program is free software: you can redistribute it and/or modify
00004 // it under the terms of the GNU General Public License as published by
00005 // the Free Software Foundation, either version 3 of the License, or
00006 // (at your option) any later version.
00007 //
00008 // This program is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 // GNU General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU General Public License
00014 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
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 


lo
Author(s): U. Klank
autogenerated on Mon Oct 6 2014 10:44:15