00001 #! /usr/bin/env python 00002 00003 #*********************************************************** 00004 #* Software License Agreement (BSD License) 00005 #* 00006 #* Copyright (c) 2011, A.M.Howard, S.Williams 00007 #* All rights reserved. 00008 #* 00009 #* Redistribution and use in source and binary forms, with or without 00010 #* modification, are permitted provided that the following conditions are met: 00011 #* * Redistributions of source code must retain the above copyright 00012 #* notice, this list of conditions and the following disclaimer. 00013 #* * Redistributions in binary form must reproduce the above copyright 00014 #* notice, this list of conditions and the following disclaimer in the 00015 #* documentation and/or other materials provided with the distribution. 00016 #* * Neither the name of the <organization> nor the 00017 #* names of its contributors may be used to endorse or promote products 00018 #* derived from this software without specific prior written permission. 00019 #* 00020 #* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00021 #* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00022 #* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 #* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 00024 #* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00025 #* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00026 #* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00027 #* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 #* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 #* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 #*********************************************************** 00031 00032 import roslib; 00033 roslib.load_manifest('actuator_array_gui') 00034 00035 import wx 00036 00037 import rospy 00038 from actuator_array_gui.actuator_array_gui_frame import ActuatorArrayGuiFrame 00039 00040 00041 if __name__ == '__main__': 00042 # Start GUI 00043 app = wx.App() 00044 frame = ActuatorArrayGuiFrame() 00045 frame.Show() 00046 app.MainLoop() 00047