]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Robomon sources moved directly under robomon directory
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 23 Feb 2009 20:40:56 +0000 (21:40 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 23 Feb 2009 20:40:56 +0000 (21:40 +0100)
71 files changed:
src/robomon/AnglesHistogramPainter.cpp [moved from src/robomon/src2/AnglesHistogramPainter.cpp with 100% similarity]
src/robomon/AnglesHistogramPainter.h [moved from src/robomon/src2/AnglesHistogramPainter.h with 100% similarity]
src/robomon/COPYING [deleted file]
src/robomon/Doxyfile [deleted file]
src/robomon/GlWidget.cpp [moved from src/robomon/src2/GlWidget.cpp with 100% similarity]
src/robomon/GlWidget.h [moved from src/robomon/src2/GlWidget.h with 100% similarity]
src/robomon/MainWindow.cpp [moved from src/robomon/src2/MainWindow.cpp with 100% similarity]
src/robomon/MainWindow.h [moved from src/robomon/src2/MainWindow.h with 100% similarity]
src/robomon/MclPainter.cpp [moved from src/robomon/src2/MclPainter.cpp with 100% similarity]
src/robomon/MclPainter.h [moved from src/robomon/src2/MclPainter.h with 100% similarity]
src/robomon/MiscGui.cpp [moved from src/robomon/src2/MiscGui.cpp with 100% similarity]
src/robomon/MiscGui.h [moved from src/robomon/src2/MiscGui.h with 100% similarity]
src/robomon/Painter.h [moved from src/robomon/src2/Painter.h with 100% similarity]
src/robomon/PlaygroundScene.cpp [moved from src/robomon/src2/PlaygroundScene.cpp with 100% similarity]
src/robomon/PlaygroundScene.h [moved from src/robomon/src2/PlaygroundScene.h with 100% similarity]
src/robomon/RobomonAtlantis.cpp [moved from src/robomon/src2/RobomonAtlantis.cpp with 100% similarity]
src/robomon/RobomonAtlantis.h [moved from src/robomon/src2/RobomonAtlantis.h with 100% similarity]
src/robomon/RobomonTuning.cpp [moved from src/robomon/src2/RobomonTuning.cpp with 100% similarity]
src/robomon/RobomonTuning.h [moved from src/robomon/src2/RobomonTuning.h with 100% similarity]
src/robomon/Robot.cpp [moved from src/robomon/src2/Robot.cpp with 100% similarity]
src/robomon/Robot.h [moved from src/robomon/src2/Robot.h with 100% similarity]
src/robomon/SimLaser.cpp [moved from src/robomon/src2/SimLaser.cpp with 100% similarity]
src/robomon/SimLaser.h [moved from src/robomon/src2/SimLaser.h with 100% similarity]
src/robomon/SimMcl.cpp [moved from src/robomon/src2/SimMcl.cpp with 100% similarity]
src/robomon/SimMcl.h [moved from src/robomon/src2/SimMcl.h with 100% similarity]
src/robomon/SmallRobot.cpp [moved from src/robomon/src2/SmallRobot.cpp with 100% similarity]
src/robomon/SmallRobot.h [moved from src/robomon/src2/SmallRobot.h with 100% similarity]
src/robomon/Widget.cpp [moved from src/robomon/src2/Widget.cpp with 100% similarity]
src/robomon/Widget.h [moved from src/robomon/src2/Widget.h with 100% similarity]
src/robomon/dimensions.h [moved from src/robomon/src2/dimensions.h with 100% similarity]
src/robomon/images/close.png [moved from src/robomon/src2/images/close.png with 100% similarity]
src/robomon/images/icon_r.png [moved from src/robomon/src2/images/icon_r.png with 100% similarity]
src/robomon/images/icon_y.png [moved from src/robomon/src2/images/icon_y.png with 100% similarity]
src/robomon/images/robomon_atlantis.png [moved from src/robomon/src2/images/robomon_atlantis.png with 100% similarity]
src/robomon/images/robomon_explorer.png [moved from src/robomon/src2/images/robomon_explorer.png with 100% similarity]
src/robomon/images/robomon_recycling.png [moved from src/robomon/src2/images/robomon_recycling.png with 100% similarity]
src/robomon/images/robomon_recycling2.png [moved from src/robomon/src2/images/robomon_recycling2.png with 100% similarity]
src/robomon/images/sim_laser.png [moved from src/robomon/src2/images/sim_laser.png with 100% similarity]
src/robomon/images/sim_mcl.png [moved from src/robomon/src2/images/sim_mcl.png with 100% similarity]
src/robomon/images/tuning.png [moved from src/robomon/src2/images/tuning.png with 100% similarity]
src/robomon/main.cpp [moved from src/robomon/src2/main.cpp with 100% similarity]
src/robomon/robomon.kdevelop [deleted file]
src/robomon/robomon.pro
src/robomon/robomon.qrc [moved from src/robomon/src2/robomon.qrc with 100% similarity]
src/robomon/robomon_orte.cpp [moved from src/robomon/src2/robomon_orte.cpp with 100% similarity]
src/robomon/robomon_orte.h [moved from src/robomon/src2/robomon_orte.h with 100% similarity]
src/robomon/src/ReadMe [deleted file]
src/robomon/src/application.qrc [deleted file]
src/robomon/src/editcopy.xpm [deleted file]
src/robomon/src/editcut.xpm [deleted file]
src/robomon/src/editpaste.xpm [deleted file]
src/robomon/src/filenew.xpm [deleted file]
src/robomon/src/fileopen.xpm [deleted file]
src/robomon/src/filesave.xpm [deleted file]
src/robomon/src/main.cpp [deleted file]
src/robomon/src/mapthread.cpp [deleted file]
src/robomon/src/mapthread.h [deleted file]
src/robomon/src/mymath.cpp [deleted file]
src/robomon/src/mymath.h [deleted file]
src/robomon/src/playgroundscene.cpp [deleted file]
src/robomon/src/playgroundscene.h [deleted file]
src/robomon/src/posregcmu.cpp [deleted file]
src/robomon/src/posregcmu.h [deleted file]
src/robomon/src/robomon.cpp [deleted file]
src/robomon/src/robomon.h [deleted file]
src/robomon/src/robomon.ui [deleted file]
src/robomon/src/robomon_orte.h [deleted file]
src/robomon/src/robot.cpp [deleted file]
src/robomon/src/robot.h [deleted file]
src/robomon/src/src.pro [deleted file]
src/robomon/src2/src2.pro [deleted file]

diff --git a/src/robomon/COPYING b/src/robomon/COPYING
deleted file mode 100644 (file)
index 5b6e7c6..0000000
+++ /dev/null
@@ -1,340 +0,0 @@
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                           Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-\f
-                   GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-\f
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-\f
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-\f
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-                           NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-                    END OF TERMS AND CONDITIONS
-\f
-           How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/src/robomon/Doxyfile b/src/robomon/Doxyfile
deleted file mode 100644 (file)
index 2c97ef4..0000000
+++ /dev/null
@@ -1,283 +0,0 @@
-# Doxyfile 1.5.1-KDevelop
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME           = robomon
-PROJECT_NUMBER         = 0.1
-OUTPUT_DIRECTORY       = 
-CREATE_SUBDIRS         = NO
-OUTPUT_LANGUAGE        = English
-USE_WINDOWS_ENCODING   = NO
-BRIEF_MEMBER_DESC      = YES
-REPEAT_BRIEF           = YES
-ABBREVIATE_BRIEF       = "The $name class" \
-                         "The $name widget" \
-                         "The $name file" \
-                         is \
-                         provides \
-                         specifies \
-                         contains \
-                         represents \
-                         a \
-                         an \
-                         the
-ALWAYS_DETAILED_SEC    = NO
-INLINE_INHERITED_MEMB  = NO
-FULL_PATH_NAMES        = YES
-STRIP_FROM_PATH        = /home/martin/.local/share/Trash/files/robomon_1/
-STRIP_FROM_INC_PATH    = 
-SHORT_NAMES            = NO
-JAVADOC_AUTOBRIEF      = NO
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP         = NO
-INHERIT_DOCS           = YES
-SEPARATE_MEMBER_PAGES  = NO
-TAB_SIZE               = 8
-ALIASES                = 
-OPTIMIZE_OUTPUT_FOR_C  = NO
-OPTIMIZE_OUTPUT_JAVA   = NO
-BUILTIN_STL_SUPPORT    = NO
-DISTRIBUTE_GROUP_DOC   = NO
-SUBGROUPING            = YES
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-EXTRACT_ALL            = NO
-EXTRACT_PRIVATE        = NO
-EXTRACT_STATIC         = NO
-EXTRACT_LOCAL_CLASSES  = YES
-EXTRACT_LOCAL_METHODS  = NO
-HIDE_UNDOC_MEMBERS     = NO
-HIDE_UNDOC_CLASSES     = NO
-HIDE_FRIEND_COMPOUNDS  = NO
-HIDE_IN_BODY_DOCS      = NO
-INTERNAL_DOCS          = NO
-CASE_SENSE_NAMES       = YES
-HIDE_SCOPE_NAMES       = NO
-SHOW_INCLUDE_FILES     = YES
-INLINE_INFO            = YES
-SORT_MEMBER_DOCS       = YES
-SORT_BRIEF_DOCS        = NO
-SORT_BY_SCOPE_NAME     = NO
-GENERATE_TODOLIST      = YES
-GENERATE_TESTLIST      = YES
-GENERATE_BUGLIST       = YES
-GENERATE_DEPRECATEDLIST= YES
-ENABLED_SECTIONS       = 
-MAX_INITIALIZER_LINES  = 30
-SHOW_USED_FILES        = YES
-SHOW_DIRECTORIES       = NO
-FILE_VERSION_FILTER    = 
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET                  = NO
-WARNINGS               = YES
-WARN_IF_UNDOCUMENTED   = YES
-WARN_IF_DOC_ERROR      = YES
-WARN_NO_PARAMDOC       = NO
-WARN_FORMAT            = "$file:$line: $text"
-WARN_LOGFILE           = 
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT                  = /home/martin/svn-eurobot/soft/app/robomon/src
-FILE_PATTERNS          = *.c \
-                         *.cc \
-                         *.cxx \
-                         *.cpp \
-                         *.c++ \
-                         *.d \
-                         *.java \
-                         *.ii \
-                         *.ixx \
-                         *.ipp \
-                         *.i++ \
-                         *.inl \
-                         *.h \
-                         *.hh \
-                         *.hxx \
-                         *.hpp \
-                         *.h++ \
-                         *.idl \
-                         *.odl \
-                         *.cs \
-                         *.php \
-                         *.php3 \
-                         *.inc \
-                         *.m \
-                         *.mm \
-                         *.dox \
-                         *.py \
-                         *.C \
-                         *.CC \
-                         *.C++ \
-                         *.II \
-                         *.I++ \
-                         *.H \
-                         *.HH \
-                         *.H++ \
-                         *.CS \
-                         *.PHP \
-                         *.PHP3 \
-                         *.M \
-                         *.MM \
-                         *.PY \
-                         *.C \
-                         *.H \
-                         *.tlh \
-                         *.diff \
-                         *.patch \
-                         *.moc \
-                         *.xpm \
-                         *.dox
-RECURSIVE              = YES
-EXCLUDE                = 
-EXCLUDE_SYMLINKS       = NO
-EXCLUDE_PATTERNS       = 
-EXAMPLE_PATH           = 
-EXAMPLE_PATTERNS       = *
-EXAMPLE_RECURSIVE      = NO
-IMAGE_PATH             = 
-INPUT_FILTER           = 
-FILTER_PATTERNS        = 
-FILTER_SOURCE_FILES    = NO
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-SOURCE_BROWSER         = NO
-INLINE_SOURCES         = NO
-STRIP_CODE_COMMENTS    = YES
-REFERENCED_BY_RELATION = YES
-REFERENCES_RELATION    = YES
-REFERENCES_LINK_SOURCE = YES
-USE_HTAGS              = NO
-VERBATIM_HEADERS       = YES
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-ALPHABETICAL_INDEX     = NO
-COLS_IN_ALPHA_INDEX    = 5
-IGNORE_PREFIX          = 
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-GENERATE_HTML          = YES
-HTML_OUTPUT            = html
-HTML_FILE_EXTENSION    = .html
-HTML_HEADER            = 
-HTML_FOOTER            = 
-HTML_STYLESHEET        = 
-HTML_ALIGN_MEMBERS     = YES
-GENERATE_HTMLHELP      = NO
-CHM_FILE               = 
-HHC_LOCATION           = 
-GENERATE_CHI           = NO
-BINARY_TOC             = NO
-TOC_EXPAND             = NO
-DISABLE_INDEX          = NO
-ENUM_VALUES_PER_LINE   = 4
-GENERATE_TREEVIEW      = NO
-TREEVIEW_WIDTH         = 250
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-GENERATE_LATEX         = NO
-LATEX_OUTPUT           = latex
-LATEX_CMD_NAME         = latex
-MAKEINDEX_CMD_NAME     = makeindex
-COMPACT_LATEX          = NO
-PAPER_TYPE             = a4wide
-EXTRA_PACKAGES         = 
-LATEX_HEADER           = 
-PDF_HYPERLINKS         = NO
-USE_PDFLATEX           = NO
-LATEX_BATCHMODE        = NO
-LATEX_HIDE_INDICES     = NO
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-GENERATE_RTF           = NO
-RTF_OUTPUT             = rtf
-COMPACT_RTF            = NO
-RTF_HYPERLINKS         = NO
-RTF_STYLESHEET_FILE    = 
-RTF_EXTENSIONS_FILE    = 
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-GENERATE_MAN           = NO
-MAN_OUTPUT             = man
-MAN_EXTENSION          = .3
-MAN_LINKS              = NO
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-GENERATE_XML           = NO
-XML_OUTPUT             = xml
-XML_SCHEMA             = 
-XML_DTD                = 
-XML_PROGRAMLISTING     = YES
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-GENERATE_AUTOGEN_DEF   = NO
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-GENERATE_PERLMOD       = NO
-PERLMOD_LATEX          = NO
-PERLMOD_PRETTY         = YES
-PERLMOD_MAKEVAR_PREFIX = 
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor   
-#---------------------------------------------------------------------------
-ENABLE_PREPROCESSING   = YES
-MACRO_EXPANSION        = NO
-EXPAND_ONLY_PREDEF     = NO
-SEARCH_INCLUDES        = YES
-INCLUDE_PATH           = 
-INCLUDE_FILE_PATTERNS  = 
-PREDEFINED             = 
-EXPAND_AS_DEFINED      = 
-SKIP_FUNCTION_MACROS   = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to external references   
-#---------------------------------------------------------------------------
-TAGFILES               = 
-GENERATE_TAGFILE       = robomon.tag
-ALLEXTERNALS           = NO
-EXTERNAL_GROUPS        = YES
-PERL_PATH              = /usr/bin/perl
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool   
-#---------------------------------------------------------------------------
-CLASS_DIAGRAMS         = YES
-HIDE_UNDOC_RELATIONS   = YES
-HAVE_DOT               = NO
-CLASS_GRAPH            = YES
-COLLABORATION_GRAPH    = YES
-GROUP_GRAPHS           = YES
-UML_LOOK               = NO
-TEMPLATE_RELATIONS     = NO
-INCLUDE_GRAPH          = YES
-INCLUDED_BY_GRAPH      = YES
-CALL_GRAPH             = NO
-CALLER_GRAPH           = NO
-GRAPHICAL_HIERARCHY    = YES
-DIRECTORY_GRAPH        = YES
-DOT_IMAGE_FORMAT       = png
-DOT_PATH               = 
-DOTFILE_DIRS           = 
-MAX_DOT_GRAPH_WIDTH    = 1024
-MAX_DOT_GRAPH_HEIGHT   = 1024
-MAX_DOT_GRAPH_DEPTH    = 1000
-DOT_TRANSPARENT        = NO
-DOT_MULTI_TARGETS      = NO
-GENERATE_LEGEND        = YES
-DOT_CLEANUP            = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to the search engine   
-#---------------------------------------------------------------------------
-SEARCHENGINE           = NO
similarity index 100%
rename from src/robomon/src2/Robot.h
rename to src/robomon/Robot.h
diff --git a/src/robomon/robomon.kdevelop b/src/robomon/robomon.kdevelop
deleted file mode 100644 (file)
index 4889db5..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-<?xml version = '1.0'?>
-<kdevelop>
-  <general>
-    <author>Martin Zidek,,,</author>
-    <email>martin@martin-laptop</email>
-    <version>0.1</version>
-    <projectmanagement>KDevTrollProject</projectmanagement>
-    <primarylanguage>C++</primarylanguage>
-    <keywords>
-      <keyword>Qt</keyword>
-    </keywords>
-    <ignoreparts/>
-    <projectname>robomon</projectname>
-    <projectdirectory>.</projectdirectory>
-    <absoluteprojectpath>false</absoluteprojectpath>
-    <description/>
-    <defaultencoding/>
-    <versioncontrol/>
-  </general>
-  <kdevfileview>
-    <groups>
-      <group pattern="*.cpp;*.cxx;*.h" name="Sources" />
-      <group pattern="*.ui" name="User Interface" />
-      <group pattern="*.png" name="Icons" />
-      <group pattern="*" name="Others" />
-      <hidenonprojectfiles>false</hidenonprojectfiles>
-      <hidenonlocation>false</hidenonlocation>
-    </groups>
-    <tree>
-      <hidenonprojectfiles>false</hidenonprojectfiles>
-      <hidepatterns>*.o,*.lo,CVS</hidepatterns>
-    </tree>
-  </kdevfileview>
-  <kdevcppsupport>
-    <qt>
-      <used>true</used>
-      <version>4</version>
-      <includestyle>4</includestyle>
-      <designerintegration>ExternalDesigner</designerintegration>
-      <qmake>/usr/bin/qmake-qt4</qmake>
-      <designer>/usr/bin/designer-qt4</designer>
-      <root>/usr/lib/qt4</root>
-      <designerpluginpaths/>
-    </qt>
-    <references/>
-    <codecompletion>
-      <automaticCodeCompletion>false</automaticCodeCompletion>
-      <automaticArgumentsHint>true</automaticArgumentsHint>
-      <automaticHeaderCompletion>true</automaticHeaderCompletion>
-      <codeCompletionDelay>250</codeCompletionDelay>
-      <argumentsHintDelay>400</argumentsHintDelay>
-      <headerCompletionDelay>250</headerCompletionDelay>
-      <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
-      <completionBoxItemOrder>0</completionBoxItemOrder>
-      <howEvaluationContextMenu>true</howEvaluationContextMenu>
-      <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
-      <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
-      <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
-      <processPrimaryTypes>true</processPrimaryTypes>
-      <processFunctionArguments>false</processFunctionArguments>
-      <preProcessAllHeaders>false</preProcessAllHeaders>
-      <parseMissingHeaders>false</parseMissingHeaders>
-      <resolveIncludePaths>true</resolveIncludePaths>
-      <alwaysParseInBackground>true</alwaysParseInBackground>
-      <usePermanentCaching>true</usePermanentCaching>
-      <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
-      <includePaths>.;</includePaths>
-      <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
-      <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
-    </codecompletion>
-    <creategettersetter>
-      <prefixGet/>
-      <prefixSet>set</prefixSet>
-      <prefixVariable>m_,_</prefixVariable>
-      <parameterName>theValue</parameterName>
-      <inlineGet>true</inlineGet>
-      <inlineSet>true</inlineSet>
-    </creategettersetter>
-    <splitheadersource>
-      <enabled>false</enabled>
-      <synchronize>true</synchronize>
-      <orientation>Vertical</orientation>
-    </splitheadersource>
-  </kdevcppsupport>
-  <kdevdoctreeview>
-    <ignoretocs>
-      <toc>bash</toc>
-      <toc>bash_bugs</toc>
-      <toc>clanlib</toc>
-      <toc>fortran_bugs_gcc</toc>
-      <toc>gnome1</toc>
-      <toc>gnustep</toc>
-      <toc>gtk</toc>
-      <toc>gtk_bugs</toc>
-      <toc>haskell</toc>
-      <toc>haskell_bugs_ghc</toc>
-      <toc>java_bugs_gcc</toc>
-      <toc>java_bugs_sun</toc>
-      <toc>kde2book</toc>
-      <toc>opengl</toc>
-      <toc>pascal_bugs_fp</toc>
-      <toc>php</toc>
-      <toc>php_bugs</toc>
-      <toc>perl</toc>
-      <toc>perl_bugs</toc>
-      <toc>python</toc>
-      <toc>python_bugs</toc>
-      <toc>qt-kdev3</toc>
-      <toc>ruby</toc>
-      <toc>ruby_bugs</toc>
-      <toc>sdl</toc>
-      <toc>stl</toc>
-      <toc>sw</toc>
-      <toc>w3c-dom-level2-html</toc>
-      <toc>w3c-svg</toc>
-      <toc>w3c-uaag10</toc>
-      <toc>wxwidgets_bugs</toc>
-    </ignoretocs>
-    <ignoredoxygen>
-      <toc>KDE Libraries (Doxygen)</toc>
-    </ignoredoxygen>
-  </kdevdoctreeview>
-  <kdevdebugger>
-    <general>
-      <dbgshell/>
-      <breakpoints/>
-      <programargs/>
-      <gdbpath>/usr/bin/gdb</gdbpath>
-      <breakonloadinglibs>true</breakonloadinglibs>
-      <separatetty>false</separatetty>
-      <floatingtoolbar>false</floatingtoolbar>
-      <configGdbScript/>
-      <runShellScript/>
-      <runGdbScript/>
-    </general>
-    <display>
-      <staticmembers>false</staticmembers>
-      <demanglenames>true</demanglenames>
-      <outputradix>10</outputradix>
-    </display>
-    <breakpoints/>
-  </kdevdebugger>
-  <kdevtrollproject>
-    <run>
-      <mainprogram>/home/wsh/projects/eurobot/soft/app/robomon</mainprogram>
-      <programargs/>
-      <directoryradio>executable</directoryradio>
-      <globaldebugarguments/>
-      <globalcwd>/home/wsh/projects/eurobot/soft/app/robomon</globalcwd>
-      <useglobalprogram>false</useglobalprogram>
-      <terminal>true</terminal>
-      <autocompile>false</autocompile>
-      <autoinstall>false</autoinstall>
-      <autokdesu>false</autokdesu>
-      <envvars/>
-      <runarguments>
-        <robomon/>
-      </runarguments>
-      <cwd>
-        <robomon>/home/martin/svn-eurobot/trunk/soft/app/robomon</robomon>
-      </cwd>
-      <debugarguments>
-        <robomon/>
-      </debugarguments>
-    </run>
-    <general>
-      <activedir>src</activedir>
-    </general>
-    <make>
-      <abortonerror>true</abortonerror>
-      <runmultiplejobs>false</runmultiplejobs>
-      <numberofjobs>1</numberofjobs>
-      <dontact>false</dontact>
-      <makebin/>
-      <prio>0</prio>
-      <envvars/>
-    </make>
-    <qmake>
-      <savebehaviour>2</savebehaviour>
-      <replacePaths>false</replacePaths>
-      <disableDefaultOpts>true</disableDefaultOpts>
-    </qmake>
-    <subclassing>
-      <subclass uifile="src/robomon.ui" sourcefile="robomon.cpp" />
-      <subclass uifile="src/robomon.ui" sourcefile="robomon.h" />
-    </subclassing>
-  </kdevtrollproject>
-  <workspace>
-    <openfiles/>
-  </workspace>
-  <kdevfilecreate>
-    <filetypes/>
-    <useglobaltypes>
-      <type ext="ui" />
-      <type ext="qrc" />
-      <type ext="cpp" />
-      <type ext="h" />
-      <type ext="ts" />
-    </useglobaltypes>
-  </kdevfilecreate>
-  <kdevdocumentation>
-    <projectdoc>
-      <docsystem>Doxygen Documentation Collection</docsystem>
-      <docurl>robomon.tag</docurl>
-      <usermanualurl/>
-    </projectdoc>
-  </kdevdocumentation>
-  <substmap>
-    <APPNAME>robomon</APPNAME>
-    <APPNAMELC>robomon</APPNAMELC>
-    <APPNAMESC>Robomon</APPNAMESC>
-    <APPNAMEUC>ROBOMON</APPNAMEUC>
-    <AUTHOR>Martin Zidek,,,</AUTHOR>
-    <DESIGNER/>
-    <EMAIL>martin@martin-laptop</EMAIL>
-    <LICENSE>GPL</LICENSE>
-    <LICENSEFILE>COPYING</LICENSEFILE>
-    <QMAKE/>
-    <VERSION>0.1</VERSION>
-    <YEAR>2007</YEAR>
-    <dest>/home/martin/robomon</dest>
-  </substmap>
-  <cppsupportpart>
-    <filetemplates>
-      <interfacesuffix>.h</interfacesuffix>
-      <implementationsuffix>.cpp</implementationsuffix>
-    </filetemplates>
-  </cppsupportpart>
-  <ctagspart>
-    <customArguments/>
-    <customTagfilePath>/home/martin/svn-eurobot/soft/app/robomon/tags</customTagfilePath>
-    <activeTagsFiles/>
-  </ctagspart>
-</kdevelop>
index e0111595650780154004d36f67839afabbe4d769..8556480ab3ae4a578def71d0a3fed93bbb016a04 100644 (file)
@@ -1,5 +1,51 @@
-SUBDIRS += src2 
-TEMPLATE = subdirs 
+QT += opengl
+SOURCES += main.cpp \
+           MainWindow.cpp \
+           RobomonAtlantis.cpp \
+           RobomonTuning.cpp \
+           SimMcl.cpp \
+           SimLaser.cpp \
+           PlaygroundScene.cpp \
+           Robot.cpp \
+           SmallRobot.cpp \
+           MclPainter.cpp \
+           AnglesHistogramPainter.cpp \
+           Widget.cpp \
+           GlWidget.cpp \
+           MiscGui.cpp \
+           robomon_orte.cpp
+
+TEMPLATE = app
 CONFIG += warn_on \
+         thread \
           qt \
-          thread 
+         debug
+
+TARGET = ../bin/robomon2
+
+INCLUDEPATH += ../../build/linux/_compiled/include
+LIBPATH += ../../build/linux/_compiled/lib
+RESOURCES = robomon.qrc
+
+HEADERS += MainWindow.h \
+           RobomonAtlantis.h \
+           RobomonTuning.h \
+           SimMcl.h \
+           SimLaser.h \
+           PlaygroundScene.h \
+           Robot.h \
+           SmallRobot.h \
+           Painter.h \
+           MclPainter.h \
+           AnglesHistogramPainter.h \
+           Widget.h \
+           GlWidget.h \
+           MiscGui.h \
+           robomon_orte.h
+
+LIBS += -lm -lpthread -lmcl -llaser-nav -lrobodim -lrobomath -lroboorte -lrobottype -lorte  -lsharp -lmap
+
+OBJECTS_DIR = ../../build/linux/_build/user/robomon2/
+MOC_DIR = ../../build/linux/_build/user/robomon2/
+UI_DIR = ../../build/linux/_build/user/robomon2/
+DESTDIR = ../../build/linux/_compiled/bin
diff --git a/src/robomon/src/ReadMe b/src/robomon/src/ReadMe
deleted file mode 100644 (file)
index 87d23f7..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-READ THIS IN ORDER TO COMPILE THE Qt4 TEMPLATE
-----------------------------------------------
-
-Before compiling, check the Qt Options, go to 
-Project->Project Options->C++ Support and open the Qt Options tab.
-
-Check that the Qt installation directory is correct for the Qt version you've chosen.
-
-------------------
-Andreas Pakulat
-July 2006
diff --git a/src/robomon/src/application.qrc b/src/robomon/src/application.qrc
deleted file mode 100644 (file)
index 67881c3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
-      <file>editcopy.xpm</file>
-      <file>editcut.xpm</file>
-      <file>filenew.xpm</file>
-      <file>fileopen.xpm</file>
-      <file>editpaste.xpm</file>
-      <file>filesave.xpm</file>
-</qresource>
-</RCC>
diff --git a/src/robomon/src/editcopy.xpm b/src/robomon/src/editcopy.xpm
deleted file mode 100644 (file)
index 8350ed0..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-/* XPM */
-static char *editcopy[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 155 2",
-"   c black",
-".  c #191000",
-"X  c #221700",
-"o  c #2E2300",
-"O  c #452E00",
-"+  c #433200",
-"@  c #493000",
-"#  c #553800",
-"$  c #5D4600",
-"%  c #6B5000",
-"&  c #724B00",
-"*  c #7D5E00",
-"=  c #6E694F",
-"-  c #7E795F",
-";  c #865900",
-":  c #8A5C00",
-">  c #8B6800",
-",  c #936200",
-"<  c #926D00",
-"1  c #926B1A",
-"2  c #967000",
-"3  c #9B721D",
-"4  c #9B7625",
-"5  c #9E792A",
-"6  c #A47C00",
-"7  c #AA7D00",
-"8  c #A1761A",
-"9  c #A57816",
-"0  c #A4791D",
-"q  c #AD8200",
-"w  c #B28500",
-"e  c #AE8530",
-"r  c #B99626",
-"t  c #97906D",
-"y  c #B18D48",
-"u  c #B49049",
-"i  c #B89542",
-"p  c #BA9C4D",
-"a  c #BD9E52",
-"s  c #BFA053",
-"d  c #B8AE78",
-"f  c #BEB47E",
-"g  c #C49300",
-"h  c #C89600",
-"j  c #C19D2C",
-"k  c #C1A43F",
-"l  c #C09E4E",
-"z  c #CFB457",
-"x  c #C9B159",
-"c  c #CAB573",
-"v  c #D4BF7C",
-"b  c #FFDF62",
-"n  c #FFE064",
-"m  c #FFE16D",
-"M  c #FFE372",
-"N  c #FFE479",
-"B  c #A19D8E",
-"V  c #ABA89A",
-"C  c #BEB580",
-"Z  c #BDB488",
-"A  c #B8B496",
-"S  c #AEADAA",
-"D  c #B3AFA1",
-"F  c #BCBBB6",
-"G  c #BFBFB9",
-"H  c #C0B680",
-"J  c #C4BA85",
-"K  c #C6BD8B",
-"L  c #CBB589",
-"P  c #C8BE88",
-"I  c #C3BC90",
-"U  c #CBC18C",
-"Y  c #CCC493",
-"T  c #D7CB8C",
-"R  c #DAC786",
-"E  c #D8C789",
-"W  c #DAC98B",
-"Q  c #D0C690",
-"!  c #D4CA94",
-"~  c #D4CC9B",
-"^  c #D8CE98",
-"/  c #DCD29C",
-"(  c #C6C3B7",
-")  c #C8C6BE",
-"_  c #D5C5A5",
-"`  c #DBC8A1",
-"'  c #DBD4A2",
-"]  c #DED9AE",
-"[  c #D9D5B1",
-"{  c #E0CC82",
-"}  c #E8D98B",
-"|  c #E8D991",
-" . c #E1D7A1",
-".. c #E5DBA5",
-"X. c #E4DCAB",
-"o. c #E8DDAA",
-"O. c #E1DCB2",
-"+. c #E1DCB8",
-"@. c #FFE683",
-"#. c #FFE78A",
-"$. c #FFE885",
-"%. c #FFE88D",
-"&. c #FFE992",
-"*. c #FFEC9D",
-"=. c #FFF09F",
-"-. c #ECE2AC",
-";. c #E5E0B6",
-":. c #E5E1B8",
-">. c #EBE4B6",
-",. c #EAE5BC",
-"<. c #F0E5A8",
-"1. c #FFEDA3",
-"2. c #FFEDA9",
-"3. c #F1E8B8",
-"4. c #FFEFB1",
-"5. c #FFF1A5",
-"6. c #FFF2AD",
-"7. c #FFF2B4",
-"8. c #FFF2BC",
-"9. c #CAC8C2",
-"0. c #D6D4CB",
-"q. c #DFDAC5",
-"w. c #D4D2D0",
-"e. c #E0D7C5",
-"r. c #E4DAC3",
-"t. c #E8DEC7",
-"y. c #E0DFD3",
-"u. c #E6E2C2",
-"i. c #E8E1C5",
-"p. c #EBE3CB",
-"a. c #EEE9C2",
-"s. c #E8E6DC",
-"d. c #F3EDC3",
-"f. c #F2EDCB",
-"g. c #F7F2CD",
-"h. c #FFF3C3",
-"j. c #FFF4CA",
-"k. c #FFF8C5",
-"l. c #FFF8CD",
-"z. c #FDF5D2",
-"x. c #FFF7D8",
-"c. c #FFF9D4",
-"v. c #FFF9DC",
-"b. c #E9E8E7",
-"n. c #F3EFE3",
-"m. c #F2F0E3",
-"M. c #F4F2EA",
-"N. c #FBF7E6",
-"B. c #FEF9E3",
-"V. c #FFFBEC",
-"C. c #F4F4F3",
-"Z. c #F8F7F6",
-"A. c #FEFCF4",
-"S. c #FEFEFC",
-"D. c None",
-/* pixels */
-"D.D.D.D.D.D.D.D.D.D.D.D.h g g g g g g g g g g w *     D.D.D.D.D.",
-"D.D.D.D.D.D.D.D.D.D.D.D.g z.z.g.g.g.g.g.g.z.g.R 2     D.D.D.D.D.",
-"D.D.D.D.D.D.D.D.D.D.D.D.g z.d.3.3.3.3.3.3.>.f.g.z <     D.D.D.D.",
-"D.D.D.D.D., : ; , : : : 7 a i a R -.-.-.-.' m.u.g.j >     D.D.D.",
-"D.D.D.D., u y y L L L L ` t.t.e.e v -.-.-.Y b.S.+.d.q     D.D.D.",
-"D.D.D.D., S.S.S.S.S.S.S.S.Z.b.S.e.i W o.o.K w.S.A.u.q     D.D.D.",
-"D.D.D.D., S.S.S.A.S.S.S.S.M.w.S.S._ a E ..K 0.S.S.q.7     D.D.D.",
-"D.D.D.D., S.A.V.A.A.A.V.A.n.9.S.S.C._ a ..Y t = - A 6     D.D.D.",
-"D.D.D.D., A.A.V.A.V.V.V.A.n.9.S.S.S.Z.3 ' ' K Z A ] 7     D.D.D.",
-"D.D.D.D., A.V.B.V.V.B.V.V.n.( F S S G 5 ' | / / X.f.q     D.D.D.",
-"D.D.D.D., A.V.x.B.x.V.B.N.B.e.D B V ) 3 / / ^ ^ ' a.q     D.D.D.",
-"D.D.D.D., V.N.N.B.B.B.v.v.N.z.p.i.p.n.8 ^ / ! Q ' a.q     D.D.D.",
-"D.D.D.D., B.B.x.v.x.z.j.j.x.z.z.c.B.B.0 ! ! ! ^ ' ,.q     D.D.D.",
-"D.D.D.D., B.h.h.z.z.x.x.z.z.z.h.j.x.v.0 ! Q Y ! ~ ,.q     D.D.D.",
-"D.D.D.D., v.c.k.x.h.j.j.j.z.8.h.k.j.v.0 U T U U ~ ,.q     D.D.D.",
-"D.D.D.D., v.k.z.h.h.h.j.8.j.h.h.j.k.v.0 U U U U Y ;.q     D.D.D.",
-"D.D.D.D., x.h.8.8.h.j.8.8.4.h.4.8.h.x.8 P H P P ~ ;.q     D.D.D.",
-"D.D.D.D., v.h.4.4.8.8.4.1.z.h.8.4.h.c.8 H J H J Y ;.q     D.D.D.",
-"D.D.D.D., c.2.z.j.4.*.1.1.8.2.2.*.2.l.8 J J H J U ] q     D.D.D.",
-"D.D.D.D., l.h.2.4.4.1.%.1.&.2.4.8.7.k.8 f d f H U ] q     D.D.D.",
-"D.D.D.D., z.8.#.1.4.1.*.1.1.1.*.N 4.l.8 f f C K ~ :.q     D.D.D.",
-"D.D.D.D., 8.&.4.#.%.4.&.@.#.%.%.&.2.l.8 K K Y ~ ] ,.6     D.D.D.",
-"D.D.D.D., h.&.#.*.1.1.%.N N #.&.*.1.l.0 ' ] T x r 6 %     D.D.D.",
-"D.D.D.D., 4.4.%.*.#.b &.N M b M 2.1.k.9 k 7 > $ o         D.D.D.",
-"D.D.D.D., 7.&.N 5.&.N @.*.b N M N =.k., +                 D.D.D.",
-"D.D.D.D., 6.N N M M &.#.N 2.$.%.8.6.<.&               D.D.D.D.D.",
-"D.D.D.D., 5.&.7.n $.m M 1.7.7.o.c 5 & @       D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 7.*.m %.=.&.7.} p 1 % # X         D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 6.5.5.5.| a 1 & + .               D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D., 6.-.a 1 & O .                 D.D.D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D.; : % O .                 D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.",
-"D.D.D.D.                    D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."
-};
diff --git a/src/robomon/src/editcut.xpm b/src/robomon/src/editcut.xpm
deleted file mode 100644 (file)
index 9a11893..0000000
+++ /dev/null
@@ -1,252 +0,0 @@
-/* XPM */
-static char *editcut[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 214 2",
-"   c #000000",
-".  c #0B0B0B",
-"X  c #181300",
-"o  c #1D190B",
-"O  c #131313",
-"+  c #1B1B1B",
-"@  c #211E11",
-"#  c #26231A",
-"$  c #2A2513",
-"%  c #2E2912",
-"&  c #2E2A19",
-"*  c #372E0B",
-"=  c #302A12",
-"-  c #312C1B",
-";  c #3A320F",
-":  c #3C3415",
-">  c #3C351B",
-",  c #232323",
-"<  c #2B2922",
-"1  c #2C2C2C",
-"2  c #302E26",
-"3  c #353120",
-"4  c #3F3B2D",
-"5  c #313131",
-"6  c #3A3A3A",
-"7  c #423814",
-"8  c #493E17",
-"9  c #413D2F",
-"0  c #423F32",
-"q  c #4F4319",
-"w  c #5C4A00",
-"e  c #5F4F0D",
-"r  c #514410",
-"t  c #554813",
-"y  c #4E472C",
-"u  c #444136",
-"i  c #4A483F",
-"p  c #534B2B",
-"a  c #504B37",
-"s  c #514C3A",
-"d  c #654F04",
-"f  c #604F0B",
-"g  c #665200",
-"h  c #675509",
-"j  c #6B5405",
-"k  c #6C5807",
-"l  c #6C590B",
-"z  c #745B04",
-"x  c #715D0A",
-"c  c #7B5B02",
-"v  c #625B3B",
-"b  c #7E6815",
-"n  c #6C643E",
-"m  c #4D4B42",
-"M  c #494949",
-"N  c #504D43",
-"B  c #54534C",
-"V  c #515151",
-"C  c #5D5B54",
-"Z  c #656048",
-"A  c #736A44",
-"S  c #726C54",
-"D  c #77725B",
-"F  c #696968",
-"G  c gray50",
-"H  c #826203",
-"J  c #806609",
-"K  c #836907",
-"L  c #8D6A03",
-"P  c #9A6F00",
-"I  c #9B7005",
-"U  c #9E730E",
-"Y  c #9C7511",
-"T  c #85732C",
-"R  c #88783B",
-"E  c #AE7C00",
-"W  c #A87B13",
-"Q  c #847B53",
-"!  c #827D64",
-"~  c #9C862E",
-"^  c #A98A1F",
-"/  c #B28D0A",
-"(  c #B88D00",
-")  c #B2821A",
-"_  c #B18E1B",
-"`  c #B3941C",
-"'  c #A88E2C",
-"]  c #A28C36",
-"[  c #AE9224",
-"{  c #89815E",
-"}  c #87826D",
-"|  c #858174",
-" . c #888370",
-".. c #8E8A7D",
-"X. c #928C71",
-"o. c #A28E44",
-"O. c #AA9F74",
-"+. c #B9A456",
-"@. c #BDA85B",
-"#. c #B2A068",
-"$. c #C28700",
-"%. c #CC8E00",
-"&. c #C29A00",
-"*. c #C4962F",
-"=. c #CCA100",
-"-. c #D6A800",
-";. c #D1AC1B",
-":. c #DDB31A",
-">. c #D2A922",
-",. c #D4AE2B",
-"<. c #DBA12E",
-"1. c #DBA433",
-"2. c #DDB428",
-"3. c #D2B23B",
-"4. c #E6A200",
-"5. c #E8A509",
-"6. c #EAAF00",
-"7. c #EFAC1E",
-"8. c #F5A100",
-"9. c #FFAD02",
-"0. c #FCAF0D",
-"q. c #FCB005",
-"w. c #FFB60C",
-"e. c #FFBD00",
-"r. c #FFBD16",
-"t. c #E3B432",
-"y. c #E8BF3C",
-"u. c #F6BE2F",
-"i. c #C6A949",
-"p. c #D9A948",
-"a. c #D8AB52",
-"s. c #DBBA45",
-"d. c #C5B162",
-"f. c #ECB74D",
-"g. c #EFB841",
-"h. c #EFBE4A",
-"j. c #EABA55",
-"k. c #FDC006",
-"l. c #FFC10B",
-"z. c #FFC800",
-"x. c #FFC90D",
-"c. c #FAC113",
-"v. c #FBC11C",
-"b. c #FDC910",
-"n. c #EDC233",
-"m. c #F5C32D",
-"M. c #FFC728",
-"N. c #F4C537",
-"B. c #F6C63A",
-"V. c #F5CB36",
-"C. c #FFD73D",
-"Z. c #E9C659",
-"A. c #EAC85A",
-"S. c #FFDA4B",
-"D. c #FFDD5D",
-"F. c #E9CD6B",
-"G. c #FFD560",
-"H. c #FFE06C",
-"J. c gray56",
-"K. c #959595",
-"L. c gray62",
-"P. c #A6A18A",
-"I. c #A8A69E",
-"U. c #AEA895",
-"Y. c #B3AC8F",
-"T. c #B8AF8B",
-"R. c #B4AD96",
-"E. c #B8B199",
-"W. c #A4A4A4",
-"Q. c #AAAAAA",
-"!. c #B0ADA3",
-"~. c #BBB6A3",
-"^. c #B1B1B1",
-"/. c #B9B9B6",
-"(. c #BBBBBA",
-"). c #C5BC9D",
-"_. c #C2BCA2",
-"`. c #C1BEB5",
-"'. c #D2C38E",
-"]. c #DCC78C",
-"[. c #C7C0A7",
-"{. c #C7C2AE",
-"}. c #C7C3B2",
-"|. c #C5C2B8",
-" X c #CAC6B6",
-".X c #CBC9BE",
-"XX c #D9D3BB",
-"oX c #E6D08A",
-"OX c #E7DEBD",
-"+X c #ECDEB3",
-"@X c #FFF0B9",
-"#X c #C5C5C5",
-"$X c #CECCC7",
-"%X c #D0CEC5",
-"&X c #D0CFC8",
-"*X c #D2D1CB",
-"=X c #DBD6C5",
-"-X c #DBD7C9",
-";X c #D3D3D1",
-":X c #DBDBDB",
-">X c #E5E1D6",
-",X c #E5E3DA",
-"<X c #E8E5D9",
-"1X c #EDEADC",
-"2X c #FEF6DE",
-"3X c #E6E6E6",
-"4X c #E9E7E2",
-"5X c #E9E8E4",
-"6X c #EDECEA",
-"7X c #F2F1EB",
-"8X c #F1F1F1",
-"9X c #F8F7F4",
-"0X c #F9F8F8",
-"qX c None",
-/* pixels */
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqX5 5 5 1 ,     qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 V /.&XQ.F 1 ,     qXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 _.D.S.H.@X&X6 .   qXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 S.=.w g &.C...+     qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqX5 -.' + o t z.d.,     qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX5 C V.@.+   3 :.3.,     qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX5 '.b.F.6 , 1 s.,.,     qXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqX1 b ( n.OXE.E.F.^ +     qXqXqXqXqXqXqXqX5 5 1 ,   ",
-"qXqXqXqXqXqXqX  l x K A.oXoXZ.i.,     qXqXqXqXqXqX5 V &X0X6X,   ",
-"qXqXqXqXqXqXqX      8 ( c.v.k.N.1     qXqXqXqX5 V $X0X0X9XXX,   ",
-"qXqXqXqXqXqXqXqX    O t 6.e.e.k.S O     5 5 V $X8X8X8X1XD : O   ",
-"qXqXqXqXqXqXqXqXqXqX  3 J e.G.7X#.+ . 5 C |.3X3X5X4X_.4 %       ",
-"qXqXqXqXqXqXqXqXqXqX    q ].0X0X+X, B }.:X:X:X:X=XS & o         ",
-"qXqXqXqXqXqXqXqXqXqXqX  + M 8X8X7XU.Q.#X*X*X*XR.< %           qX",
-"qXqXqXqXqXqXqXqXqXqXqXqX, 1  X6XW.G Q.L.^.{.Z @ .           qXqX",
-"qXqXqXqXqXqXqXqXqXqX5 5 m P.W.:X6 . 3X/.X., @           qXqXqXqX",
-"qXqXqXqXqXqXqX5 5 5 n +.R.W.J.K.W.^.:X:X1Xm +         qXqXqXqXqX",
-"qXqXqXqXqX5 5 i o.y.v.q./ P.I.} | R.&X*X;X8X .,     qXqXqXqXqXqX",
-"qXqX5 5 5 R 3.M.5.E L 7.4._ 0 + O + i ).#X#X5X~., O     qXqXqXqX",
-"qX5 u ] m.r.%.H r : , t.0.P 7       $ , { `.(.;X-X, +     qXqXqX",
-"5 u 2.w.$.k t o   , ~ h.P l             , u T.^.#X<XN ,     qXqX",
-"5 >.9.U r .   . , T B.*.x         qX      + , Q !.Q.<XC ,     qX",
-"p q.1.> .   + 1 [ m.p.k .       qXqXqXqX      , u O.W.;X! +     ",
-"4 8.j.` p 5 y ;.u.a.d %       qXqXqXqXqXqX      O , A P._.,     ",
-"1 x <.f.m.x.b.y.a.g ;         qXqXqXqXqXqXqXqX      + 0 v O     ",
-"  - h c W W W W z :         qXqXqXqXqXqXqXqXqXqX      . .       ",
-"      * e l l f X         qXqXqXqXqXqXqXqXqXqXqXqXqX            ",
-"qX                      qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX      qX",
-"qXqXqX                qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX",
-"qXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqXqX"
-};
diff --git a/src/robomon/src/editpaste.xpm b/src/robomon/src/editpaste.xpm
deleted file mode 100644 (file)
index c29ad36..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *editpaste[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-"   c black",
-".  c #0D0900",
-"X  c #191000",
-"o  c #221700",
-"O  c #2A1B00",
-"+  c #332200",
-"@  c #3E2900",
-"#  c #3A2804",
-"$  c #4D3300",
-"%  c #4B3E15",
-"&  c #44391B",
-"*  c #543800",
-"=  c #5A3B00",
-"-  c #4D4015",
-";  c #524E25",
-":  c #5A4F2C",
-">  c #524E3D",
-",  c #58562F",
-"<  c #53503E",
-"1  c #5E623B",
-"2  c #634100",
-"3  c #684500",
-"4  c #6E4900",
-"5  c #614F11",
-"6  c #685416",
-"7  c #734C00",
-"8  c #784F00",
-"9  c #755B00",
-"0  c #7C5200",
-"q  c #7C5A00",
-"w  c #7B570F",
-"e  c #69562F",
-"r  c #786600",
-"t  c #7F6A00",
-"y  c #766300",
-"u  c #60613F",
-"i  c #7C6422",
-"p  c #545143",
-"a  c #54524B",
-"s  c gray32",
-"d  c #5D5D57",
-"f  c #616641",
-"g  c #67695D",
-"h  c #6B734D",
-"j  c #6C7553",
-"k  c #616261",
-"l  c #686A64",
-"z  c #6B7162",
-"x  c #727272",
-"c  c #003DFF",
-"v  c #0043FF",
-"b  c #004BFF",
-"n  c #0053FF",
-"m  c #015AFF",
-"M  c #0063FF",
-"N  c #046DFF",
-"B  c #0865FF",
-"V  c #0378FF",
-"C  c #1663FF",
-"Z  c #1576FF",
-"A  c #2678FF",
-"S  c #6F7B84",
-"D  c #77856D",
-"F  c #7B8B75",
-"G  c #0083FF",
-"H  c #0197FF",
-"J  c #0B92FF",
-"K  c #1385FF",
-"L  c #01A5FF",
-"P  c #0DB5FF",
-"I  c #3096FF",
-"U  c #2DADFF",
-"Y  c #2FBCFF",
-"T  c #22C6FF",
-"R  c #2AC5FF",
-"E  c #30D0FF",
-"W  c #38D5FF",
-"Q  c #4493F1",
-"!  c #5F83FF",
-"~  c #5F8AFF",
-"^  c #5290E4",
-"/  c #5F92FF",
-"(  c #4CAAFE",
-")  c #40B8FF",
-"_  c #779DCB",
-"`  c #6693E2",
-"'  c #6290FF",
-"]  c #649DFF",
-"[  c #71A6E5",
-"{  c #79A4FF",
-"}  c #7FB3FF",
-"|  c #68B8F3",
-" . c #42DCFF",
-".. c #47E0FF",
-"X. c #58E9FF",
-"o. c #64C0EB",
-"O. c #6ADFEF",
-"+. c #825600",
-"@. c #845A00",
-"#. c #8B5C00",
-"$. c #905F00",
-"%. c #8C6103",
-"&. c #876807",
-"*. c #8A6111",
-"=. c #886E1B",
-"-. c #887600",
-";. c #8C7A00",
-":. c #936200",
-">. c #986800",
-",. c #926C22",
-"<. c #987A3F",
-"1. c #A07200",
-"2. c #A27511",
-"3. c #A97D15",
-"4. c #A77B14",
-"5. c #998712",
-"6. c #A68000",
-"7. c #A78F00",
-"8. c #AD8016",
-"9. c #AC9600",
-"0. c #BB8F00",
-"q. c #A99B2A",
-"w. c #B9A000",
-"e. c #B3A63C",
-"r. c #958D43",
-"t. c #988F44",
-"y. c #9A9346",
-"u. c #9F9948",
-"i. c #8B897C",
-"p. c #958F6F",
-"a. c #98937B",
-"s. c #A68443",
-"d. c #B08C41",
-"f. c #AF9462",
-"g. c #B39864",
-"h. c #B2A850",
-"j. c #BDB355",
-"k. c #C3972F",
-"l. c #C5A400",
-"z. c #CCAC00",
-"x. c #D7BB00",
-"c. c #CCA030",
-"v. c #CBB43E",
-"b. c #E4AD0C",
-"n. c #ECB600",
-"m. c #EDB900",
-"M. c #F2BB00",
-"N. c #C1B84C",
-"B. c #C1B757",
-"V. c #C5BB58",
-"C. c #C9BE5A",
-"Z. c #C2A978",
-"A. c #DFC000",
-"S. c #FDCB00",
-"D. c #F6C300",
-"F. c #FFD100",
-"G. c #FEDB00",
-"H. c #FFDF0E",
-"J. c #F5D500",
-"K. c #FBCD39",
-"L. c #FFE832",
-"P. c #FFE432",
-"I. c #CEC25C",
-"U. c #D7C648",
-"Y. c #DDC74B",
-"T. c #D0C55E",
-"R. c #D3C85F",
-"E. c #D5C960",
-"W. c #DDD264",
-"Q. c #E0CA4C",
-"!. c #E7D14E",
-"~. c #EFDA51",
-"^. c #F4D050",
-"/. c #F9D452",
-"(. c #FEDD53",
-"). c #E2D765",
-"_. c #E9DD69",
-"`. c #E6DD68",
-"'. c #FDDB6E",
-"]. c #FFEE4F",
-"[. c #FEE354",
-"{. c #FEEA55",
-"}. c #F7E153",
-"|. c #FFF056",
-" X c #ECE16A",
-".X c #F1E56D",
-"XX c #F7EA6F",
-"oX c #F7EB70",
-"OX c #F9EC70",
-"+X c #FEF372",
-"@X c #979486",
-"#X c gray60",
-"$X c #969596",
-"%X c #8AA193",
-"&X c #82A89B",
-"*X c #8CAEA3",
-"=X c #86A7A9",
-"-X c #8BA2B1",
-";X c #ACA580",
-":X c #A5A291",
-">X c #B3AF98",
-",X c #B8B7AF",
-"<X c #B3B2AB",
-"1X c #B1B1B1",
-"2X c #A6B8FF",
-"3X c #88DEE0",
-"4X c #8BF0FE",
-"5X c #A4CFC6",
-"6X c #BFD5FF",
-"7X c #BFDCFF",
-"8X c #C2AD82",
-"9X c #CBB489",
-"0X c #D2BF9B",
-"qX c #D1C19F",
-"wX c #C8C4AA",
-"eX c #CFCBB7",
-"rX c #D8C7A6",
-"tX c #D2C2A3",
-"yX c #D5CCB3",
-"uX c #DAD1A1",
-"iX c #DDD5BB",
-"pX c #D7D1B3",
-"aX c #ECE5BB",
-"sX c #F5EBB5",
-"dX c #F5ECBC",
-"fX c #F8EEB8",
-"gX c #FCF2BC",
-"hX c #CBCBCB",
-"jX c #D8D6C7",
-"kX c #DDDDDD",
-"lX c #E4DAC2",
-"zX c #ECE6C7",
-"xX c #EBE6D9",
-"cX c #E9E3D0",
-"vX c #F5EDC4",
-"bX c #F6EFC9",
-"nX c #F0EBD5",
-"mX c #F3EFDB",
-"MX c #FCF3C5",
-"NX c #FCF4CA",
-"BX c #F7F0CA",
-"VX c #F6F0D2",
-"CX c #F9F3D3",
-"ZX c #F9F4DC",
-"AX c #FFF8D4",
-"SX c #FFF9DB",
-"DX c #E7E7E4",
-"FX c #EBEBE9",
-"GX c #F1EDE1",
-"HX c #F9F6E5",
-"JX c #FDF9E4",
-"KX c #FEFBEB",
-"LX c #F6F2E6",
-"PX c #FEFCF3",
-"IX c #FEFDFD",
-"UX c #F4F4F3",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYX                          YXYXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYXYX:.:.+ IXIXIXIXIXIXIXIXFX# +.7     YXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX>.k.c.6 FXkXkXkXDXkXkXkXx i b.>.+     YXYXYXYXYXYXYXYXYXYX",
-"YXYXYX:.'.K.=.hX1X1X1X1X1X1X1Xd &.0.%.* 7 #.#.:.$.#.2     YXYXYX",
-"YXYXYX:./.M.%.$Xk k d s s s e w >.2.d.s.Z.9XrXlXxX0X7     YXYXYX",
-"YXYXYX:.^.M.1.: % % - % 5 6 &.GXIXIXPXPXPXPXPXLXIXIXg.3     YXYX",
-"YXYX#X:.^.m.v.y.r.r.r.r.h.h.2.IXPXPXKXKXPXKXHXxXUXIXIXf.4     YX",
-"YXYX#X:.^.m.Y.I.B.j.j.j.V.I.4.PXKXJXKXJXKXKXmXjXFXIXIXUX+.    YX",
-"YXYX#X:.^.m.Y.E.I.j.j.j.I.R.8.PXKXSXJXJXJXSXnXeXDXIXIXUX<.    YX",
-"YXYXYX:./.M.!.W.R.I.T.R.E.W.8.UXJXJXSXSXSXSXnXeX:X@Xi.<X7       ",
-"YXYXYX:./.D.~._.`.W.W.W.W. X8.PXJXSXAXSXSXSXVXjX>X@X@X,X4       ",
-"YXYXYX:.(.S.}..X X X X X X X8.PXSXAXAXAXAXAXNXzXpXwXwXjX7       ",
-"YXYXYX:.(.S.[.OXOXOXoXoXt.; O s a p p p p a.AXMXvXaXzXGX+.      ",
-"YXYXYX:.(.S.[.+X+X+XOX+X; 7X2X] / / ~ ! 2Xp MXNXNXNXSXKX+.    YX",
-"YXYXYX:.(.F.|.+X+X+X+X+Xy., _ A m b v c ! p MXMXgXMXAXKX+.    YX",
-"YXYXYX:.(.F.|.+X+X+X+X+X+Xj.& ^ B n b v ' < gXMXgXgXNXKX+.    YX",
-"YXYXYX:.(.F.U.W.+X+X+X+X).y.g Q N m n b ~ < gXgXgXgXAXJXq     YX",
-"YXYXYX:.[.l.j j y.I.j.r.1 =X( K N M m b ~ < gXgXgXgXNXKX+.    YX",
-"YXYXYX:.[.t 5X4X&XD F =X| U J G V Z A C / < fXgXgXgXMXHX+.    YX",
-"YXYXYX:.[.l.h 3XX...W T P L H K I [ S ` { < fXfXfXfXMXKX+.    YX",
-"YXYXYX:.[.G.e.1 *XO...E R Y Y | -Xd Z.k 6X> fXfXfXfXBXJX+.    YX",
-"YXYXYX:.[.G.{.`.u.1 F &X*X%Xz l a.uXfXp.> p.sXsXsXfXBXJX+.    YX",
-"YXYXYX:.{.G.|.+X+X XN.q.5.7.q cXvXsXsXsXsXsXsXsXsXsXBXKX+.    YX",
-"YXYXYX:.|.G.].|.L.H.G.G.G.A.1.JXvXsXsXsXsXsXsXsXfXdXCXPX+.    YX",
-"YXYXYX:.{.G.G.G.G.G.x.w.;.t :.HXdXsXsXsXsXsXdXvXBXZXLXtX=     YX",
-"YXYXYX:.{.G.J.x.9.;.r 9 q 0 #.KXvXsXaXsXvXBXCXHXiXg.*.= O     YX",
-"YXYXYX:.L.9.-.y 9 q 0 = +   #.HXbXdXbXVXZXcX8X,.3 $ .         YX",
-"YXYXYX%.z.9 q 7 * o         $.PXZXmXmX0Xs.0 $ X               YX",
-"YXYXYX8 0 = o               :.IXpXg.*.= O               YXYXYXYX",
-"YXYXYX                  YXYX@.#.2 @ .               YXYXYXYXYXYX",
-"YXYXYX            YXYXYXYXYX                  YXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX            YXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/src/robomon/src/filenew.xpm b/src/robomon/src/filenew.xpm
deleted file mode 100644 (file)
index 85efceb..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-/* XPM */
-static char *filenew[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 178 2",
-"   c black",
-".  c #191000",
-"X  c #221700",
-"o  c #452E00",
-"O  c #4A3100",
-"+  c #4E3400",
-"@  c #553800",
-"#  c #604000",
-"$  c #6A4600",
-"%  c #6D4800",
-"&  c #704A00",
-"*  c #724C00",
-"=  c #744C00",
-"-  c #764E00",
-";  c #785000",
-":  c #805500",
-">  c #815500",
-",  c #835700",
-"<  c #865900",
-"1  c #875A00",
-"2  c #8A5B00",
-"3  c #8A5C00",
-"4  c #8B5C00",
-"5  c #8C5D00",
-"6  c #8D5D00",
-"7  c #8F5E00",
-"8  c #805911",
-"9  c #905F00",
-"0  c #906000",
-"q  c #926000",
-"w  c #946200",
-"e  c #956300",
-"r  c #966400",
-"t  c #976400",
-"y  c #956913",
-"u  c #926C22",
-"i  c #9B7732",
-"p  c #B18D48",
-"a  c #B28E49",
-"s  c #B4904A",
-"d  c #BAA373",
-"f  c #A1A195",
-"g  c #ABAB9F",
-"h  c #ADADAB",
-"j  c #AFAFAB",
-"k  c #B3B3A6",
-"l  c #BCBCB8",
-"z  c #BFBFBC",
-"x  c #CBB489",
-"c  c #CBB58A",
-"v  c #CDB78B",
-"b  c #CAB891",
-"n  c #C9BB9E",
-"m  c #CEBEA2",
-"M  c #C6C6BC",
-"N  c #D9C8A8",
-"B  c #E8E1BA",
-"V  c #E8E1BB",
-"C  c #FEFFA1",
-"Z  c #FFFFA0",
-"A  c #FEFFA3",
-"S  c #FEFFA4",
-"D  c #FEFFA6",
-"F  c #FEFFA8",
-"G  c #FEFFA9",
-"H  c #FFFFA8",
-"J  c #FEFFAA",
-"K  c #FEFFAB",
-"L  c #FFFFAB",
-"P  c #FEFFAC",
-"I  c #FFFFAC",
-"U  c #FEFFAE",
-"Y  c #FEFFAF",
-"T  c #FEFFB0",
-"R  c #FEFFB1",
-"E  c #FFFFB0",
-"W  c #FEFFB4",
-"Q  c #FEFFB5",
-"!  c #FFFFB4",
-"~  c #FEFFB8",
-"^  c #FEFFB9",
-"/  c #FFFFB8",
-"(  c #FFFFB9",
-")  c #FEFFBB",
-"_  c #FFFFBA",
-"`  c #FEFFBD",
-"'  c #FFFFBD",
-"]  c #FEFFBE",
-"[  c #FFFFBE",
-"{  c #C8C8C1",
-"}  c #CACAC4",
-"|  c #CBCBC6",
-" . c #DBD2C1",
-".. c #DEDFCF",
-"X. c #D4D4D1",
-"o. c #E1D5C1",
-"O. c #E3D9C3",
-"+. c #E5DCCC",
-"@. c #E8E8D3",
-"#. c #ECECD7",
-"$. c #F0EBDA",
-"%. c #FEFFC2",
-"&. c #FEFFC3",
-"*. c #FFFFC2",
-"=. c #FEFFC7",
-"-. c #FFFFC7",
-";. c #FEFFCB",
-":. c #FEFFCC",
-">. c #FFFFCC",
-",. c #FEFFCE",
-"<. c #FEFFD0",
-"1. c #FEFFD1",
-"2. c #FFFFD0",
-"3. c #FFFFD1",
-"4. c #FFFFD3",
-"5. c #FEFFD5",
-"6. c #FFFFD5",
-"7. c #FEFFD6",
-"8. c #FEFFD7",
-"9. c #FFFFD6",
-"0. c #FFFFD8",
-"q. c #FEFFDA",
-"w. c #FFFFDA",
-"e. c #FFFFDB",
-"r. c #FFFFDC",
-"t. c #FEFFDE",
-"y. c #FEFFDF",
-"u. c #FFFFDE",
-"i. c #FFFFDF",
-"p. c #E9E9E7",
-"a. c #F3F3E9",
-"s. c #F3F3EB",
-"d. c #F5F5E8",
-"f. c #F8F8E3",
-"g. c #FEFFE0",
-"h. c LightYellow",
-"j. c #FFFFE1",
-"k. c #FEFFE3",
-"l. c #FFFFE3",
-"z. c #FDFEE7",
-"x. c #FEFFE4",
-"c. c #FEFFE5",
-"v. c #FFFFE4",
-"b. c #FBFBE9",
-"n. c #FEFFE8",
-"m. c #FFFFE8",
-"M. c #FFFFE9",
-"N. c #FFFFEA",
-"B. c #FEFFEC",
-"V. c #FEFFED",
-"C. c #FFFFEC",
-"Z. c #FFFFED",
-"A. c #FEFFEF",
-"S. c #F4F4F0",
-"D. c #F4F4F3",
-"F. c #F5F5F4",
-"G. c #F8F8F6",
-"H. c ivory",
-"J. c #FFFFF1",
-"K. c #FEFFF3",
-"L. c #FFFFF3",
-"P. c #FEFFF4",
-"I. c #FFFFF4",
-"U. c #FEFFF7",
-"Y. c #FFFFF6",
-"T. c #FFFFF7",
-"R. c #FBFBFB",
-"E. c #FFFFF8",
-"W. c #FFFFF9",
-"Q. c #FFFFFA",
-"!. c #FFFFFB",
-"~. c gray99",
-"^. c #FEFFFD",
-"/. c #FFFFFC",
-"(. c #FFFFFD",
-"). c #FFFFFE",
-"_. c gray100",
-"`. c None",
-/* pixels */
-"`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.`.w 2 1 w 4 4 4 6 w 9 6 -     `.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.r s p p c c c c N O.+.o.y #     `.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.r ).).).).).).).).F.p.). .& o     `.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w ).E.).E.).E.E.E.S.X.).R.n $ +     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w E.Y.Y.E.Y.E.E.E.a.| ).).D.m %     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w E.Y.Y.J.Y.J.Y.Y.a.| ).).).D.>     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.J.J.J.J.J.J.J.a.M l h h { ;     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.B.B.B.N.N.B.B.b...k f h } ;     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.N.N.N.N.N.N.N.l.f.#.@.#.a.>     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.l.l.l.l.l.l.l.l.l.l.l.l.J.>     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w J.r.l.l.r.l.r.l.r.l.r.l.r.J.1     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w B.r.r.q.q.q.q.q.q.r.q.q.r.B.>     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w N.5.5.5.5.q.5.5.5.5.5.5.5.B.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w N.<.<.<.<.<.<.<.5.<.<.<.<.N.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.,.;.;.;.,.;.,.;.,.;.;.;.l.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.-.-.-.-.-.-.;.-.-.-.-.;.l.>     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w l.-.%.%.%.%.%.%.%.%.%.%.%.l.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w r.' ' ' ' ' ) ' ' ' ' ' ' r.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w r.) ) W ) ) ) ) ) ) W ) ) q.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w q.W W W W W W W W W W W W q.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.Y Y W Y Y Y Y Y Y Y Y Y 5.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.J J J Y J Y Y J Y J J Y q.,     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w 5.J J D J J D J D J W ) ,.$.-     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w <.Z D D Z D J Y ' ,.B b i - O     `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w <.Z Z Z Y ) <.B d u & @ X         `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w ,.J ) ,.B d y & o .               `.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.w Y.V d u & o .                 `.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.1 4 & o .                 `.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.                    `.`.`.`.`.`.`.`.`.`.`.`.`.`.",
-"`.`.`.`.`.`.`.`.              `.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`."
-};
diff --git a/src/robomon/src/fileopen.xpm b/src/robomon/src/fileopen.xpm
deleted file mode 100644 (file)
index a6c33b6..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *fileopen[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-"   c black",
-".  c #0B0900",
-"X  c #130E00",
-"o  c #161100",
-"O  c #231A00",
-"+  c #352600",
-"@  c #3B311C",
-"#  c #433100",
-"$  c #4F3B00",
-"%  c #4A3E16",
-"&  c #4A3D22",
-"*  c #4D421A",
-"=  c #54420D",
-"-  c #4E4529",
-";  c #484338",
-":  c #484233",
-">  c #5B4B24",
-",  c #624500",
-"<  c #674D00",
-"1  c #6D4D00",
-"2  c #6E4F17",
-"3  c #6D5200",
-"4  c #775500",
-"5  c #745B0F",
-"6  c #795200",
-"7  c #7A5A00",
-"8  c #715C18",
-"9  c #764B0A",
-"0  c #6C5423",
-"q  c #6D592E",
-"w  c #785E27",
-"e  c #735626",
-"r  c #665736",
-"t  c #7A631D",
-"y  c #7A672E",
-"u  c #776535",
-"i  c #5C5956",
-"p  c #78704F",
-"a  c #75726E",
-"s  c #8D4F00",
-"d  c #815700",
-"f  c #835A00",
-"g  c #8A5C00",
-"h  c #866400",
-"j  c #966100",
-"k  c #956F00",
-"l  c #9C6100",
-"z  c #9D7500",
-"x  c #856B2A",
-"c  c #8C752A",
-"v  c #8C723B",
-"b  c #977939",
-"n  c #A45D00",
-"m  c #A26100",
-"M  c #AA680D",
-"N  c #AB6700",
-"B  c #A07700",
-"V  c #A57B00",
-"C  c #AB7A00",
-"Z  c #AA7300",
-"A  c #AF721A",
-"S  c #B87E00",
-"D  c #B57B00",
-"F  c #B0731A",
-"G  c #B47C26",
-"H  c #B77E28",
-"J  c #897F59",
-"K  c #977C40",
-"L  c #927F58",
-"P  c #807A6C",
-"I  c #9C821D",
-"U  c #9F8A35",
-"Y  c #AC8000",
-"T  c #B28500",
-"R  c #B68800",
-"E  c #BB8B00",
-"W  c #A78337",
-"Q  c #A28B31",
-"!  c #AF9535",
-"~  c #B58E3A",
-"^  c #B88633",
-"/  c #B49936",
-"(  c #BCA039",
-")  c #998445",
-"_  c #978657",
-"`  c #8B8264",
-"'  c #8E8572",
-"]  c #978864",
-"[  c #978C75",
-"{  c #9F9072",
-"}  c #A38845",
-"|  c #A48952",
-" . c #AA965C",
-".. c #A89156",
-"X. c #B5934D",
-"o. c #B39D45",
-"O. c #B49755",
-"+. c #AB984A",
-"@. c #AD9A65",
-"#. c #A79778",
-"$. c #A59874",
-"%. c #A29B7A",
-"&. c #A79775",
-"*. c #BDA959",
-"=. c #B3A46C",
-"-. c #B1A07F",
-";. c #B5A97A",
-":. c #BEB37B",
-">. c #C49200",
-",. c #C89500",
-"<. c #CC9800",
-"1. c #C69812",
-"2. c #D2A31C",
-"3. c #C2A63E",
-"4. c #D7AE37",
-"5. c #C29840",
-"6. c #C29B4E",
-"7. c #C2A641",
-"8. c #C6AA43",
-"9. c #C8AC45",
-"0. c #CBAF49",
-"q. c #CAA746",
-"w. c #C4A158",
-"e. c #CAA65D",
-"r. c #CEA857",
-"t. c #CFA95A",
-"y. c #C5AC50",
-"u. c #CDB14B",
-"i. c #CBB358",
-"p. c #CAB152",
-"a. c #D2AB59",
-"s. c #D1B54D",
-"d. c #D4B951",
-"f. c #D6BC5B",
-"g. c #DDB45E",
-"h. c #D9BD56",
-"j. c #D2B753",
-"k. c #DAAB48",
-"l. c #CEAE69",
-"z. c #CCAD67",
-"x. c #CCB662",
-"c. c #CAB26B",
-"v. c #C8B66B",
-"b. c #CEB775",
-"n. c #CEBE7F",
-"m. c #D3AD66",
-"M. c #D5BE64",
-"N. c #D4BF6D",
-"B. c #E4B34B",
-"V. c #E0B75F",
-"C. c #E1B85F",
-"Z. c #E4BA61",
-"A. c #E9BE63",
-"S. c #DDC159",
-"D. c #DAC269",
-"F. c #D4C176",
-"G. c #D8C67F",
-"H. c #E1C55D",
-"J. c #EFC05D",
-"K. c #F1C15E",
-"L. c #E0C264",
-"P. c #E5C961",
-"I. c #EDC164",
-"U. c #E9CD65",
-"Y. c #EFD36B",
-"T. c #F2C564",
-"R. c #F6C868",
-"E. c #F8C760",
-"W. c #FBCC6A",
-"Q. c #FDCB63",
-"!. c #F1D56D",
-"~. c #FFD06C",
-"^. c #F5D972",
-"/. c #FED175",
-"(. c #FADE77",
-"). c #E4C87A",
-"_. c #FEE27C",
-"`. c #8F9192",
-"'. c #9A9A96",
-"]. c #A79F83",
-"[. c #ADA583",
-"{. c #A7A399",
-"}. c #BBAC86",
-"|. c #BDB088",
-" X c #BBB298",
-".X c #A7A8A6",
-"XX c #ADAEB0",
-"oX c #B5B6B4",
-"OX c #BABCBC",
-"+X c #C6B38E",
-"@X c #D3BE80",
-"#X c #D0BC95",
-"$X c #C6BFA6",
-"%X c #C5C29D",
-"&X c #D2C283",
-"*X c #DAC789",
-"=X c #DBCA8B",
-"-X c #D5C489",
-";X c #DBCD94",
-":X c #D6C699",
-">X c #CFC8B1",
-",X c #C8C6B7",
-"<X c #D1C9A6",
-"1X c #DBD3BA",
-"2X c #E1C981",
-"3X c #E0CD91",
-"4X c #ECD686",
-"5X c #EBD69E",
-"6X c #FED682",
-"7X c #FED88B",
-"8X c #FEDC95",
-"9X c #E3CEA3",
-"0X c #EED9A9",
-"qX c #E7DCB9",
-"wX c #F4DDAF",
-"eX c #FFE68A",
-"rX c #FFE893",
-"tX c #FFEA9F",
-"yX c #FFE2A5",
-"uX c #FFE3AC",
-"iX c #FFECA7",
-"pX c #FFEDAE",
-"aX c #F1E0B6",
-"sX c #FDE5B4",
-"dX c #FFEEB4",
-"fX c #F8E5BB",
-"gX c #FFF0BC",
-"hX c #C5C7C8",
-"jX c #C7C8CA",
-"kX c #CCCECF",
-"lX c #CCCAC0",
-"zX c #CDCED0",
-"xX c #D1D1CF",
-"cX c #D1D3D4",
-"vX c #D6D8DA",
-"bX c #DADCDE",
-"nX c #DCDEE0",
-"mX c #DEE0E2",
-"MX c #E7DEC2",
-"NX c #EBE1C5",
-"BX c #F4E9C3",
-"VX c #F7EACE",
-"CX c #FEEAC3",
-"ZX c #FAEBCA",
-"AX c #FFF1C1",
-"SX c #FFF3CC",
-"DX c #FFF6DA",
-"FX c #E1E3E5",
-"GX c #E4E6E8",
-"HX c #E7E9EA",
-"JX c #E8E6E0",
-"KX c #E9EAEC",
-"LX c #ECEEF0",
-"PX c #EEF0F2",
-"IX c #F8F4E8",
-"UX c #F1F3F5",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX  V E <.,.T   YXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX< E 2.aXCXVXE 3 E <.E   YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX  R ,.5XCX8XQ.wX<.1.$.OX<.  YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX  R >.L.ZXyXT.K.E.wX ..XKXKXR   YXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYX  V E 4.ZXsXW.K.I.Z.O.{.KXUXUXMXk   YXYX",
-"YXYXYXYXYXYX  R E 7 YX< E 2.aXsX6XC.T.Z.w.[ xXUXUXUXUX2X3   YXYX",
-"YXYXYXYX  R >.).5X,.T ,.5XCX8XK.T.A.a.] OXUXUXUXUXUXUX2.O   YXYX",
-"YXYX  Y E Z.ZXsX7XsX0XCXyXR.K.I.V._ .XUXUXUXUXUXLXKXJXV D N S 7 ",
-"  z E 4.fXsX/.K.~./.6X~.I.I.C...'.KXUXPXPXPXLXKXGXbXl.N m.SXm.D ",
-"  E 0XgX7XE.W.W.~.~.R.I.Z.w.' bXUXUXUXPXPXLXmXbX$X) ~ aXSXpXBXn ",
-"  <.CXT.Q.~.W.W.R.I.A.t._ hXUXUXUXUXPXLXGXnX,X .t  XAXSXeX4Xl.Z ",
-"  <.sXB.W.W.W.T.A.g._ oXUXUXUXUXUXLXLXmXcX=.5 $.BXgXeX!.D.3Xm + ",
-"  <.sXB.R.R.A.V.| {.KXUXUXUXUXLXKXGXvX|.c u qXdXgX^.U.f.3XH f   ",
-"  <.sXB.T.Z.m.[ nXUXUXUXUXPXKXHXbX,X) e <XdXiX_.S.u.P.F.t.h     ",
-"  <.sXk.Z.r.K jXUXUXUXPXLXKXmXcX@.5 %.DXiX_.Y.S.d.h.D.*Xl X     ",
-"  <.wXq.r.X.r UXUXPXPXKXmXvX|.y _ NXdXrX!.S.d.h.d.f.=XF 4     YX",
-"  ,.0X5.X.) a PXPXKXGXnX>X) y >XAXAX_.S.h.h.u.s.d.F.6.g       YX",
-"  >.9X~ } u '.LXKXmXxX .5 [.IXAX_.!.S.h.h.d.8.s.D.n.j       YXYX",
-"  >.:XW v & kXmXvX;.t ] BXAXrX!.U.u.S.9.u.3.7.i.;XM 1     YXYXYX",
-"  E #Xb u : nXcX_ u 1XSXgX^.U.H.S.d.8.s.d.u.b.-XG g     YXYXYXYX",
-"  R +Xc r a zX[.= -XdX_.U.d.P.h.d.u.3.8.N.=Xw.l 1       YXYXYXYX",
-"  T }.x > `.oX> %.*.S.S.h.S.7.d.h.0.p.n.c.M d .       YXYXYXYXYX",
-"  C ].w @ XXu p *.( h.S.s.u.u.u.p.N.*X^ g +         YXYXYXYXYXYX",
-"  Z &.e ; ` * :.o.S.S.S.u.( 9.x.&XX.j ,             YXYXYXYXYXYX",
-"  B { 0 i % [.o.u.S.d.h.9.M.&Xz.M 6             YXYXYXYXYXYXYXYX",
-"  z { 0 - J *./ S.9.d.i.G.&XF g O           YXYXYXYXYXYXYXYXYXYX",
-"  z $.2 w =.! s.d.p.N.;X^ l ,             YXYXYXYXYXYXYXYXYXYXYX",
-"  B &.9 ;.Q / j.x.@Xl.m 6             YXYXYXYXYXYXYXYXYXYXYXYXYX",
-"  h W @.+.I y.&Xb.F 7 O           YXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-"  $ s %XU F.=X^ j #           YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-"    g O.<Xe.l 1             YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-"    o f n d .           YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/src/robomon/src/filesave.xpm b/src/robomon/src/filesave.xpm
deleted file mode 100644 (file)
index 86ea7d6..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-/* XPM */
-static char *filesave[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 257 2",
-"   c #000000",
-".  c #06060A",
-"X  c #09090D",
-"o  c #0B0B16",
-"O  c #101022",
-"+  c #1E1E28",
-"@  c #181829",
-"#  c #151F3A",
-"$  c #1A263F",
-"%  c #1D2A3F",
-"&  c #272730",
-"*  c #2E2E3F",
-"=  c #212140",
-"-  c #212E41",
-";  c #2F2F41",
-":  c #292A4A",
-">  c #23224B",
-",  c #262353",
-"<  c #292655",
-"1  c #2B2C54",
-"2  c #2C2C5B",
-"3  c #293746",
-"4  c #2D304F",
-"5  c #243243",
-"6  c #2E315D",
-"7  c #363647",
-"8  c #303E4A",
-"9  c #30325E",
-"0  c #3C3C53",
-"q  c #2E2E60",
-"w  c #2F3160",
-"e  c #302E63",
-"r  c #313164",
-"t  c #363861",
-"y  c #353868",
-"u  c #384650",
-"i  c #284F6B",
-"p  c #2D547B",
-"a  c #3B486A",
-"s  c #36597D",
-"d  c #3D5D7C",
-"f  c #4C4C4C",
-"g  c #40405A",
-"h  c #414E56",
-"j  c #4B585E",
-"k  c #49545E",
-"l  c #555555",
-"z  c #4D4D6B",
-"x  c #434675",
-"c  c #4B5660",
-"v  c #4F5962",
-"b  c #41517E",
-"n  c #4B507D",
-"m  c #515C67",
-"M  c #505D6E",
-"N  c #5C5D7D",
-"B  c #546066",
-"V  c #54626D",
-"C  c #5B646D",
-"Z  c #55677A",
-"A  c #556B78",
-"S  c #5D6772",
-"D  c #6B6B6B",
-"F  c #646464",
-"G  c #616C73",
-"H  c #63707D",
-"J  c #6B7679",
-"K  c gray45",
-"L  c #00418E",
-"P  c #004494",
-"I  c #004894",
-"U  c #044F98",
-"Y  c #03509B",
-"T  c #0A5198",
-"R  c #13579C",
-"E  c #185DA1",
-"W  c #285888",
-"Q  c #2B6094",
-"!  c #396D9A",
-"~  c #336A96",
-"^  c #3D719B",
-"/  c #226EB8",
-"(  c #326EA8",
-")  c #326BA3",
-"_  c #3673AE",
-"`  c #3A76B4",
-"'  c #0B6FD1",
-"]  c #0F75D8",
-"[  c #1479DA",
-"{  c #1B7CDC",
-"}  c #466481",
-"|  c #42749C",
-" . c #4A799E",
-".. c #506A84",
-"X. c #5F678D",
-"o. c #576391",
-"O. c #5A6592",
-"+. c #5F6893",
-"@. c #5B738B",
-"#. c #507DA1",
-"$. c #626283",
-"%. c #636A94",
-"&. c #656F98",
-"*. c #657A8F",
-"=. c #6B7299",
-"-. c #717191",
-";. c #797998",
-":. c #687BA6",
-">. c #2281DC",
-",. c #3F81C0",
-"<. c #3988D7",
-"1. c #2785E1",
-"2. c #2E8AE3",
-"3. c #368FE5",
-"4. c #3690E6",
-"5. c #3D93E7",
-"6. c #3D94E9",
-"7. c #57839E",
-"8. c #4787BC",
-"9. c #5480A1",
-"0. c #5B84A3",
-"q. c #6E8496",
-"w. c #6E8B9A",
-"e. c #7D848E",
-"r. c #728597",
-"t. c #738598",
-"y. c #768899",
-"u. c #7B8B9B",
-"i. c #6489A5",
-"p. c #698EA7",
-"a. c #6D8FA9",
-"s. c #6E81AB",
-"d. c #7683A6",
-"f. c #768CB7",
-"g. c #7395AD",
-"h. c #7C96B0",
-"j. c #4086CA",
-"k. c #4986C3",
-"l. c #4284C3",
-"z. c #498ED2",
-"x. c #4D95DB",
-"c. c #548DC5",
-"v. c #5D92C8",
-"b. c #5593C9",
-"n. c #5097DE",
-"m. c #5198DE",
-"M. c #4296E7",
-"N. c #4895E2",
-"B. c #4B99E5",
-"V. c #4A9CEB",
-"C. c #4599EB",
-"Z. c #529DE6",
-"A. c #589EE2",
-"S. c #54A1EB",
-"D. c #5AA1E6",
-"F. c #5AA5EB",
-"G. c #5EA8EF",
-"H. c #53A3F1",
-"J. c #5EAAF2",
-"K. c #6699CB",
-"L. c #799BC8",
-"P. c #7EA6C9",
-"I. c #60A2E5",
-"U. c #65A7E8",
-"Y. c #6BABE9",
-"T. c #68ADF2",
-"R. c #67B0F5",
-"E. c #6DB3F6",
-"W. c #70ADEA",
-"Q. c #75B0E9",
-"!. c #7CB5EB",
-"~. c #73B9F8",
-"^. c #7BBDFB",
-"/. c #7CBAF6",
-"(. c gray55",
-"). c #828899",
-"_. c #84949E",
-"`. c #918E8A",
-"'. c #949494",
-"]. c #8F8FA9",
-"[. c #8997A5",
-"{. c #8A9AA9",
-"}. c #9A9BAF",
-"|. c #9399A9",
-" X c #9FAAB5",
-".X c #A29E9B",
-"XX c #A7A7A7",
-"oX c #ABABAB",
-"OX c #A3A3B4",
-"+X c #A8A8B7",
-"@X c #A3ABB3",
-"#X c #B4B5B5",
-"$X c #B0B0BC",
-"%X c #B7B9BC",
-"&X c #BBB7B3",
-"*X c #BBBBBB",
-"=X c #82B1DB",
-"-X c #81B7EC",
-";X c #88BBED",
-":X c #86BAED",
-">X c #AEBBC8",
-",X c #A6BDCD",
-"<X c #BBBCC3",
-"1X c #81C1F6",
-"2X c #83C2FA",
-"3X c #89C4FA",
-"4X c #8CC8FC",
-"5X c #95C2EF",
-"6X c #93CBFD",
-"7X c #9BCFFF",
-"8X c #97D0FC",
-"9X c #9CD3FE",
-"0X c #BEC0C1",
-"qX c #A3C7E7",
-"wX c #A2CAF1",
-"eX c #A1D4FF",
-"rX c #A3D8FF",
-"tX c #AADBFF",
-"yX c #B0D1F2",
-"uX c #BDD9F4",
-"iX c #AAE0FF",
-"pX c #B3E1FF",
-"aX c #B9E6FF",
-"sX c #BEE9FF",
-"dX c #C4C4C4",
-"fX c #C6C5CD",
-"gX c #C6C8CB",
-"hX c #CAC7C4",
-"jX c #CAC8C6",
-"kX c #CBCCCB",
-"lX c #D1D0CE",
-"zX c #D3D3D3",
-"xX c #D4D7D9",
-"cX c #D8D8D7",
-"vX c #DBDBDB",
-"bX c #C4ECFF",
-"nX c #C9E0F6",
-"mX c #C4F5FF",
-"MX c #CCF2FF",
-"NX c #D5E6F7",
-"BX c #DDEBF9",
-"VX c #DCFDFF",
-"CX c #D3F1F5",
-"ZX c #E1E0DE",
-"AX c #E4E3E3",
-"SX c #E4E7EA",
-"DX c #E7E8E9",
-"FX c #E8E6E4",
-"GX c #EDE9E5",
-"HX c #EBEBEB",
-"JX c #E7EEF5",
-"KX c #EAF2FA",
-"LX c #F1EEEA",
-"PX c #F3F3F3",
-"IX c #F4F8FC",
-"UX c #FDFDFC",
-"YX c None",
-/* pixels */
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy y e 6 6 2 < < , , 1     YXYX",
-"YXYXYX2 < , , q w 2 e r r r w e w r e 2 6 1 6 s :.f.L.y     YXYX",
-"YXYXYXx d.s.:.a # $ $ % - 5 3 8 u h k B S J ).,XF.b.7.r     YXYX",
-"YXYXYX&.mX~.8.V #X#X%XdXfXzXxXvXZXZXDXFXFXDXLXDX>.U i 9     YXYX",
-"YXYXYXo.2X] L C UXDXcXzXkXkXkXjXjXdXdX%X%X&X%X*XN.' ~ 6     YXYX",
-"YXYXYXo.1X] P k hXoXXXXXoXoX#X#X*X%X&X%X%XdXkXxXx.[ ~ 6     YXYX",
-"YXYXYXO.3X[ I m FXkXjXjXkXkXkXkXkXkXzXzXzXcXZXSXx.{ ! 6     YXYX",
-"YXYXYXo.3X{ I S UXvXxXzXkXkXkXkXkXjXdX*X%X#X&X%XZ.1.^ 9     YXYX",
-"YXYXYXO.4X>.U j jX#X#X#X%XdXdXkXzXkXzXzXcXvXDXJXA.1.| 6     YXYX",
-"YXYXYXO.6X>.T V PXZXZXZXAXSXDXDXFXHXDXHXHXHXHXSXI.2.| 9     YXYX",
-"YXYXYXO.6X2.T G UXLXDXDXAXZXZXAXZXvXcXzXkXkXkXgXY.3. .6     YXYX",
-"YXYXYXO.9X4.R m zXdXdXkXzXvXAXDXHXLXPXPXIXUXUXUXQ.6. .9     YXYX",
-"YXYXYXO.9X5.R H UXIXUXUXUXUXUXUXUXUXUXUXIXKXJXBX-XC.#.9     YXYX",
-"YXYXYXO.eXM./ h.UXUXIXKXBXNXnXuXyXwX5X:X!.Y.Y.Y.D.H.9.6     YXYX",
-"YXYXYX+.rXB.<.x.Q.;X-XQ.Y.U.U.D.Z.Z.B.B.C.V.V.B.B.T.0.9     YXYX",
-"YXYXYX+.tXB.N.B.B.B.B.C.V.V.H.H.H.D.N.z.8._ ( <.D.R.0.9     YXYX",
-"YXYXYX+.tXS.Z.F.D.m.z.l.` ) Q W p s } @.r.[. X>XG.E.0.9     YXYX",
-"YXYXYX+.pXU.m.) p d ..*.u.|.+X<XzXZXGXLXGXZXzXjX/.~.p.r     YXYX",
-"YXYXYX%.aXT.k.*.GXlX&X.X`..XhXlXzXvXvXvXvXxXkXgX2X^.a.w     YXYX",
-"YXYXYX%.aXE.k.r.LXoXl f l F *XlXzXvXvXvXvXcXzXgX4X:Xa.w     YXYX",
-"YXYXYX%.bX~.c.y.LX'.f D K D 0XkXzXvXvXvXvXvXzXfX6X4Xg.9     YXYX",
-"YXYXYX%.bX^.c.y.LX'.l D K D 0XlXzXcXvXvXvXxXkXkX9X6Xw.r     YXYX",
-"YXYXYX%.bX2Xv.u.LX'.l K K K 0XlXzXcXvXvXvXvXkXfX9XP.M =     YXYX",
-"YXYXYX%.bX2XK.u.LX'.l K K D 0XlXxXcXvXZXvXxXzXkXqXZ : .     YXYX",
-"YXYXYX%.MX6XK.u.LX'.f F D D 0XkXzXcXvXvXvXvXcXkX_.: o       YXYX",
-"YXYXYX%.MX6XK.u.LXXX(.XX&XdXkXzXvXZXDXAXzX<X+X}.N O         YXYX",
-"YXYXYX%.VXiX=X{.FXzXkXkXjXdX<X$XOX].;.$.z 0 7 & X         YXYXYX",
-"YXYXYX=.CXq.A ).fX+X|.).-.N z 0 * + o                   YXYXYXYX",
-"YXYXYXn $.t 6 , 4 0 * + .                           YXYXYXYXYXYX",
-"YXYXYX> @ o                             YXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX                      YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX",
-"YXYXYX          YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
diff --git a/src/robomon/src/main.cpp b/src/robomon/src/main.cpp
deleted file mode 100644 (file)
index 072487f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-#include <QApplication>
-#include "robomon.h"
-
-int main(int argc, char *argv[])
-{
-      Q_INIT_RESOURCE(application);
-      QApplication app(argc, argv);
-      robomon * mw = new robomon();
-       
-      mw->show();
-      return app.exec();
-}
-
diff --git a/src/robomon/src/mapthread.cpp b/src/robomon/src/mapthread.cpp
deleted file mode 100644 (file)
index 2dbfa72..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "mapthread.h"
-#include "robomon.h"
-
-robomon *window;
-
-MapThread::MapThread()
-{
-       
-}
-
-void MapThread::setWindow(void *ptr)
-{
-       window = (robomon*)ptr;
-}
-
-void MapThread::run()
-{
-       forever {
-               QEvent* event = new QEvent(EVENT_MAP);
-               QCoreApplication::postEvent(window, event);     
-               sleep(1);
-               exec();
-       }
-       
-}
diff --git a/src/robomon/src/mapthread.h b/src/robomon/src/mapthread.h
deleted file mode 100644 (file)
index c00eeef..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// C++ Interface: mapthread
-//
-// Description: 
-//
-//
-// Author: Martin Zidek,,, <martin@martin-laptop>, (C) 2007
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-#ifndef MAPTHREAD_H
-#define MAPTHREAD_H
-
-
-#include <QThread>
-#include "ui_robomon.h"
-
-#include "robomon.h"
-#include <map.h>
-
-class MapThread : public QThread
-{
-       //Q_OBJECT
-                       
-       public:
-               MapThread();
-               int shared_segment_size;
-               int segment_id;         
-               //~MapThread();
-               void run();
-               void setWindow(void *ptr);
-};
-#endif
diff --git a/src/robomon/src/mymath.cpp b/src/robomon/src/mymath.cpp
deleted file mode 100644 (file)
index 45ae918..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-int signum(double x) 
-{
-       if(x>0) return 1;
-       else if(x==0) return 0;
-       else return -1;
-}
diff --git a/src/robomon/src/mymath.h b/src/robomon/src/mymath.h
deleted file mode 100644 (file)
index d432ef1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-int signum(double x);
-double abs(double x);
-double min(double x, double y);
diff --git a/src/robomon/src/playgroundscene.cpp b/src/robomon/src/playgroundscene.cpp
deleted file mode 100644 (file)
index a40584d..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-// C++ Implementation: playgroundscene
-//
-// Description: 
-//
-//
-// Author: Martin Zidek,,, <martin@martin-laptop>, (C) 2007
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-#include "playgroundscene.h"
-#include <QPointF>
-#include <QGraphicsSceneMouseEvent>
-#include <QGraphicsScene>
-#include <QGraphicsRectItem>
-#include "robomon.h"
-
-PlaygroundScene::PlaygroundScene(QObject *parent)
- : QGraphicsScene(parent)
-{
-    QGraphicsRectItem *tempRect;
-    setSceneRect(0,0,615,430);
-
-       //Okraj hriste
-    addLine(QLineF(TOP_LEFT,TOP_MIDDLE),QPen(QBrush(Qt::red),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(TOP_MIDDLE,TOP_RIGHT),QPen(QBrush(Qt::blue),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(TOP_LEFT,BOTTOM_LEFT),QPen(QBrush(Qt::red),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(BOTTOM_LEFT,BOTTOM_MIDDLE),QPen(QBrush(Qt::red),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(BOTTOM_MIDDLE,BOTTOM_RIGHT),QPen(QBrush(Qt::blue),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(BOTTOM_RIGHT,TOP_RIGHT),QPen(QBrush(Qt::blue),2,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-
-       //Kose vlevo dole
-    addLine(QLineF(BIN_LEFT_BOTTLE_START,BIN_LEFT_BOTTLE_END),QPen(QBrush(Qt::red),10,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(BIN_LEFT_CAN_START,BIN_LEFT_CAN_END),QPen(QBrush(Qt::red),10,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-
-       //Kose vpravo dole
-    addLine(QLineF(BIN_RIGHT_BOTTLE_START,BIN_RIGHT_BOTTLE_END),QPen(QBrush(Qt::blue),10,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-    addLine(QLineF(BIN_RIGHT_CAN_START,BIN_RIGHT_CAN_END),QPen(QBrush(Qt::blue),10,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-
-       //Plocha
-    tempRect = addRect(QRectF(11,1,597,417),QPen(QBrush(Qt::lightGray),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin),QBrush(Qt::lightGray));
-    tempRect->setZValue(1);
-
-       //Modre startovni pole
-    tempRect = addRect(QRectF(11,1,100,100),QPen(QBrush(Qt::blue),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin),QBrush(Qt::blue));
-    tempRect->setZValue(3);
-
-       //Cervene startovni pole
-    tempRect = addRect(QRectF(508,1,100,100),QPen(QBrush(Qt::red),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin),QBrush(Qt::red));
-    tempRect->setZValue(3);
-
-    obstacle = new QGraphicsEllipseItem(0, 0, 10, 10);
-    obstacle->setZValue(5);
-    obstacle->setBrush(QBrush(Qt::blue));
-    obstacle->setVisible(false);
-    this->addItem(obstacle);
-}
-
-
-PlaygroundScene::~PlaygroundScene()
-{
-}
-
-void PlaygroundScene::mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent)
-{
-    QGraphicsScene::mousePressEvent(mouseEvent);
-    QPointF pos = scene2world(mouseEvent->scenePos());
-    obstacle->setPos(mouseEvent->scenePos().x()-5, mouseEvent->scenePos().y()-5);
-    obstacleChanged(pos);
-}
-
-
-
-/*!
-    \fn PlaygroundScene::scene2world(QPointF scenePos)
- */
-QPointF PlaygroundScene::scene2world(QPointF scenePos)
-{
-    return QPointF((scenePos.x()-10)/200.0, (420-scenePos.y()+1)/200.0);
-}
-
-
-/*!
-    \fn PlaygroundScene::world2scene(QPointF worldPos)
- */
-QPointF PlaygroundScene::world2scene(QPointF worldPos)
-{
-    return QPointF(worldPos.x()*200+10, 1+420-worldPos.y());
-}
-
-
-/*!
-    \fn PlaygroundScene::showObstacle(int val)
- */
-void PlaygroundScene::showObstacle(int val)
-{
-    if (val)
-        obstacle->setVisible(true);
-    else
-        obstacle->setVisible(false);
-
-}
diff --git a/src/robomon/src/playgroundscene.h b/src/robomon/src/playgroundscene.h
deleted file mode 100644 (file)
index 0cd53aa..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef PLAYGROUNDSCENE_H
-#define PLAYGROUNDSCENE_H
-
-#include <QGraphicsScene>
-
-/**
-       @author Michal Sojka
-*/
-class PlaygroundScene : public QGraphicsScene
-{
-Q_OBJECT
-public:
-    PlaygroundScene(QObject *parent = 0);
-
-    ~PlaygroundScene();
-    virtual void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent);
-    static QPointF scene2world(QPointF scenePos);
-    static QPointF world2scene(QPointF worldPos);
-
-signals:
-    void obstacleChanged(QPointF pos);
-private:
-    QGraphicsEllipseItem *obstacle;
-public slots:
-    void showObstacle(int val);
-};
-
-#endif
diff --git a/src/robomon/src/posregcmu.cpp b/src/robomon/src/posregcmu.cpp
deleted file mode 100644 (file)
index b1d7f5c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-
-#include "posregcmu.h"
-#include <math.h>
-#include "mymath.h"
-
-PosRegCmu::PosRegCmu()
-{
-}
-
-
-PosRegCmu::~PosRegCmu()
-{
-}
-
-int* PosRegCmu::CMUnited(double v, double aktPos[], double nextPos[], double nextPos2[])
-        {
-            double thetaD, theta, alfa, d, fi, delta, t, r;
-            const int c = 5;
-            double x1, x2, y1, y2;
-            int rychlosti[4];// = new int[4];
-
-            x1 = nextPos[0] - aktPos[0];
-            y1 = nextPos[1] - aktPos[1];
-
-            x2 = nextPos2[0] - nextPos[0];
-            y2 = nextPos2[1] - nextPos[1];
-
-            fi = aktPos[2];
-
-            d = sqrt(pow(nextPos[0] - aktPos[0], 2) + (pow(nextPos[1] - aktPos[1], 2)));
-
-
-            alfa = acos((x1 * x2 + y1 * y2) / (sqrt(x1 * x1 + y1 * y1) * sqrt(x2 * x2 + y2 * y2)));
-            if ((x1 > 0) && (y1 < 0)) alfa = 2 * M_PI - alfa;
-
-
-
-            theta = acos(x1 / (sqrt(x1 * x1 + y1 * y1)));
-            if ((x1 > 0) && (y1 < 0)) theta = 2 * M_PI - theta;
-
-            if ((x1 < 0) && (y1 < 0)) theta = 2 * M_PI - theta;
-
-            thetaD = theta + min(alfa, atan(c / d));
-            delta = thetaD - fi;
-            t = pow(cos(delta), 2) * signum(cos(delta));
-            r = pow(sin(delta), 2) * signum(sin(delta));
-
-
-
-
-
-            //konvertim na byte, potencialni zdroj pruseru
-
-            double a = (1 * (t - r));
-            double b = (1 * (t + r));
-
-            if ((a > 0.5) & (b < -0.5)) v = 50;
-            if ((a < 0.5) & (b > -0.5)) v = 50;
-            a *= v;
-            b *= v;
-
-
-            rychlosti[0] = (int)abs(v * (t - r)); // leve kolo
-            rychlosti[1] = (int)abs(v * (t + r)); // prave kolo
-            if ((v * (t - r)) < 0) rychlosti[2] = 1;
-            if ((v * (t + r)) < 0) rychlosti[3] = 1;
-
-
-//          sw.WriteLine(aktPos[0].ToString() + ";" + aktPos[1].ToString() + ";" + aktPos[2].ToString() + ";" + a.ToString() + ";" + b.ToString());
-
-
-            return rychlosti;
-        }
diff --git a/src/robomon/src/posregcmu.h b/src/robomon/src/posregcmu.h
deleted file mode 100644 (file)
index 3fc1106..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-
-#ifndef POSREGCMU_H
-#define POSREGCMU_H
-
-/**
-       @author Martin Zidek
-*/
-class PosRegCmu{
-public:
-    PosRegCmu();
-
-    ~PosRegCmu();
-       int* CMUnited(double v, double aktPos[], double nextPos[], double nextPos2[]);
-
-};
-
-#endif
diff --git a/src/robomon/src/robomon.cpp b/src/robomon/src/robomon.cpp
deleted file mode 100644 (file)
index 7d1d179..0000000
+++ /dev/null
@@ -1,629 +0,0 @@
-#include <math.h>
-#include "robomon.h"
-#include "robomon_orte.h"
-#include "robot.h"
-#include <pthread.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <path_planner.h>
-#include <robodim_eb2007.h>
-
-#include <QCoreApplication>
-#include <QEvent>
-#include <QDebug>
-#include <QMessageBox>
-#include <sharp.h>
-#include <fstream>
-#include <iostream>
-#include <trgen.h>
-
-#define SHARP_MM       1
-
-bool robomon::event(QEvent *event) 
-{
-       char buffer[20];
-       switch(event->type()) {
-               case QEvent::GraphicsSceneMousePress:
-                       break;
-               case EVENT_POS:
-                       sprintf(buffer,"%f",pozice.x);
-                       this->tbX->setText(buffer);
-                       sprintf(buffer,"%f",pozice.y);
-                       this->tbY->setText(buffer);
-                       sprintf(buffer,"%f",pozice.phi);
-                       this->tbPhi->setText(buffer);
-                       if(!isnan(pozice.x) || !isnan(pozice.y) || !isnan(pozice.phi))
-                               this->rob->moveRobot(pozice.x,pozice.y,pozice.phi);
-                       return TRUE;
-                       break;
-               case EVENT_EST_POS:
-                       sprintf(buffer,"%f",est_pos.x);
-                       this->tbX2->setText(buffer);
-                       sprintf(buffer,"%f",est_pos.y);
-                       this->tbY2->setText(buffer);
-                       sprintf(buffer,"%f",est_pos.phi);
-                       this->tbPhi2->setText(buffer);
-                       if(!isnan(pozice.x) || !isnan(est_pos.y) || !isnan(est_pos.phi))
-                               this->est_rob->moveRobot(est_pos.x,est_pos.y,est_pos.phi);
-                       return TRUE;
-                       break;
-               case EVENT_IR:
-                       this->setIR(stateIR);
-                       return TRUE;
-                       break;
-               case EVENT_SHARP:
-                       this->setSharp();
-                       return TRUE;
-                       break;
-               case EVENT_DI:
-                       this->setDI(stateDI);
-                       return TRUE;
-                       break;
-               case EVENT_ACCU:
-                       this->updateAccu();
-                       return TRUE;
-                       break;
-               default:
-                       return FALSE;
-       }
-       return FALSE;
-}
-
-void robomon::setDI(stateDigIn stateDI)
-{
-       this->cbDI0->setChecked((stateDI.state & (1<<0)));
-       this->cbDI1->setChecked((stateDI.state & (1<<1)));
-       this->cbDI2->setChecked((stateDI.state & (1<<2)));
-       this->cbDI3->setChecked((stateDI.state & (1<<3)));
-       this->cbDI4->setChecked((stateDI.state & (1<<4)));
-       this->cbDI5->setChecked((stateDI.state & (1<<5)));
-       this->cbDI6->setChecked((stateDI.state & (1<<6)));
-       this->cbDI7->setChecked((stateDI.state & (1<<7)));
-}
-
-void robomon::updateAccu()
-{
-       static QGraphicsEllipseItem *waste[4];
-       static accumulator_type prevState;
-       static bool first=true;
-       
-       if(first) {
-               int i;
-               for(i=0; i<4; i++)
-                       waste[i] = this->sceneAccu->addEllipse(0,0,0,0,QPen(Qt::white),QBrush(Qt::white));
-               first = false;
-       }
-       
-       if(prevState.position1!=accu.position1)
-               switch(accu.position1) {
-                       case BOTTLE:
-                               this->sceneAccu->removeItem(waste[0]);
-                               waste[0] = this->sceneAccu->addEllipse(41,41,80,80,QPen(Qt::green),QBrush(Qt::green));
-                               break;
-                       case CAN:
-                               this->sceneAccu->removeItem(waste[0]);
-                               waste[0] = this->sceneAccu->addEllipse(41,41,80,80,QPen(Qt::red),QBrush(Qt::red));
-                               break;
-                       case UNKNOWN:
-                               this->sceneAccu->removeItem(waste[0]);
-                               waste[0] = this->sceneAccu->addEllipse(41,41,80,80,QPen(Qt::gray),QBrush(Qt::gray));
-                               break;
-                       default:
-                               break;
-               }
-               
-       if(prevState.position2!=accu.position2)
-               switch(accu.position2) {
-                       case BOTTLE:
-                               this->sceneAccu->removeItem(waste[1]);
-                               waste[1] = this->sceneAccu->addEllipse(121,41,80,80,QPen(Qt::green),QBrush(Qt::green));
-                               break;
-                       case CAN:
-                               this->sceneAccu->removeItem(waste[1]);
-                               waste[1] = this->sceneAccu->addEllipse(121,41,80,80,QPen(Qt::red),QBrush(Qt::red));
-                               break;
-                       case UNKNOWN:
-                               this->sceneAccu->removeItem(waste[1]);
-                               waste[1] = this->sceneAccu->addEllipse(121,41,80,80,QPen(Qt::gray),QBrush(Qt::gray));
-                       default:
-                               break;
-               }
-                       
-       if(prevState.position3!=accu.position3)
-               switch(accu.position3) {
-                       case BOTTLE:
-                               this->sceneAccu->removeItem(waste[2]);
-                               waste[2] = this->sceneAccu->addEllipse(201,41,80,80,QPen(Qt::green),QBrush(Qt::green));
-                               break;
-                       case CAN:
-                               this->sceneAccu->removeItem(waste[2]);
-                               waste[2] = this->sceneAccu->addEllipse(201,41,80,80,QPen(Qt::red),QBrush(Qt::red));
-                               break;
-                       case UNKNOWN:
-                               this->sceneAccu->removeItem(waste[2]);
-                               waste[2] = this->sceneAccu->addEllipse(201,41,80,80,QPen(Qt::gray),QBrush(Qt::gray));
-                               break;
-                       default:
-                               break;
-               }
-                               
-       if(prevState.position4!=accu.position4)
-               switch(accu.position4) {
-                       case BOTTLE:
-                               this->sceneAccu->removeItem(waste[3]);
-                               waste[3] = this->sceneAccu->addEllipse(281,41,80,80,QPen(Qt::green),QBrush(Qt::green));
-                                       break;
-                       case CAN:
-                               this->sceneAccu->removeItem(waste[3]);
-                               waste[3] = this->sceneAccu->addEllipse(281,41,80,80,QPen(Qt::red),QBrush(Qt::red));
-                               break;
-                       case UNKNOWN:
-                               this->sceneAccu->removeItem(waste[3]);
-                               waste[3] = this->sceneAccu->addEllipse(281,41,80,80,QPen(Qt::gray),QBrush(Qt::gray));
-                       default:
-                               break;
-       }
-}
-
-void robomon::setIR(unsigned short int stateIR)
-{
-       this->cbIR1->setChecked((sir.front & (1<<7)));
-       this->cbIR2->setChecked((sir.front & (1<<6)));
-       this->cbIR3->setChecked((sir.front & (1<<5)));
-       this->cbIR4->setChecked((sir.front & (1<<4)));
-       this->cbIR5->setChecked((sir.front & (1<<3)));
-       this->cbIR6->setChecked((sir.front & (1<<2)));
-       this->cbIR7->setChecked((sir.front & (1<<1)));
-       this->cbIR8->setChecked((sir.front & (1<<0)));
-       this->cbIR9->setChecked((sir.back & (1<<0)));
-       this->cbIR10->setChecked((sir.back & (1<<1)));
-       this->cbIR11->setChecked((sir.back & (1<<2)));
-       this->cbIR12->setChecked((sir.back & (1<<3)));
-       this->cbIR13->setChecked((sir.back & (1<<4)));
-       this->cbIR14->setChecked((sir.back & (1<<5)));
-       this->cbIR15->setChecked((sir.back & (1<<6)));
-       this->cbIR16->setChecked((sir.back & (1<<7)));
-}
-
-robomon::robomon(QWidget* parent, Qt::WFlags fl)
-: QWidget( parent, fl ), Ui::Form()
-{      
-       setupUi(this);
-
-       QObject::connect(this->btStopMotors, SIGNAL(clicked()), this, SLOT(stopMotors()));
-       
-       QObject::connect(this->dServo3, SIGNAL(valueChanged(int)), this, SLOT(moveServo(int)));
-       QObject::connect(this->dServo4, SIGNAL(valueChanged(int)), this, SLOT(moveServo(int)));
-       
-       QObject::connect(this->cbFrontDoor, SIGNAL(stateChanged(int)), this, SLOT(frontDoor(int)));
-       QObject::connect(this->cbInnerDoor, SIGNAL(stateChanged(int)), this, SLOT(innerDoor(int)));
-       QObject::connect(this->cbBackDoor, SIGNAL(stateChanged(int)), this, SLOT(backDoor(int)));
-       QObject::connect(this->cbLaunch, SIGNAL(stateChanged(int)), this, SLOT(launchFront(int)));
-
-
-       QObject::connect(this->btDopravnikFront, SIGNAL(clicked()), this, SLOT(stopDopravnikFront()));
-
-       QObject::connect(this->btDopravnikBack, SIGNAL(clicked()), this, SLOT(stopDopravnikBack()));
-       QObject::connect(this->btMap, SIGNAL(clicked()), this, SLOT(showMap()));
-
-       QObject::connect(this->cbDO0, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO1, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO2, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO3, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO4, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO5, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO6, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-       QObject::connect(this->cbDO7, SIGNAL(stateChanged(int)), this, SLOT(setDO(int)));
-
-       QObject::connect(this->slMotorLeft, SIGNAL(valueChanged(int)), this, SLOT(setMotor(int)));
-       QObject::connect(this->slMotorRight, SIGNAL(valueChanged(int)), this, SLOT(setMotor(int)));
-       
-    QObject::connect(this->cbSimulation, SIGNAL(stateChanged(int)), this, SLOT(setSimul(int)));
-       
-       QObject::connect(this->slB1, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       QObject::connect(this->slB2, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       QObject::connect(this->slB3, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       
-       QObject::connect(this->slA1, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       QObject::connect(this->slA2, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       QObject::connect(this->slA3, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       QObject::connect(this->slA4, SIGNAL(valueChanged(int)), this, SLOT(setSharpVal(int)));
-       
-
-       this->scene = new PlaygroundScene();
-       this->sceneAccu = new QGraphicsScene();
-       this->sceneAccu->setSceneRect(QRectF(0,0,311,50));
-       this->gvPlayground->setScene(this->scene);
-       this->gvAcc->setScene(this->sceneAccu);
-    
-
-       QObject::connect(this->cbObstackle, SIGNAL(stateChanged(int)), this, SLOT(setSimul(int)));
-       QObject::connect(this->cbObstackle, SIGNAL(stateChanged(int)), this, SLOT(obstackleSimulation(int)));
-       connect(this->cbObstackle, SIGNAL(stateChanged(int)), this->scene, SLOT(showObstacle(int)));
-       connect(this->scene, SIGNAL(obstacleChanged(QPointF)), this, SLOT(changeObstacle(QPointF)));
-
-       rob = new robot(NULL, scene, 0);
-       rob->setZValue(10);
-       est_rob = new robot(NULL, scene, 1);
-       est_rob->setZValue(10);
-       
-       scene->addItem(rob);
-       scene->addItem(est_rob);
-//     rob->moveRobot(pos.x,pos.y,pos.phi);
-       
-       orte_function(this);
-       serva.transporterInner = TRANSPORTER_OFF;
-       serva.transporterFront = TRANSPORTER_OFF;
-       serva.frontDoor = FRONT_DOOR_UP;
-       serva.backDoor = BACK_DOOR_UP;
-       serva.innerDoor = INNER_DOOR_UP;
-}
-
-
-robomon::~robomon()
-{
-       ShmapDt();
-       //shmdt((void*)map);
-
-       ORTEDomainAppDestroy(d);
-}
-
-void robomon::setSimul(int value)
-{
-       if(value) {
-               publisherCreateSensShort(this);
-               publisherCreateSensLong(this);
-       }
-       else {
-               ORTEPublicationDestroy(publisherSharpShort);
-               ORTEPublicationDestroy(publisherSharpLong);
-       }
-}
-
-void robomon::moveServo(int value)
-{
-       serva.transporterInner = this->dServo3->value();
-       serva.transporterFront = this->dServo4->value();
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::frontDoor(int state)
-{
-       if(state) serva.frontDoor = FRONT_DOOR_UP;
-       else serva.frontDoor = FRONT_DOOR_DOWN;
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::launchFront(int state)
-{
-       if(state) serva.release = 255;
-       else serva.release = 50;
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::innerDoor(int state)
-{
-       if(state) serva.innerDoor = INNER_DOOR_UP;
-       else serva.innerDoor = INNER_DOOR_DOWN;
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::backDoor(int state)
-{
-       if(state) serva.backDoor = BACK_DOOR_UP;
-       else serva.backDoor = BACK_DOOR_DOWN;
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::stopDopravnikFront(void)
-{
-       serva.transporterInner = TRANSPORTER_OFF;
-       this->dServo3->setValue(TRANSPORTER_OFF);       
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::stopDopravnikBack(void)
-{
-       serva.transporterFront = TRANSPORTER_OFF;
-       this->dServo4->setValue(TRANSPORTER_OFF);       
-       ORTEPublicationSend(publisherServa);
-}
-
-void robomon::setSharpVal(int x)
-{      
-       sharpyLahve.short1 = this->slA1->value();
-       sharpyLahve.short2 = this->slA2->value();
-       sharpyLahve.short3 = this->slA3->value();
-       sharpyLahve.short4 = this->slA4->value();
-       ORTEPublicationSend(publisherSharpShort);
-       sharpySouper.longSharpDist1 = this->slB1->value()/1000.0;
-       sharpySouper.longSharpDist2 = this->slB2->value()/1000.0;
-       sharpySouper.longSharpDist3 = this->slB3->value()/1000.0;
-       ORTEPublicationSend(publisherSharpLong);
-}
-
-void robomon::setDO(int x)
-{      
-       stateDO[0] = this->cbDO0->isChecked();
-       stateDO[1] = this->cbDO1->isChecked();
-       stateDO[2] = this->cbDO2->isChecked();
-       stateDO[3] = this->cbDO3->isChecked();
-       stateDO[4] = this->cbDO4->isChecked();
-       stateDO[5] = this->cbDO5->isChecked();
-       stateDO[6] = this->cbDO6->isChecked();
-       stateDO[7] = this->cbDO7->isChecked();
-       ORTEPublicationSend(publisherDO);
-}
-
-void robomon::setSharp()
-{
-       char buffer[20];
-    int val;
-    val = ss1.longSharpDist1*1000;
-       sprintf(buffer,"%dmm",val);
-       this->tbSharpLong1->setText(buffer);
-    if (val > pbSharpLong1->maximum()) val = pbSharpLong1->maximum();
-    this->pbSharpLong1->setValue(val);
-    
-    val = ss1.longSharpDist2*1000;
-//     sprintf(buffer,"%d", ss1.longSharpDist2);
-    sprintf(buffer,"%dmm",val);
-       this->tbSharpLong2->setText(buffer);
-    if (val > pbSharpLong2->maximum()) val = pbSharpLong2->maximum();
-    this->pbSharpLong2->setValue(val);
-    
-    val = ss1.longSharpDist3*1000;
-//     sprintf(buffer,"%d", ss1.longSharpDist3);
-    sprintf(buffer,"%dmm",val);
-       this->tbSharpLong3->setText(buffer);
-    if (val > pbSharpLong3->maximum()) val = pbSharpLong3->maximum();
-    this->pbSharpLong3->setValue(val);
-       
-       this->pbSharpShort1->setValue(s_ir2mmShort(ss2.short1));
-#if SHARP_MM   
-       sprintf(buffer,"%d",s_gp2d120_ir2mmShort(ss2.short1));
-#else
-       sprintf(buffer,"%d",(ss2.short1));
-#endif 
-       this->tbSharpShort1->setText(buffer);
-       
-       this->pbSharpShort2->setValue(s_ir2mmShort(ss2.short2));
-#if SHARP_MM   
-       sprintf(buffer,"%d",s_gp2d120_ir2mmShort(ss2.short2));
-#else  
-       sprintf(buffer,"%d",(ss2.short2));
-#endif         
-       this->tbSharpShort2->setText(buffer);
-       
-       this->pbSharpShort3->setValue(s_ir2mmShort(ss2.short3));
-#if SHARP_MM           
-       sprintf(buffer,"%d",s_gp2d120_ir2mmShort(ss2.short3));
-#else
-       sprintf(buffer,"%d",(ss2.short3));
-#endif         
-       this->tbSharpShort3->setText(buffer);
-       
-       this->pbSharpShort4->setValue(s_ir2mmShort(ss2.short4));
-#if SHARP_MM           
-       sprintf(buffer,"%d",s_gp2d120_ir2mmShort(ss2.short4));
-#else  
-       sprintf(buffer,"%d",(ss2.short4));
-#endif         
-       this->tbSharpShort4->setText(buffer);
-}
-
-void robomon::setMotor(int x)
-{
-       short int motorL;
-       short int motorR;
-
-       if(this->cbJoinMotors->isChecked()) {
-               slMotorRight->setValue(slMotorLeft->value());
-       }
-       motorL = (short int)(MOTOR_LIMIT * (slMotorLeft->value()/100.0));
-       motorR = (short int)(MOTOR_LIMIT * (slMotorRight->value()/100.0));
-       
-       mspeed.left = motorL;
-       mspeed.right = motorR;
-
-       ORTEPublicationSend(publisherMotor);
-}
-
-void robomon::stopMotors()
-{
-       slMotorLeft->setValue(0);
-       slMotorRight->setValue(0);
-}
-
-void robomon::showMap()
-{
-       size = PG_X / MAP_WIDTH;
-       
-       shared_segment_size = sizeof(char) * MAP_WIDTH * MAP_HEIGHT;
-       
-       /* Get segment identificator in a read only mode  */
-       segment_id = shmget (SHM_MAP_KEY, shared_segment_size, S_IRUSR );
-       if(segment_id==-1) {
-               QMessageBox::critical(this,"robomon","Unable to open shared memory segment!");
-               return;
-       }
-
-       /* Init Shmap */
-       ShmapInit(0);
-       
-       /* Attach the shared memory segment */
-       //map =  (_Map*)shmat (segment_id, (void*) 0, 0);
-
-       timer = new QTimer(this);
-       connect(timer, SIGNAL(timeout()), this, SLOT(paintMap()));
-       timer->start(200);
-       
-}
-
-void robomon::paintMap()
-{
-    using namespace Qt;
-       static QGraphicsRectItem *rects[MAP_WIDTH][MAP_HEIGHT];
-       static bool firstMap = true;
-       int x,y;
-        struct map *map = ShmapIsMapInit();
-        if (!map) return;
-       
-       for(int i=0; i < MAP_WIDTH; i++) {
-               for(int j=0; j<MAP_HEIGHT; j++) {
-                       x = TOP_LEFT_X+i*size;
-                       y = TOP_LEFT_Y+j*size;
-                               
-                       if(firstMap) {                  
-                               rects[i][j] = this->scene->addRect(QRectF(x,y,size,size),QPen(QBrush(Qt::black),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin),QBrush(Qt::lightGray));
-                       
-                               rects[i][j]->setZValue(4);
-                       }
-
-                        QColor color;
-                               
-                        struct map_cell *cell = &map->cells[j][i];
-                        color = lightGray;
-                        if (cell->flags & MAP_FLAG_WALL)
-                                color = darkYellow;
-                        if (cell->flags & MAP_FLAG_SIMULATED_WALL)
-                                color = yellow;
-                        if (cell->flags & MAP_FLAG_PATH)
-                                color = darkRed;
-                        if (cell->flags & MAP_FLAG_START)
-                                color = red;
-                        if (cell->flags & MAP_FLAG_GOAL)
-                                color = green;
-                        if (cell->detected_obstacle) {
-                                QColor c1(color), c2(blue);
-                                double f = (double)cell->detected_obstacle/MAP_NEW_OBSTACLE*0.7;
-                                QColor c(c1.red()   + (int)(f*(c2.red()   - c1.red())),
-                                         c1.green() + (int)(f*(c2.green() - c1.green())),
-                                         c1.blue()  + (int)(f*(c2.blue()  - c1.blue())));
-                                color = c;
-                        }
-                        if (cell->flags & MAP_FLAG_DET_OBST)
-                                color = cyan;
-                        
-                        rects[i][j]->setBrush(QBrush(color));
-                }
-       }
-       firstMap = false;
-       
-}
-
-
-
-/*$SPECIALIZATION$*/
-
-
-/*!
-    \fn robomon::obstackleSimulation(int state)
- */
-void robomon::obstackleSimulation(int state)
-{
-    if (state) {
-       /* TODO Maybe it is possible to attach only once to Shmap    */
-        ShmapInit(0);
-        obstSimTimer = new QTimer(this);
-        connect(obstSimTimer, SIGNAL(timeout()), this, SLOT(simulateObstackles()));
-        obstSimTimer->start(100);
-        this->setMouseTracking(true);
-    } else {
-        if (obstSimTimer) delete obstSimTimer;
-        double distance = 0.8;
-        sharpySouper.longSharpDist1 = distance;
-        sharpySouper.longSharpDist2 = distance;
-        sharpySouper.longSharpDist3 = distance;
-        ORTEPublicationSend(publisherSharpLong);
-
-    }
-}
-
-/** 
- * Calculation for sensor simulation. Calculates distance that would
- * be returned by IR sensors, if there is only one obstacle (as
- * specified by parameters).
- * 
- * @param obstacle Position of the obstacle (x, y in meters).
- * @param obstacleSize Size (diameter) of the obstacle in meters.
- * 
- * @return Distance measured by sensors in meters.
- */
-static double distanceToObstacle(Point obstacle, double obstacleSize)
-{
-    Point robot(pozice.x, pozice.y);
-    const double sensorRange = 1.0; /*[meters]*/
-
-    double distance, angle;
-
-    angle = robot.angleTo(obstacle) - pozice.phi;
-    angle = fmod(angle, 2.0*M_PI);
-    if (angle > +M_PI) angle -= 2.0*M_PI;
-    if (angle < -M_PI) angle += 2.0*M_PI;
-    angle = fabs(angle);
-    distance = robot.distanceTo(obstacle)-0.11;
-    if (angle < atan(obstacleSize/2.0 / (distance+0.001))) {
-        // We can see the obstackle from here.
-        if (angle < M_PI/2.0) {
-            distance = distance/cos(angle);
-        }
-        distance -= ROBOT_AXIS_TO_BELT_M;
-        if (distance > sensorRange) distance = sensorRange;
-    } else {
-        distance = sensorRange;
-    }
-    return distance;
-}
-
-static double distanceToWall(){
-       double distance=1.0, min_distance=1.0;
-       int i,j;
-       Point wall;
-        struct map *map = ShmapIsMapInit();
-        if (!map) return min_distance;
-
-       // Simulate obstacles
-       for(j=0;j<MAP_HEIGHT;j++){
-               for (i=0;i<MAP_WIDTH;i++){
-                       struct map_cell *cell = &map->cells[j][i];
-                       if( cell->flags & MAP_FLAG_SIMULATED_WALL) {
-                               // WALL
-                                ShmapCell2Point(i, j, &wall.x, &wall.y);
-
-                               distance = distanceToObstacle(wall, MAP_CELL_SIZE_M);
-                               if (distance<min_distance) min_distance = distance;
-                       }
-               }
-       }
-       return min_distance;
-}
-
-
-/*!
-    \fn robomon::simulateObstackles()
- */
-void robomon::simulateObstackles()
-{
-    double distance, wall_distance;
-
-    
-    wall_distance = distanceToWall();
-    distance = distanceToObstacle(simulatedObstacle, 0.5/*meters*/);
-    if (wall_distance<distance) distance = wall_distance;
-    
-    sharpySouper.longSharpDist1 = distance;
-    sharpySouper.longSharpDist2 = distance;
-    sharpySouper.longSharpDist3 = distance;
-    ORTEPublicationSend(publisherSharpLong);
-
-    
-}
-
-
-void robomon::changeObstacle(QPointF pos)
-{
-    simulatedObstacle.x = pos.x();
-    simulatedObstacle.y = pos.y();
-    simulateObstackles();
-}
diff --git a/src/robomon/src/robomon.h b/src/robomon/src/robomon.h
deleted file mode 100644 (file)
index 034d43f..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-#ifndef ROBOMON_H
-#define ROBOMON_H
-
-#include <QWidget>
-#include <QTimer>
-#include <QMouseEvent>
-#include "ui_robomon.h"
-#include "robot.h"
-#include "mapthread.h"
-#include <queue>
-#include <cstdlib>
-#include <sys/shm.h>
-#include <sys/stat.h>
-
-
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <unistd.h>
-
-#include <robottype.h>
-#include <robottype_eb2007.h>
-#include <robottype.h>
-#include <trgen.h>
-#include "playgroundscene.h"
-
-#include <orte.h>
-
-#include <map.h>
-
-#define RES_FACTOR 5
-#define RES_X 300 / RES_FACTOR
-#define RES_Y 210 / RES_FACTOR
-
-#define PG_X 600
-#define PG_Y 420
-
-#define TOP_LEFT QPointF(10,0)
-#define TOP_LEFT_X 10
-#define TOP_LEFT_Y 0
-#define TOP_MIDDLE QPointF(310,0)
-#define TOP_RIGHT QPointF(610,0)
-#define BOTTOM_LEFT QPointF(10,420)
-#define BOTTOM_MIDDLE QPointF(310,420)
-#define BOTTOM_RIGHT QPointF(610,420)
-#define BIN_LEFT_BOTTLE_START QPointF(5,320)
-#define BIN_LEFT_BOTTLE_END QPointF(5,420)
-#define BIN_LEFT_CAN_START QPointF(10,425)
-#define BIN_LEFT_CAN_END QPointF(110,425)
-#define BIN_RIGHT_BOTTLE_START QPointF(615,320)
-#define BIN_RIGHT_BOTTLE_END QPointF(615,420)
-#define BIN_RIGHT_CAN_START QPointF(510,425)
-#define BIN_RIGHT_CAN_END QPointF(610,425)
-
-#define FRONT_DOOR 1
-#define INNER_DOOR 4
-#define BACK_DOOR 0
-#define FRONT_LAUNCH 5
-#define TRANSPORTER_FRONT 2
-#define TRANSPORTER_INNER 3
-
-#define FRONT_DOOR_UP 20
-#define FRONT_DOOR_DOWN 251
-#define INNER_DOOR_UP 255
-#define INNER_DOOR_DOWN 1
-#define BACK_DOOR_UP 180
-#define BACK_DOOR_DOWN 1
-#define TRANSPORTER_OFF 127
-#define FRONT_LAUNCH_LOCK 195
-#define FRONT_LAUNCH_OPEN 66
-
-#define MOTOR_LIMIT 10000.0
-
-#define EVENT_POS (QEvent::Type)(QEvent::User)
-#define EVENT_EST_POS (QEvent::Type)(QEvent::User+6)
-#define EVENT_IR (QEvent::Type)(QEvent::User+1)
-#define EVENT_SHARP (QEvent::Type)(QEvent::User+2)
-#define EVENT_DI (QEvent::Type)(QEvent::User+3)
-#define EVENT_MAP (QEvent::Type)(QEvent::User+4)
-#define EVENT_ACCU (QEvent::Type)(QEvent::User+5)
-
-
-//!  Main Robomon application class. 
-/*!
-  This class serves to set up GUI.
-*/
-
-class robomon : public QWidget, private Ui::Form
-{
-  Q_OBJECT
-
-public:
-       //! Size of the shared memory segment
-       /*!
-               The size computed in showMap() function as a size of char variable multiplied by MAP_WIDTH and MAP_HEIGHT from map_definitions.h
-       */      
-       int shared_segment_size;
-       
-       //! ID of the shared memory segment
-       /*!
-        * Shared memory segment ID is saved to this variable.
-        * \sa showMap()
-        */
-       int segment_id;
-       
-       //! Graphics scene used to paint the graphic objects
-       /*!
-        * This scene is painted in #gvPlaygroud GraphicsView. All the graphical obejcts to be painted should be added to this scene.
-        */
-       PlaygroundScene* scene;
-       QGraphicsScene* sceneAccu;
-       
-       //! Robot graphical object
-       /*!
-        * This is a pointer to the graphical representation of robot on the playground.
-        */
-       robot *rob;
-       /* graphical presentation of the estimated position of the robot */
-       robot *est_rob;
-       
-       //! Structure for saving sensor values during sensor simulation
-       /*!
-        * This structure is used to save IR sensor values from sliding bars during sensor simulation. It is then published on ORTE.
-        */
-       struct sharpShorts_type sharpyLahve;
-       
-       //! Structure for saving sensor values during sensor simulation
-       /*!
-        * This structure is used to save IR sensor values from sliding bars during sensor simulation. It is then published on ORTE.
-        */
-       struct sharpLongs_type sharpySouper;
-       
-       //! Timer for automatic map display refresh
-       /*!
-        * This timer serves for periodic calling of map display refreshing function (paintMap()). It is initialized in showMap(). Timer value is set to 2000 miliseconds.
-        */
-       QTimer *timer;
-       
-       //! Pointer to map representation in shared memory
-       /*!
-        * This pointer contains the address of the map variable in shared memory. It is initialized in showMap().
-        */
-       //_Map *map;    
-       
-       //! Size of a map cell in px
-       /*!
-        * This variable contains size of map cells on the screen in px. It is calculated as PG_X / MAP_WIDTH in showMap() and is used in paintMap().
-        * \sa showMap(), paintMap()
-        */
-       
-       int size;
-
-       //! Robomon class constructor
-       /*!
-        * This is the robomon class constructor. First signals from all the controls on the main panel are connected to appropriate slots. Then the GraphicsScene object is created (#scene). When the scene is set up, the playgroung graphics are added to it. After the playground is painted, new instance of robot class is created and the pointer to it is saved to #rob. ORTE initialization function is also called from the constructor and pointer to this instance of robomon is passed to it. In the end, all servos are set to initial position.
-        */
-       robomon(QWidget* parent = 0, Qt::WFlags fl = 0);
-       
-       //! Robomon class destructor
-       /*!
-        * This is the robomon class destructor. It is used to detach the shared memory segment and to destroy ORTE application domain.
-        */
-       ~robomon();
-       
-       //! QT event processing
-       /*!
-        * This function serves for processing of all QT events. If the event is one of user defined ones, appropriate function is called to process it, otherwise the event is passed on to the QT engine.
-        *\sa setIR(), setSharp(), setDI(), paintMap()
-        */
-       bool event(QEvent *evet);
-       
-       //! Digital inputs visualization
-       /*!
-        * This function sets the checkboxes that represent digital inputs according DI data received from ORTE. It is called from event() when EVENT_DI is received (from DI subscriber callback from ORTE).
-        * \sa event()
-        */
-       void setDI(struct stateDigIn_type);
-       
-       //! Sharp IR sensors data visualization
-       /*!
-        * This function sets the progress bars that represent IR sensors values according to data received from ORTE. It is called from event() when EVENT_SHARP is received (from sharp data subscriber from ORTE).
-        * \sa event()
-        */
-       void setSharp();
-       
-       void updateAccu();
-       
-       
-public slots:
-  /*$PUBLIC_SLOTS$*/
-       void moveServo(int value);
-       void frontDoor(int value);
-       void innerDoor(int value);
-       void backDoor(int value);
-       void launchFront(int value);
-
-       void stopDopravnikFront();
-       void stopDopravnikBack();
-       void setDO(int x);
-       void setIR(unsigned short int);
-       void setMotor(int);
-       void setSimul(int);
-       void setSharpVal(int);
-       void stopMotors(void);
-    void changeObstacle(QPointF pos);
-       
-       //! This function sets-up the application to load map from shared memory and display it
-       /*!
-       *       The function finds out the size of map square representation on the screen (in px) and the size of the shared memory segment. Then the function tries to get the shm id and in case of failure an error message is displayed. If the function could get the segment id (#segment_id), the segment is attached to #map pointer.
-       */
-       void showMap(void);
-       void paintMap(void);
-
-protected:
-  /*$PROTECTED_FUNCTIONS$*/
-
-protected slots:
-  /*$PROTECTED_SLOTS$*/
-    void obstackleSimulation(int state);
-    void simulateObstackles();
-
-protected:
-    QTimer * obstSimTimer;
-    Point simulatedObstacle;
-};
-
-#endif
-
diff --git a/src/robomon/src/robomon.ui b/src/robomon/src/robomon.ui
deleted file mode 100644 (file)
index 3033f11..0000000
+++ /dev/null
@@ -1,1577 +0,0 @@
-<ui version="4.0" >
- <class>Form</class>
- <widget class="QWidget" name="Form" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>1024</width>
-    <height>690</height>
-   </rect>
-  </property>
-  <property name="sizePolicy" >
-   <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-    <horstretch>0</horstretch>
-    <verstretch>0</verstretch>
-   </sizepolicy>
-  </property>
-  <property name="minimumSize" >
-   <size>
-    <width>1024</width>
-    <height>690</height>
-   </size>
-  </property>
-  <property name="maximumSize" >
-   <size>
-    <width>1024</width>
-    <height>690</height>
-   </size>
-  </property>
-  <property name="baseSize" >
-   <size>
-    <width>640</width>
-    <height>480</height>
-   </size>
-  </property>
-  <property name="windowTitle" >
-   <string>Robomon</string>
-  </property>
-  <property name="toolTip" >
-   <string>Mouse in plaground simulates an obstackle</string>
-  </property>
-  <widget class="QLabel" name="label" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>90</y>
-     <width>71</width>
-     <height>17</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Playground</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_2" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>10</y>
-     <width>121</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Accumulator</string>
-   </property>
-  </widget>
-  <widget class="QGraphicsView" name="gvAcc" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>30</y>
-     <width>322</width>
-     <height>82</height>
-    </rect>
-   </property>
-   <property name="sizePolicy" >
-    <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-     <horstretch>0</horstretch>
-     <verstretch>0</verstretch>
-    </sizepolicy>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="groupDO" >
-   <property name="geometry" >
-    <rect>
-     <x>950</x>
-     <y>190</y>
-     <width>71</width>
-     <height>191</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>DO</string>
-   </property>
-   <widget class="QCheckBox" name="cbDO1" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>40</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO1</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO3" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>80</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO3</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO4" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>100</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO4</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO5" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>120</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO5</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO6" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>140</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO6</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO7" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>160</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO7</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO0" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>20</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO0</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDO2" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>60</y>
-      <width>51</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DO2</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QGraphicsView" name="gvPlayground" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>130</y>
-     <width>631</width>
-     <height>441</height>
-    </rect>
-   </property>
-   <property name="sizePolicy" >
-    <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-     <horstretch>0</horstretch>
-     <verstretch>0</verstretch>
-    </sizepolicy>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="groupDI" >
-   <property name="geometry" >
-    <rect>
-     <x>950</x>
-     <y>0</y>
-     <width>71</width>
-     <height>191</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>DI</string>
-   </property>
-   <widget class="QCheckBox" name="cbDI2" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>60</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI2</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI3" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>80</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI3</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI4" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>100</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI4</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI5" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>120</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI5</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI6" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>140</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI6</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI7" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>160</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI7</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI1" >
-    <property name="enabled" >
-     <bool>true</bool>
-    </property>
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>40</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI1</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbDI0" >
-    <property name="enabled" >
-     <bool>true</bool>
-    </property>
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>20</y>
-      <width>41</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>DI0</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QGroupBox" name="groupMotors" >
-   <property name="geometry" >
-    <rect>
-     <x>340</x>
-     <y>0</y>
-     <width>591</width>
-     <height>111</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Motion control</string>
-   </property>
-   <widget class="QLabel" name="label_22" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>50</y>
-      <width>31</width>
-      <height>20</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>-100</string>
-    </property>
-   </widget>
-   <widget class="QLabel" name="label_21" >
-    <property name="geometry" >
-     <rect>
-      <x>20</x>
-      <y>70</y>
-      <width>16</width>
-      <height>20</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>R</string>
-    </property>
-   </widget>
-   <widget class="QLabel" name="label_20" >
-    <property name="geometry" >
-     <rect>
-      <x>20</x>
-      <y>30</y>
-      <width>16</width>
-      <height>20</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>L</string>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbJoinMotors" >
-    <property name="geometry" >
-     <rect>
-      <x>530</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QLabel" name="label_23" >
-    <property name="geometry" >
-     <rect>
-      <x>240</x>
-      <y>50</y>
-      <width>21</width>
-      <height>17</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>0</string>
-    </property>
-    <property name="alignment" >
-     <set>Qt::AlignCenter</set>
-    </property>
-   </widget>
-   <widget class="QPushButton" name="btStopMotors" >
-    <property name="geometry" >
-     <rect>
-      <x>500</x>
-      <y>30</y>
-      <width>80</width>
-      <height>27</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>STOP</string>
-    </property>
-   </widget>
-   <widget class="QLabel" name="label_24" >
-    <property name="geometry" >
-     <rect>
-      <x>460</x>
-      <y>50</y>
-      <width>31</width>
-      <height>17</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>100</string>
-    </property>
-   </widget>
-   <widget class="QSlider" name="slMotorLeft" >
-    <property name="geometry" >
-     <rect>
-      <x>40</x>
-      <y>30</y>
-      <width>421</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="minimum" >
-     <number>-100</number>
-    </property>
-    <property name="maximum" >
-     <number>100</number>
-    </property>
-    <property name="tracking" >
-     <bool>false</bool>
-    </property>
-    <property name="orientation" >
-     <enum>Qt::Horizontal</enum>
-    </property>
-   </widget>
-   <widget class="QSlider" name="slMotorRight" >
-    <property name="geometry" >
-     <rect>
-      <x>40</x>
-      <y>70</y>
-      <width>421</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="minimum" >
-     <number>-100</number>
-    </property>
-    <property name="maximum" >
-     <number>100</number>
-    </property>
-    <property name="tracking" >
-     <bool>false</bool>
-    </property>
-    <property name="orientation" >
-     <enum>Qt::Horizontal</enum>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QDial" name="dServo4" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>120</y>
-     <width>50</width>
-     <height>64</height>
-    </rect>
-   </property>
-   <property name="palette" >
-    <palette>
-     <active>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </active>
-     <inactive>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </inactive>
-     <disabled>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </disabled>
-    </palette>
-   </property>
-   <property name="minimum" >
-    <number>1</number>
-   </property>
-   <property name="maximum" >
-    <number>255</number>
-   </property>
-   <property name="value" >
-    <number>127</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QDial" name="dServo3" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>180</y>
-     <width>50</width>
-     <height>64</height>
-    </rect>
-   </property>
-   <property name="palette" >
-    <palette>
-     <active>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </active>
-     <inactive>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </inactive>
-     <disabled>
-      <colorrole role="Button" >
-       <brush brushstyle="SolidPattern" >
-        <color alpha="255" >
-         <red>0</red>
-         <green>255</green>
-         <blue>0</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </disabled>
-    </palette>
-   </property>
-   <property name="minimum" >
-    <number>1</number>
-   </property>
-   <property name="maximum" >
-    <number>255</number>
-   </property>
-   <property name="value" >
-    <number>127</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpLong3" >
-   <property name="geometry" >
-    <rect>
-     <x>910</x>
-     <y>570</y>
-     <width>111</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-   <property name="format" >
-    <string>%v mm</string>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpLong2" >
-   <property name="geometry" >
-    <rect>
-     <x>780</x>
-     <y>570</y>
-     <width>111</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-   <property name="format" >
-    <string>%v mm</string>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpLong1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>570</y>
-     <width>111</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-   <property name="format" >
-    <string>%v mm</string>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpShort1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>630</y>
-     <width>81</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>300</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpShort3" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>630</y>
-     <width>81</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>300</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpShort2" >
-   <property name="geometry" >
-    <rect>
-     <x>750</x>
-     <y>630</y>
-     <width>81</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>300</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpLong1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>550</y>
-     <width>111</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>B1</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpLong2" >
-   <property name="geometry" >
-    <rect>
-     <x>780</x>
-     <y>550</y>
-     <width>111</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>B2</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpLong3" >
-   <property name="geometry" >
-    <rect>
-     <x>910</x>
-     <y>550</y>
-     <width>111</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>B3</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpShort2" >
-   <property name="geometry" >
-    <rect>
-     <x>760</x>
-     <y>660</y>
-     <width>71</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>A2</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpShort1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>660</y>
-     <width>81</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>A1</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpShort3" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>660</y>
-     <width>81</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>A3</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QLabel" name="tbSharpShort4" >
-   <property name="geometry" >
-    <rect>
-     <x>940</x>
-     <y>660</y>
-     <width>81</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>A4</string>
-   </property>
-   <property name="alignment" >
-    <set>Qt::AlignCenter</set>
-   </property>
-  </widget>
-  <widget class="QProgressBar" name="pbSharpShort4" >
-   <property name="geometry" >
-    <rect>
-     <x>940</x>
-     <y>630</y>
-     <width>81</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>300</number>
-   </property>
-   <property name="value" >
-    <number>0</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QTextEdit" name="tbTelnet" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>587</y>
-     <width>631</width>
-     <height>94</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="btMap" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>430</y>
-     <width>101</width>
-     <height>30</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Show &amp;map</string>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slB1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>540</y>
-     <width>111</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="singleStep" >
-    <number>10</number>
-   </property>
-   <property name="pageStep" >
-    <number>100</number>
-   </property>
-   <property name="value" >
-    <number>800</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slA1" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>610</y>
-     <width>81</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>1200</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slB2" >
-   <property name="geometry" >
-    <rect>
-     <x>780</x>
-     <y>540</y>
-     <width>111</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="singleStep" >
-    <number>10</number>
-   </property>
-   <property name="pageStep" >
-    <number>100</number>
-   </property>
-   <property name="value" >
-    <number>800</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slB3" >
-   <property name="geometry" >
-    <rect>
-     <x>910</x>
-     <y>540</y>
-     <width>111</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>800</number>
-   </property>
-   <property name="singleStep" >
-    <number>10</number>
-   </property>
-   <property name="pageStep" >
-    <number>100</number>
-   </property>
-   <property name="value" >
-    <number>800</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slA2" >
-   <property name="geometry" >
-    <rect>
-     <x>750</x>
-     <y>610</y>
-     <width>81</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>1200</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slA3" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>610</y>
-     <width>81</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>1200</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QSlider" name="slA4" >
-   <property name="geometry" >
-    <rect>
-     <x>940</x>
-     <y>610</y>
-     <width>81</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="maximum" >
-    <number>1200</number>
-   </property>
-   <property name="orientation" >
-    <enum>Qt::Horizontal</enum>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbSimulation" >
-   <property name="geometry" >
-    <rect>
-     <x>650</x>
-     <y>510</y>
-     <width>201</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Allow sensor &amp;simulation</string>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbFrontDoor" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>140</y>
-     <width>101</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Front Door</string>
-   </property>
-   <property name="checked" >
-    <bool>true</bool>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbInnerDoor" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>160</y>
-     <width>101</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Inner Door</string>
-   </property>
-   <property name="checked" >
-    <bool>true</bool>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbBackDoor" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>180</y>
-     <width>101</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Back Door</string>
-   </property>
-   <property name="checkable" >
-    <bool>true</bool>
-   </property>
-   <property name="checked" >
-    <bool>true</bool>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbLaunch" >
-   <property name="geometry" >
-    <rect>
-     <x>840</x>
-     <y>200</y>
-     <width>101</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Open Front</string>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="groupBox" >
-   <property name="geometry" >
-    <rect>
-     <x>660</x>
-     <y>250</y>
-     <width>271</width>
-     <height>91</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Inner IRs</string>
-   </property>
-   <widget class="QCheckBox" name="cbIR1" >
-    <property name="geometry" >
-     <rect>
-      <x>200</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR12" >
-    <property name="geometry" >
-     <rect>
-      <x>100</x>
-      <y>20</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR2" >
-    <property name="geometry" >
-     <rect>
-      <x>180</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR13" >
-    <property name="geometry" >
-     <rect>
-      <x>70</x>
-      <y>20</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR14" >
-    <property name="geometry" >
-     <rect>
-      <x>170</x>
-      <y>40</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR6" >
-    <property name="geometry" >
-     <rect>
-      <x>100</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR16" >
-    <property name="geometry" >
-     <rect>
-      <x>90</x>
-      <y>40</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR3" >
-    <property name="geometry" >
-     <rect>
-      <x>160</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR10" >
-    <property name="geometry" >
-     <rect>
-      <x>160</x>
-      <y>20</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR4" >
-    <property name="geometry" >
-     <rect>
-      <x>140</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR9" >
-    <property name="geometry" >
-     <rect>
-      <x>190</x>
-      <y>20</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR5" >
-    <property name="geometry" >
-     <rect>
-      <x>120</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR15" >
-    <property name="geometry" >
-     <rect>
-      <x>130</x>
-      <y>40</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR11" >
-    <property name="geometry" >
-     <rect>
-      <x>130</x>
-      <y>20</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR7" >
-    <property name="geometry" >
-     <rect>
-      <x>80</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="cbIR8" >
-    <property name="geometry" >
-     <rect>
-      <x>60</x>
-      <y>60</y>
-      <width>16</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string/>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QPushButton" name="btDopravnikFront" >
-   <property name="geometry" >
-    <rect>
-     <x>700</x>
-     <y>200</y>
-     <width>121</width>
-     <height>27</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Stop vyhazovac</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="btDopravnikBack" >
-   <property name="geometry" >
-    <rect>
-     <x>700</x>
-     <y>140</y>
-     <width>121</width>
-     <height>27</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Stop nabirac</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_3" >
-   <property name="geometry" >
-    <rect>
-     <x>830</x>
-     <y>400</y>
-     <width>20</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>x</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_4" >
-   <property name="geometry" >
-    <rect>
-     <x>830</x>
-     <y>440</y>
-     <width>20</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>y</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_5" >
-   <property name="geometry" >
-    <rect>
-     <x>830</x>
-     <y>480</y>
-     <width>21</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>phi</string>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbX" >
-   <property name="geometry" >
-    <rect>
-     <x>942</x>
-     <y>390</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbY" >
-   <property name="geometry" >
-    <rect>
-     <x>942</x>
-     <y>430</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbPhi" >
-   <property name="geometry" >
-    <rect>
-     <x>942</x>
-     <y>470</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbX2" >
-   <property name="geometry" >
-    <rect>
-     <x>855</x>
-     <y>390</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbY2" >
-   <property name="geometry" >
-    <rect>
-     <x>855</x>
-     <y>430</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="tbPhi2" >
-   <property name="geometry" >
-    <rect>
-     <x>855</x>
-     <y>470</y>
-     <width>81</width>
-     <height>28</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="cbObstackle" >
-   <property name="geometry" >
-    <rect>
-     <x>850</x>
-     <y>510</y>
-     <width>171</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>&amp;Obstacle simulation</string>
-   </property>
-  </widget>
- </widget>
- <tabstops>
-  <tabstop>gvAcc</tabstop>
-  <tabstop>slMotorLeft</tabstop>
-  <tabstop>slMotorRight</tabstop>
-  <tabstop>btStopMotors</tabstop>
-  <tabstop>cbJoinMotors</tabstop>
-  <tabstop>gvPlayground</tabstop>
-  <tabstop>dServo4</tabstop>
-  <tabstop>btDopravnikBack</tabstop>
-  <tabstop>dServo3</tabstop>
-  <tabstop>btDopravnikFront</tabstop>
-  <tabstop>cbFrontDoor</tabstop>
-  <tabstop>cbInnerDoor</tabstop>
-  <tabstop>cbBackDoor</tabstop>
-  <tabstop>cbLaunch</tabstop>
-  <tabstop>cbIR13</tabstop>
-  <tabstop>cbIR12</tabstop>
-  <tabstop>cbIR11</tabstop>
-  <tabstop>cbIR10</tabstop>
-  <tabstop>cbIR9</tabstop>
-  <tabstop>cbIR16</tabstop>
-  <tabstop>cbIR15</tabstop>
-  <tabstop>cbIR14</tabstop>
-  <tabstop>cbIR8</tabstop>
-  <tabstop>cbIR7</tabstop>
-  <tabstop>cbIR6</tabstop>
-  <tabstop>cbIR5</tabstop>
-  <tabstop>cbIR4</tabstop>
-  <tabstop>cbIR3</tabstop>
-  <tabstop>cbIR2</tabstop>
-  <tabstop>cbIR1</tabstop>
-  <tabstop>cbDI0</tabstop>
-  <tabstop>cbDI1</tabstop>
-  <tabstop>cbDI2</tabstop>
-  <tabstop>cbDI3</tabstop>
-  <tabstop>cbDI4</tabstop>
-  <tabstop>cbDI5</tabstop>
-  <tabstop>cbDI6</tabstop>
-  <tabstop>cbDI7</tabstop>
-  <tabstop>cbDO0</tabstop>
-  <tabstop>cbDO1</tabstop>
-  <tabstop>cbDO2</tabstop>
-  <tabstop>cbDO3</tabstop>
-  <tabstop>cbDO4</tabstop>
-  <tabstop>cbDO5</tabstop>
-  <tabstop>cbDO6</tabstop>
-  <tabstop>cbDO7</tabstop>
-  <tabstop>tbX</tabstop>
-  <tabstop>tbY</tabstop>
-  <tabstop>tbPhi</tabstop>
-  <tabstop>tbX2</tabstop>
-  <tabstop>tbY2</tabstop>
-  <tabstop>tbPhi2</tabstop>
-  <tabstop>btMap</tabstop>
-  <tabstop>cbSimulation</tabstop>
-  <tabstop>cbObstackle</tabstop>
-  <tabstop>slB1</tabstop>
-  <tabstop>slB2</tabstop>
-  <tabstop>slB3</tabstop>
-  <tabstop>slA1</tabstop>
-  <tabstop>slA2</tabstop>
-  <tabstop>slA3</tabstop>
-  <tabstop>slA4</tabstop>
-  <tabstop>tbTelnet</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
diff --git a/src/robomon/src/robomon_orte.h b/src/robomon/src/robomon_orte.h
deleted file mode 100644 (file)
index 765e6b2..0000000
+++ /dev/null
@@ -1,431 +0,0 @@
-//
-// C++ Interface: robomon_orte
-//
-// Description: 
-//
-//
-// Author: Martin Zidek,,, <martin@martin-laptop>, (C) 2007
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-#include <orte.h>
-#ifdef CONFIG_ORTE_RTL
-  #include <linux/module.h>
-  #include <posix/pthread.h>
-  #define printf rtl_printf
-#elif defined CONFIG_ORTE_RTAI
-  #include <linux/module.h>
-  #include <rtai/compat.h>  
-  #define printf rt_printk
-#else
-  #include <stdio.h>
-#endif
-
-#include <robottype.h>
-#include <robottype_eb2007.h>
-
-ORTEDomain *d;
-ORTEPublication *publisherDO;
-ORTEPublication *publisherMotor;
-ORTEPublication *publisherServa;
-ORTEPublication *publisherSharpShort;
-ORTEPublication *publisherSharpLong;
-
-
-
-unsigned int accelRecv[3];
-struct stateDigIn_type stateDI;
-uint16_t stateIR;
-unsigned char stateIR2;
-bool stateDO[8];
-short int motorSpeedCmd[2];
-uint16_t sharpToRecv[4];
-//uint8_t serva[8];
-
-struct motion_status_type ms;
-struct motion_speed_type mspeed;
-struct stateInnerIR_type sir;
-struct sharpLongs_type ss1;
-struct sharpShorts_type ss2;
-struct stateServa_type serva;
-struct position_type pozice;
-struct position_type est_pos;
-struct accumulator_type accu;
-
-enum {
-       BOTTLE = 0,
-       CAN,
-       UNKNOWN
-};
-
-void recvPositionCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvSharp1CallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvSharp2CallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvDICallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvIRCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvAccelCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void sendCallBackServo(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam);
-void recvPosCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvEstPosCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvMsCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-void recvAccuCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam);
-
-void sendCallBackSensLong(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam) {
-       struct sharpLongs_type *instance=(struct sharpLongs_type*)vinstance;
-
-       switch (info->status) {
-               case NEED_DATA:         
-                       break;
-                       case CQL:  //criticalQueueLevel
-                               break;
-       }
-}
-
-void *publisherCreateSensLong(void *arg) {     
-       NtpTime             persistence, delay;
-       robomon* ptr = (robomon*)arg;
-
-       sharpLongs_type_register(d);
-       NTPTIME_BUILD(persistence,3);
-       NTPTIME_BUILD(delay,1); 
-       publisherSharpLong=ORTEPublicationCreate(d, "sharpSouper", "sharpLongs", &(ptr->sharpySouper), &persistence, 2, sendCallBackSensLong, arg, &delay);
-       return arg;
-}
-
-void sendCallBackSensShort(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam) {
-       struct sharpShorts_type *instance=(struct sharpShorts_type*)vinstance;
-
-       switch (info->status) {
-               case NEED_DATA:         
-                       break;
-                       case CQL:  //criticalQueueLevel
-                               break;
-       }
-}
-
-void *publisherCreateSensShort(void *arg) {    
-       NtpTime             persistence, delay;
-       robomon* ptr = (robomon*)arg;
-       
-       sharpShorts_type_register(d);
-       NTPTIME_BUILD(persistence,3);
-       NTPTIME_BUILD(delay,1); 
-       publisherSharpShort=ORTEPublicationCreate(d, "sharpLahve", "sharpShorts", &(ptr->sharpyLahve), &persistence, 2, sendCallBackSensShort, arg, &delay);
-       return arg;
-}
-
-void sendCallBackServo(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam) {
-       struct stateServa_type *instance=(struct stateServa_type*)vinstance;
-
-       switch (info->status) {
-               case NEED_DATA:         
-                       break;
-                       case CQL:  //criticalQueueLevel
-                               break;
-       }
-}
-
-void *publisherCreateServo(void *arg) {
-       NtpTime             persistence, delay;
-
-       stateServa_type_register(d);
-       NTPTIME_BUILD(persistence,3);
-       NTPTIME_BUILD(delay,1); 
-       publisherServa=ORTEPublicationCreate(d, "serva", "stateServa", &serva, &persistence, 1, sendCallBackServo, arg, &delay);
-       return arg;
-}
-
-
-void *publisherDOCreate(void *arg) {
-       NtpTime             persistence, delay;
-
-       ORTETypeRegisterAdd(d,"DOMsg",NULL,NULL,NULL,sizeof(stateDO));
-       NTPTIME_BUILD(persistence,3);
-       NTPTIME_BUILD(delay,1); 
-       publisherDO=ORTEPublicationCreate(d, "DO", "DOMsg", &stateDO, &persistence, 1, NULL,  NULL, &delay);
-       return arg;
-}
-
-void sendCallBackMotor(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam) {
-       struct motion_speed_type *instance=(struct motion_speed_type*)vinstance;
-
-       switch (info->status) {
-               case NEED_DATA:         
-                       break;
-                       case CQL:  //criticalQueueLevel
-                               break;
-       }
-}
-
-void *publisherMotorCreate(void *arg) {
-       NtpTime             persistence, delay;
-
-       motion_speed_type_register(d);
-       NTPTIME_BUILD(persistence,3);
-       NTPTIME_BUILD(delay,1); 
-       publisherMotor=ORTEPublicationCreate(d, "motor", "motion_speed", &mspeed, &persistence, 1, sendCallBackMotor,  NULL, &delay);
-       return arg;
-}
-
-void *subscriberAccuCreate(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       accumulator_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "accu", "accumulator", &accu, &deadline, &minimumSeparation, recvAccuCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void *subscriberPositionCreate(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       position_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "pos", "position", &pozice, &deadline, &minimumSeparation, recvPosCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void *subscriberEstPositionCreate(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       position_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "est_pos", "position", &est_pos, &deadline, &minimumSeparation, recvEstPosCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-
-void *subscriberSharp1Create(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       sharpLongs_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "sharpSouper", "sharpLongs", &ss1, //FIXME
-       &deadline, &minimumSeparation, recvSharp1CallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void * subscriberSharp2Create(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-       
-       sharpShorts_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "sharpLahve", "sharpShorts", &ss2, &deadline, &minimumSeparation, recvSharp2CallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void *subscriberCreateDI(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       stateDigIn_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "DI", "stateDigIn", &stateDI, &deadline, &minimumSeparation, recvDICallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void *subscriberCreateIR(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       stateInnerIR_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "IR", "stateInnerIR", &sir, &deadline, &minimumSeparation, recvIRCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-
-void *subscriberCreateMotionStatus(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       motion_status_type_register(d);
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "motion_status", "motion_status", &ms, &deadline, &minimumSeparation, recvMsCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void *subscriberAccelCreate(void *arg) {
-       ORTESubscription    *s;
-       NtpTime             deadline,minimumSeparation;
-
-       ORTETypeRegisterAdd(d,"AccelMsg",NULL,NULL,NULL,sizeof(accelRecv));
-       NTPTIME_BUILD(deadline,10);
-       NTPTIME_BUILD(minimumSeparation,0);
-       s=ORTESubscriptionCreate(d, IMMEDIATE, BEST_EFFORTS, "accel", "AccelMsg", &accelRecv, &deadline, &minimumSeparation, recvAccelCallBack, arg, IPADDRESS_INVALID);
-       return arg;
-}
-
-void recvAccuCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_ACCU);
-       switch (info->status) {
-               case NEW_DATA:
-                       QCoreApplication::postEvent(ptr, event);        
-                       break;
-               case DEADLINE:
-                       printf("accu deadline occurred\n");
-                       break;
-       }
-}
-
-void recvPosCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_POS);
-  switch (info->status) {
-    case NEW_DATA:
-       QCoreApplication::postEvent(ptr, event);        
-       break;
-    case DEADLINE:
-      printf("pos deadline occurred\n");
-      break;
-  }
-}
-
-void recvEstPosCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_EST_POS);
-  switch (info->status) {
-    case NEW_DATA:
-       QCoreApplication::postEvent(ptr, event);        
-       break;
-    case DEADLINE:
-      printf("est_pos deadline occurred\n");
-      break;
-  }
-}
-
-void recvSharp1CallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_SHARP);
-  switch (info->status) {
-    case NEW_DATA:
-       QCoreApplication::postEvent(ptr, event);
-       break;
-    case DEADLINE:
-      printf("sharp1 deadline occurred\n");
-      break;
-  }
-}
-
-void recvSharp2CallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_SHARP);
-       switch (info->status) {
-               case NEW_DATA:
-                       QCoreApplication::postEvent(ptr, event);        
-                       break;
-               case DEADLINE:
-                       printf("sharp2 deadline occurred\n");
-                       break;
-       }
-}
-
-void recvDICallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_DI);
-  switch (info->status) {
-    case NEW_DATA:
-       QCoreApplication::postEvent(ptr, event);        
-       break;
-    case DEADLINE:
-      printf("DI deadline occurred\n");
-      break;
-  }
-}
-
-void recvIRCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       robomon* ptr = (robomon*)recvCallBackParam;
-       QEvent* event = new QEvent(EVENT_IR);
-  switch (info->status) {
-    case NEW_DATA:
-       QCoreApplication::postEvent(ptr, event);        
-       break;
-    case DEADLINE:
-      printf("IR deadline occurred\n");
-      break;
-  }
-}
-
-void recvMsCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-//     robomon* ptr = (robomon*)recvCallBackParam;
-//     QEvent* event = new QEvent(EVENT_IR);
-       switch (info->status) {
-               case NEW_DATA:
-//                     printf("motion status left=%x, right=%x\n",ms.err_left,ms.err_right);
-//                     QCoreApplication::postEvent(ptr, event);        
-                       break;
-               case DEADLINE:
-                       printf("motion status deadline occurred\n");
-                       break;
-       }
-}
-
-void recvAccelCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-       unsigned int *instance=(unsigned int*)vinstance;
-//     robomon* ptr = (robomon*)recvCallBackParam;
-//     QEvent* event = new QEvent(QEvent::User);
-  switch (info->status) {
-    case NEW_DATA:
-       printf("accel: %d, %d, %d\n",instance[0]>>16,instance[1]>>16,instance[2]>>16);
-       //QCoreApplication::postEvent(ptr, event);      
-       //printf("data: %d\n",instance[0][0]);  
-       break;
-    case DEADLINE:
-      printf("accel deadline occurred\n");
-      break;
-  }
-}
-
-void recvMotionStatusCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam) {
-//     robomon* ptr = (robomon*)recvCallBackParam;
-//     QEvent* event = new QEvent(QEvent::User);
-       switch (info->status) {
-               case NEW_DATA:
-                       printf("motion status: %x, %x\n",ms.err_left,ms.err_right);
-       //QCoreApplication::postEvent(ptr, event);      
-       //printf("data: %d\n",instance[0][0]);  
-                       break;
-               case DEADLINE:
-                       printf("motion status deadline occurred\n");
-                       break;
-       }
-}
-
-void *orte_function( void *ptr )
-{
-       ORTEInit();
-       ORTEVerbositySetOptions("ALL.0");
-       d=ORTEDomainAppCreate(ORTE_DEFAULT_DOMAIN,NULL,NULL,ORTE_FALSE);
-       
-       if (!d) {
-               printf("ORTEDomainAppCreate failed!\n");
-       }
-       publisherCreateServo(ptr);      
-//     subscriberAccelCreate(NULL);
-       publisherDOCreate(NULL);
-       publisherMotorCreate(NULL);
-       subscriberCreateDI(ptr);
-       subscriberCreateIR(ptr);
-       subscriberSharp1Create(ptr);
-       subscriberSharp2Create(ptr);
-       subscriberPositionCreate(ptr);
-       subscriberEstPositionCreate(ptr);
-       subscriberCreateDI(ptr);
-//     subscriberCreateMotionStatus(NULL);
-       return NULL;    
-}
diff --git a/src/robomon/src/robot.cpp b/src/robomon/src/robot.cpp
deleted file mode 100644 (file)
index d81e345..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-
-#include "robot.h"
-#include <math.h>
-#include <QPen>
-#include "playgroundscene.h"
-
-robot::robot(QGraphicsItem *parent, QGraphicsScene *scene, int color) : QGraphicsItem(parent)
-{
-       actPhi = M_PI/2;
-       
-       this->scene = scene;
-
-       this->robotBody = new QGraphicsRectItem(QRectF(OFFSET_X,OFFSET_Y,ROBOT_SIZE_X,ROBOT_SIZE_Y),parent,scene);
-       this->robotBody->setPen(QPen(QBrush(Qt::black),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-       switch (color) {
-               case 0:
-                       this->robotBody->setBrush(QBrush(Qt::black));
-                       break;
-               case 1:
-                       this->robotBody->setBrush(QBrush(Qt::green));
-                       break;
-               case 2:
-                       this->robotBody->setBrush(QBrush(Qt::yellow));
-                       break;
-               case 3:
-                       this->robotBody->setBrush(QBrush(Qt::gray));
-                       break;
-               default:
-                       this->robotBody->setBrush(QBrush(Qt::black));
-                       break;
-       }
-       this->robotBody->setParentItem(this);
-       this->robotBody->setZValue(10);         
-                       ;
-       this->sensShort[0] = new QGraphicsLineItem(OFFSET_X+2*2,OFFSET_Y,OFFSET_X+2*2,OFFSET_Y-30*2,parent,scene);
-       
-       this->sensShort[1] = new QGraphicsLineItem(OFFSET_X+9.5*2,OFFSET_Y,OFFSET_X+9.5*2,OFFSET_Y-30*2,parent,scene);
-       
-       this->sensShort[2] = new QGraphicsLineItem(OFFSET_X+17*2,OFFSET_Y,OFFSET_X+17*2,OFFSET_Y-30*2,parent,scene);
-       
-       this->sensShort[3] = new QGraphicsLineItem(OFFSET_X+28*2,OFFSET_Y,OFFSET_X+28*2,OFFSET_Y-30*2,parent,scene);
-       
-       this->sensShort[4] = new QGraphicsLineItem(OFFSET_X+25*2,OFFSET_Y+ROBOT_SIZE_Y,OFFSET_X+25*2,OFFSET_Y+ROBOT_SIZE_Y+30*2,parent,scene);
-       
-       this->sensShort[5] = new QGraphicsLineItem(OFFSET_X+5*2,OFFSET_Y+ROBOT_SIZE_Y,OFFSET_X+5*2,OFFSET_Y+ROBOT_SIZE_Y+30*2,parent,scene);
-       
-       for(int i=0;i<6;i++) {
-               this->sensShort[i]->setParentItem(this);
-               this->sensShort[i]->setPen(QPen(QBrush(Qt::red),2,Qt::DashLine,Qt::FlatCap,Qt::BevelJoin));
-       }       
-
-       this->sensLong[0] = new QGraphicsLineItem(OFFSET_X+5*2,OFFSET_Y,OFFSET_X+5*2,OFFSET_Y-80*2,parent,scene);
-
-       this->sensLong[1] = new QGraphicsLineItem(OFFSET_X+15*2,OFFSET_Y,OFFSET_X+15*2,OFFSET_Y-80*2,parent,scene);
-
-       this->sensLong[2] = new QGraphicsLineItem(OFFSET_X+25*2,OFFSET_Y,OFFSET_X+25*2,OFFSET_Y-80*2,parent,scene);
-       
-       this->setZValue(10);
-
-//     for(int i=0; i<3; i++) {
-//             beacons[i] = new QGraphicsLineItem(parent, scene);
-// //          beacon1->setLine(QLineF(OFFSET_X+ROBOT_SIZE_X/2,OFFSET_Y+ROBOT_SIZE_Y/2,BEACON1_X,BEACON1_Y));
-//             beacons[i]->setPen(QPen(QBrush(Qt::cyan),2,Qt::SolidLine,Qt::SquareCap,Qt::BevelJoin));
-//             beacons[i]->setZValue(20);
-//     }
-//     beacon2 = new QGraphicsLineItem(parent, scene);
-//     beacon2->setLine(QLineF(OFFSET_X+ROBOT_SIZE_X/2,OFFSET_Y+ROBOT_SIZE_Y/2,BEACON2_X,BEACON2_Y));
-//     beacon2->setPen(QPen(QBrush(Qt::cyan),2,Qt::SolidLine,Qt::SquareCap,Qt::BevelJoin));
-//     beacon2->setZValue(20);
-
-//     beacon3 = new QGraphicsLineItem(parent, scene);
-//     beacon3->setLine(QLineF(OFFSET_X+ROBOT_SIZE_X/2,OFFSET_Y+ROBOT_SIZE_Y/2,BEACON3_X,BEACON3_Y));
-//     beacon3->setPen(QPen(QBrush(Qt::cyan),2,Qt::SolidLine,Qt::SquareCap,Qt::BevelJoin));
-//     beacon3->setZValue(20);
-       
-       this->pCenter = new QPoint(OFFSET_X+ROBOT_SIZE_X/2, 420 - OFFSET_Y -ROBOT_SIZE_Y);
-}
-
-void robot::initBeacons() {
-       
-       setBeaconAngle(0,M_PI/4);
-       beacons[0]->setLine(this->pos().x()+ROBOT_SIZE_X/2,this->pos().y()+ROBOT_SIZE_Y/2,BEACON1_X,BEACON1_Y);
-       beacons[1]->setLine(this->pos().x()+ROBOT_SIZE_X/2,this->pos().y()+ROBOT_SIZE_Y/2,BEACON2_X,BEACON2_Y);
-       beacons[2]->setLine(this->pos().x()+ROBOT_SIZE_X/2,this->pos().y()+ROBOT_SIZE_Y/2,BEACON3_X,BEACON3_Y);
-}
-
-void robot::setBeaconAngle(int idx, double angle) {
-       double y,x;
-       double c = 800;
-       angle+=actPhi;
-       y = c*(sin(angle));
-       x = c*(cos(angle));
-       if(angle>M_PI) y = -y;
-       if((angle>M_PI/2)&&(angle<3*M_PI/2)) x = -x;
-       printf("x %d, y %d\n",pCenter->x(),pCenter->y());
-//     printf("x %f, y %f, c %f, sin %f, cos %f\n",a,b,c,sin(angle),cos(angle));
-       beacons[idx]->setLine(0,0,(int)x,(int)y);
-       beacons[idx]->moveBy(pCenter->x(),420-pCenter->y());
-}
-
-robot::~robot()
-{
-}
-
-QRectF robot::boundingRect() const
- {
-     return QRectF(this->pos().x(), this->pos().y(), ROBOT_SIZE_X+80, ROBOT_SIZE_Y+80);
- }
-
-void robot::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
- {     
-       Q_UNUSED(option);
-       Q_UNUSED(widget);
-//     Q_UNUSED(painter);
-       
-//     painter->setPen(QPen(QBrush(Qt::black),1,Qt::SolidLine,Qt::FlatCap,Qt::BevelJoin));
-//     painter->setBrush(QBrush(Qt::black));
-//     painter->drawRect(QRectF(OFFSET_X,OFFSET_Y,ROBOT_SIZE_X,ROBOT_SIZE_Y));
-}
-
-void robot::rotateRobot ( qreal angle )
-{
-       this->translate(ROBOT_SIZE_X/2,ROBOT_SIZE_Y/2);
-       this->rotate(angle);
-       this->translate(-ROBOT_SIZE_X/2,-ROBOT_SIZE_Y/2);
-}
-
-void robot::sensorRange(qreal size, int sens_id)
-{      
-       qreal x1 = this->sensShort[sens_id]->line().x1();
-       qreal y1 = this->sensShort[sens_id]->line().y1();
-       qreal x2 = this->sensShort[sens_id]->line().x2();
-       qreal y2 = this->sensShort[sens_id]->line().y2();
-       
-       qreal dx = x1+size*(x2-x1);
-       qreal dy = y1+size*(y2-y1);     
-
-       this->sensShort[sens_id]->setLine(x1,y1,dx,dy);
-}
-
-void robot::moveRobot(double x, double y, double phi)
-{
-    QPointF pos(x,y);
-    pos = PlaygroundScene::world2scene(pos);
-    //TODO use this transpormation function
-    
-       this->setPos(x*100*2-(ROBOT_SIZE_X/2),420-ROBOT_SIZE_Y-(y*100*2)+(ROBOT_SIZE_Y/2));
-//     this->setPos(x*100*2-(ROBOT_SIZE_X),420-ROBOT_SIZE_Y-(y*100*2)+(ROBOT_SIZE_Y/2));
-       this->rotateRobot((actPhi-phi)*180/M_PI);
-       actPhi = phi;
-}
diff --git a/src/robomon/src/robot.h b/src/robomon/src/robot.h
deleted file mode 100644 (file)
index 312a7d6..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-
-#ifndef ROBOT_H
-#define ROBOT_H
-
-#include <QGraphicsItem>
-#include <QGraphicsLineItem>
-#include <QPainter>
-
-#define ROBOT_SIZE_X 30 * 2
-#define ROBOT_SIZE_Y 30 * 2
-#define OFFSET_X 10
-#define OFFSET_Y 0
-#define SENSOR_SHORT_COUNT 6
-#define SENSOR_LONG_COUNT 10
-
-#define BEACON1_X 600 + OFFSET_X
-#define BEACON1_Y 210 + OFFSET_Y
-#define BEACON2_X 0 + OFFSET_X
-#define BEACON2_Y 420 + OFFSET_Y
-#define BEACON3_X 0 + OFFSET_X
-#define BEACON3_Y 0 + OFFSET_Y
-
-/**
-       @author Martin Zidek
-*/
-
-/*struct position {
-       qreal x;
-       qreal y;
-       qreal angle;
-};*/
-
-class robot : public QGraphicsItem
-{
-
-//Q_OBJECT
-public:
-       QGraphicsScene *scene;
-       robot(QGraphicsItem *parent = 0, QGraphicsScene *scene = 0, int color = 0);
-       
-       ~robot();
-       //robotSensor *sens;
-       QGraphicsLineItem *sensShort[SENSOR_SHORT_COUNT];
-       QGraphicsLineItem *sensLong[SENSOR_LONG_COUNT];
-       QGraphicsRectItem *robotBody;
-       QGraphicsLineItem *beacons[3];
-       QPoint *pCenter;
-       QRectF boundingRect() const;
-       void initBeacons();
-       void setBeaconAngle(int,double);
-       void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
-       void rotateRobot (qreal angle);
-       void sensorRange(qreal size, int sens_id);
-       void moveRobot(double,double,double);
-       char id;
-       qreal actPhi;
-};
-
-#endif
diff --git a/src/robomon/src/src.pro b/src/robomon/src/src.pro
deleted file mode 100644 (file)
index f24a74e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-SOURCES += robomon.cpp \
-           robot.cpp \
-           main.cpp \
- playgroundscene.cpp
-TEMPLATE = app
-CONFIG += warn_on \
-         thread \
-          qt \
-         debug
-TARGET = ../bin/robomon
-RESOURCES = application.qrc
-FORMS += robomon.ui
-
-HEADERS += robomon.h \
-ui_robomon.h \
-robot.h \
-posregcmu.h \
-mymath.h \
-robomon_orte.h \
-mapthread.h \
- playgroundscene.h
-LIBS += -lpthread -lorte -lrobottype -lrobottype_eb2007 -lsharp -lmap
-
-OBJECTS_DIR=../../../build/linux/_build/user/robomon
-DESTDIR=../../../build/linux/_compiled/bin
diff --git a/src/robomon/src2/src2.pro b/src/robomon/src2/src2.pro
deleted file mode 100644 (file)
index 972fa36..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-QT += opengl
-SOURCES += main.cpp \
-           MainWindow.cpp \
-           RobomonAtlantis.cpp \
-           RobomonTuning.cpp \
-           SimMcl.cpp \
-           SimLaser.cpp \
-           PlaygroundScene.cpp \
-           Robot.cpp \
-           SmallRobot.cpp \
-           MclPainter.cpp \
-           AnglesHistogramPainter.cpp \
-           Widget.cpp \
-           GlWidget.cpp \
-           MiscGui.cpp \
-           robomon_orte.cpp
-
-TEMPLATE = app
-CONFIG += warn_on \
-         thread \
-          qt \
-         debug
-
-TARGET = ../bin/robomon2
-
-INCLUDEPATH += ../../../build/linux/_compiled/include
-LIBPATH += ../../../build/linux/_compiled/lib
-RESOURCES = robomon.qrc
-
-HEADERS += MainWindow.h \
-           RobomonAtlantis.h \
-           RobomonTuning.h \
-           SimMcl.h \
-           SimLaser.h \
-           PlaygroundScene.h \
-           Robot.h \
-           SmallRobot.h \
-           Painter.h \
-           MclPainter.h \
-           AnglesHistogramPainter.h \
-           Widget.h \
-           GlWidget.h \
-           MiscGui.h \
-           robomon_orte.h
-
-LIBS += -lm -lpthread -lmcl -llaser-nav -lrobodim -lrobomath -lroboorte -lrobottype -lorte  -lsharp -lmap
-
-OBJECTS_DIR = ../../../build/linux/_build/user/robomon2/
-MOC_DIR = ../../../build/linux/_build/user/robomon2/
-UI_DIR = ../../../build/linux/_build/user/robomon2/
-DESTDIR = ../../../build/linux/_compiled/bin