tmp.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # Copyright 2011 Shadow Robot Company Ltd.
00004 #
00005 # This program is free software: you can redistribute it and/or modify it
00006 # under the terms of the GNU General Public License as published by the Free
00007 # Software Foundation, either version 2 of the License, or (at your option)
00008 # any later version.
00009 #
00010 # This program is distributed in the hope that it will be useful, but WITHOUT
00011 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
00013 # more details.
00014 #
00015 # You should have received a copy of the GNU General Public License along
00016 # with this program.  If not, see <http://www.gnu.org/licenses/>.
00017 #
00018 lapin = ['FFJ1', 'FFJ2', 'FFJ3', 'FFJ4', 'MFJ1', 'MFJ2', 'MFJ3', 'MFJ4', 'RFJ1', 'RFJ2', 'RFJ3', 'RFJ4', 'LFJ1', 'LFJ2', 'LFJ3', 'LFJ4', 'LFJ5', 'THJ1', 'THJ2', 'THJ3', 'THJ4', 'THJ5', 'WRJ1', 'WRJ2']
00019 
00020 for l in lapin:
00021     if(l == 'THJ1' ):
00022         print "1.0 ",
00023     else:
00024         print "0.0 ",
00025 print ""
00026 
00027 for l in lapin:
00028     if(l == 'FFJ2' ):
00029         print "1.0 ",
00030     else:
00031         print "0.0 ",
00032 print ""
00033 
00034 for l in lapin:
00035     if(l == 'MFJ2' ):
00036         print "1.0 ",
00037     else:
00038         print "0.0 ",
00039 print ""
00040 
00041 for l in lapin:
00042     if(l == 'RFJ2' ):
00043         print "1.0 ",
00044     else:
00045         print "0.0 ",
00046 print ""
00047 
00048 for l in lapin:
00049     if(l == 'LFJ2' ):
00050         print "1.0 ",
00051     else:
00052         print "0.0 ",


sr_remappers
Author(s): Ugo Cupcic
autogenerated on Fri Jan 3 2014 12:05:01