fawkes.git
2 years agoMain app: get rid of default plugin load exception message
Tim Niemueller [Tue, 26 Jan 2010 23:41:05 +0000] 
Main app: get rid of default plugin load exception message

The first experience when running Fawkes is that you get an error
with the exception that the default plugin could not be loaded.
That has bugged me for long enough now. The PluginLoadException
can now report which plugin caused the exception, and the mainapp
ignores the plugin load exception now if the plugin which caused
this exception is "default". Exceptions other than
PluginLoadException are reported as before.

2 years agoV4L2Camera: adapt to Linux 2.6.32, fixes rawhide build fail
Tim Niemueller [Sun, 24 Jan 2010 22:07:50 +0000] 
V4L2Camera: adapt to Linux 2.6.32, fixes rawhide build fail

2 years agoFix Bumblebee2 build fail on optimized build
Tim Niemueller [Wed, 13 Jan 2010 16:00:33 +0000] 
Fix Bumblebee2 build fail on optimized build

There was a strict aliasing problem in the Bumblebee2 camera code
which made optimized builds fail.

2 years agoFix skiller default config: rename wm_pose -> pose
Tim Niemueller [Sun, 29 Nov 2009 12:38:31 +0000] 
Fix skiller default config: rename wm_pose -> pose

2 years agoFix ordering of internal Barrier data initialization
Tim Niemueller [Wed, 18 Nov 2009 15:07:49 +0000] 
Fix ordering of internal Barrier data initialization

Obviusly added threads_left initialization after last test, as
-Wreorder implied by -Wall catches this...
Thanks to Henk for reporting, newlib compatibility++ :-)

2 years agoFix Barrier for POSIX systems w/o native barrier
Tim Niemueller [Fri, 13 Nov 2009 13:49:03 +0000] 
Fix Barrier for POSIX systems w/o native barrier

After the WaitConditions semantics changed the compatibility code
used when a libc does not provide POSIX barriers was not updated.

2 years agoFixes for CentOS/RHEL 5.4
Tim Niemueller [Wed, 28 Oct 2009 13:39:31 +0000] 
Fixes for CentOS/RHEL 5.4

+ Guard function not available in RHEL libdaemon version
+ Provide alternative for newer Glibmm 2.14 features
+ fvwidgets can now be built partiall if SDL is not available, fixes
. build issue with FireStation

2 years agoDocumentation fixes for buggy Doxygen 1.6.1
Tim Niemueller [Wed, 7 Oct 2009 16:05:53 +0000] 
Documentation fixes for buggy Doxygen 1.6.1

The newest version of Doxygen 1.6.1 seems to suffer from a regression that
produces warnings on documentation considered valid.
A bug has been filed at https://bugzilla.gnome.org/show_bug.cgi?id=597415

2 years ago.gitignore: ignore bin/plugins/lib dirs on root level, doc gen files
Tim Niemueller [Sun, 30 Aug 2009 17:28:00 +0000] 
.gitignore: ignore bin/plugins/lib dirs on root level, doc gen files

2 years agoExtend .gitignore
Tim Niemueller [Fri, 14 Aug 2009 22:10:14 +0000] 
Extend .gitignore

+ Added cross compile bin/lib/plugins dirs (when build type is switched)
+ Added Eclipse project paths

Thanks to Christof for noting these.

Tim

2 years agoScript linking coditional, build ffinfo by default 0.3
Tim Niemueller [Wed, 12 Aug 2009 22:41:55 +0000] 
Script linking coditional, build ffinfo by default

+ It is now checked if etc/scripts exists and only then the scripts are linked
+ Build ffinfo tool by default

Tim

2 years agoMerge branch 'master' of git@git.fawkesrobotics.org:fawkes
Tim Niemueller [Wed, 12 Aug 2009 13:48:05 +0000] 
Merge branch 'master' of git@git.fawkesrobotics.org:fawkes

2 years agoRemoving accidentally added $Id$ lines, testing hook scripts again
Tim Niemueller [Wed, 12 Aug 2009 11:01:33 +0000] 
Removing accidentally added $Id$ lines, testing hook scripts again

Tim

2 years agoCompile fixes for FreeBSD
Tim Niemueller [Wed, 12 Aug 2009 00:25:29 +0000] 
Compile fixes for FreeBSD

+ Added some missing headers
+ Removed serial flag unsupported on FreeBSD (and not required anyway)

Tim

2 years agoAdded ffinfo tool to get info about the Fawkes Framework
Tim Niemueller [Fri, 7 Aug 2009 21:49:50 +0000] 
Added ffinfo tool to get info about the Fawkes Framework

Currently always prints the version number.

Tim

2 years agoAdded version header
Tim Niemueller [Fri, 7 Aug 2009 21:49:11 +0000] 
Added version header

+ The version header can be used to check for a particular Fawkes version
. and thus particular features.

Tim

2 years agoAdded proper .gitignore files
Tim Niemueller [Fri, 7 Aug 2009 21:48:40 +0000] 
Added proper .gitignore files

Tim

2 years agoRemove $Id$ keyword lines form file headers
Tim Niemueller [Mon, 3 Aug 2009 23:13:27 +0000] 
Remove $Id$ keyword lines form file headers

"Mini merge" to follow. Please wait with commits until this is done.

+ The keyword file headers need to go before the git migration,
. cf. http://git.or.cz/gitwiki/GitFaq#Doesgithavekeywordexpansion.3F
+ sed is your friend...
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.lua' -o -name Makefile \
-o -name '*.mk' -o -name '*.ecl' -o -name '*.h_ext' -o -name '*.tolua' \) \
-exec sed -i '/\$Id/ {
N
d
}' {} \;

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2899 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged nao branch changes r2678:2896 into the trunk
Tim Niemueller [Sun, 2 Aug 2009 23:26:34 +0000] 
Merged nao branch changes r2678:2896 into the trunk

Changes include:

---
 r2846 | podbregar | 2009-07-26 11:52:04 +0200 (So, 26. Jul 2009) | 5 Zeilen
   M /branches/nao/cfg/default.sql
   M /branches/nao/src/lua/agents/naosoccer/init.lua
   M /branches/nao/src/lua/agents/naosoccer/initial.lua
   M /branches/nao/src/lua/predicates/soccer/general.lua
   M /branches/nao/src/lua/skills/nao/init.lua
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp

 The robot is now aware of its team color
---
 r2853 | tkellner | 2009-07-28 14:00:18 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/libs/gui_utils/service_chooser_dialog.cpp

 Don't connect to manually entered hostname when double-clicking treeview entry
---
 r2854 | tkellner | 2009-07-28 14:06:29 +0200 (Di, 28. Jul 2009) | 11 Zeilen
   M /branches/nao/src/libs/gui_utils/service_selector_cbe.cpp
   M /branches/nao/src/libs/gui_utils/service_selector_cbe.h
   M /branches/nao/src/tools/config_editor/config_editor.cpp
   M /branches/nao/src/tools/plugin_gui/plugin_gui.cpp

 Avahi ServiceName GUI changes
---
 r2855 | tkellner | 2009-07-28 14:08:52 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/firevision/cams/Makefile
   M /branches/nao/src/firevision/cams/control/factory.cpp
   A /branches/nao/src/firevision/cams/control/source.cpp
   A /branches/nao/src/firevision/cams/control/source.h

 Added source camera controls
---
 r2858 | tkellner | 2009-07-28 14:14:05 +0200 (Di, 28. Jul 2009) | 4 Zeilen
   M /branches/nao/cfg/default.sql
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp
   M /branches/nao/src/plugins/refboxcomm/comm_thread.h
   M /branches/nao/src/plugins/refboxcomm/processor/spl.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/spl.h

 Process GameController messages taking into account team number
---
 r2859 | tkellner | 2009-07-28 14:18:04 +0200 (Di, 28. Jul 2009) | 7 Zeilen
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp
   M /branches/nao/src/plugins/refboxcomm/comm_thread.h
   M /branches/nao/src/plugins/refboxcomm/processor/spl.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/spl.h

 Refboxcomm amendments
---
 r2861 | tkellner | 2009-07-28 14:21:31 +0200 (Di, 28. Jul 2009) | 4 Zeilen
   M /branches/nao/cfg/default.sql
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp
   M /branches/nao/src/plugins/refboxcomm/comm_thread.h
   M /branches/nao/src/plugins/refboxcomm/processor/spl.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/spl.h
   M /branches/nao/src/plugins/refboxcomm/processor/state_handler.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/state_handler.h

 Implement aformentioned Penalty changes (r2860) in RefBoxComm
---
 r2862 | tkellner | 2009-07-28 14:23:10 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/firevision/tools/viewer.cpp

 Viewer can now save displayed image to a shmem image segment
---
 r2869 | tkellner | 2009-07-28 15:11:46 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/interfaces/GameStateInterface.cpp
   M /branches/nao/src/interfaces/GameStateInterface.h
   M /branches/nao/src/interfaces/GameStateInterface.tolua
   M /branches/nao/src/interfaces/GameStateInterface.xml
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp
   M /branches/nao/src/plugins/refboxcomm/comm_thread.h
   M /branches/nao/src/plugins/refboxcomm/processor/spl.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/state_handler.cpp
   M /branches/nao/src/plugins/refboxcomm/processor/state_handler.h

 Store whether we have kickoff in GameStateInterface
---
 r2870 | tkellner | 2009-07-28 15:13:34 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/interfaces/GameStateInterface.cpp
   M /branches/nao/src/interfaces/GameStateInterface.h
   M /branches/nao/src/interfaces/GameStateInterface.tolua
   M /branches/nao/src/interfaces/GameStateInterface.xml
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp
   M /branches/nao/src/plugins/refboxcomm/comm_thread.h

 Check whether kickof changed in refboxcomm, implemented KickofMessage
---
 r2877 | tkellner | 2009-07-28 16:01:14 +0200 (Di, 28. Jul 2009) | 2 Zeilen
   M /branches/nao/src/lua/agents/naosoccer/init.lua
   M /branches/nao/src/plugins/refboxcomm/comm_thread.cpp

 Agent now sends SetPenalized Messages when penalized, RefBoxComm listens

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2897 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged athome branch changes r2678:2894 into the trunk
Tim Niemueller [Sun, 2 Aug 2009 21:26:16 +0000] 
Merged athome branch changes r2678:2894 into the trunk

Changes include:
---
 r2685 | tim | 2009-06-29 12:24:03 +0200 (Mo, 29. Jun 2009) | 4 Zeilen
   M /branches/athome/src/plugins/festival/festival.mk

 Do not build festival for Festival < 1.96
---
 r2686 | tim | 2009-06-29 13:07:08 +0200 (Mo, 29. Jun 2009) | 4 Zeilen
   M /branches/athome/src/libs/config/sqlite.cpp

 More descriptive error message on import error, show SQL line
---
 r2687 | tim | 2009-06-29 13:23:24 +0200 (Mo, 29. Jun 2009) | 7 Zeilen
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.cpp
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.h

 Make use of LEDs in RX28 PTU
---
 r2691 | tim | 2009-06-29 14:55:32 +0200 (Mo, 29. Jun 2009) | 4 Zeilen
   M /branches/athome/src/mainapp/Makefile

 Report warnings when building mainapp without libdaemon or Avahi
---
 r2692 | tim | 2009-06-29 17:24:25 +0200 (Mo, 29. Jun 2009) | 9 Zeilen
   M /branches/athome/src/mainapp/main.cpp

 Support dropping root privileges.
---
 r2694 | tim | 2009-06-29 19:40:07 +0200 (Mo, 29. Jun 2009) | 6 Zeilen
   M /branches/athome/src/libs/blackboard/net/handler.cpp

 Exception handling for blackboard network handler
---
 r2695 | tim | 2009-06-29 20:00:25 +0200 (Mo, 29. Jun 2009) | 10 Zeilen
   M /branches/athome/src/lua/skills/generic/pantilt.lua
   M /branches/athome/src/plugins/Makefile
   M /branches/athome/src/plugins/pantilt/Makefile
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.cpp
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.h_ext
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.tolua
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.xml
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.cpp
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.h

 Support synchronized pan/tilt movement for RX28 PTU
---
 r2696 | tim | 2009-06-29 22:34:34 +0200 (Mo, 29. Jun 2009) | 4 Zeilen
   M /branches/athome/src/plugins/festival/Makefile
   M /branches/athome/src/plugins/festival/festival.mk

 Fixed depcheck for festival plugin, be more verbose about the specific error
---
 r2698 | tim | 2009-06-29 23:09:17 +0200 (Mo, 29. Jun 2009) | 4 Zeilen
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.cpp

 Extra delays for RX28, fixes incomplete motions
---
 r2700 | tim | 2009-06-30 00:32:47 +0200 (Di, 30. Jun 2009) | 4 Zeilen
   M /branches/athome/src/tools/lasergui/laser_drawing_area.cpp

 Documentation fix for LaserGUI
---
 r2702 | tim | 2009-06-30 09:01:40 +0200 (Di, 30. Jun 2009) | 7 Zeilen
   M /branches/athome/src/firevision/apps/base/acquisition_thread.cpp
   M /branches/athome/src/firevision/apps/base/acquisition_thread.h
   M /branches/athome/src/firevision/apps/base/base_thread.cpp
   M /branches/athome/src/firevision/apps/base/base_thread.h
   M /branches/athome/src/firevision/fvutils/base/vision_master.cpp
   M /branches/athome/src/firevision/fvutils/base/vision_master.h

 Added support for opening a raw camera (get true instance of camera)
---
 r2718 | doostdar | 2009-06-30 19:15:15 +0200 (Di, 30. Jun 2009) | 4 Zeilen
   M /branches/athome/src/lua/skiller/skillhsm.lua

 Support for wait states in SkillHSM, less debug output
---
 r2724 | beck | 2009-06-30 20:31:01 +0200 (Di, 30. Jun 2009) | 6 Zeilen
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Extended FacerInterface.
---
 r2725 | beck | 2009-06-30 20:39:44 +0200 (Di, 30. Jun 2009) | 8 Zeilen
   M /branches/athome/src/firevision/stereo/triclops.cpp
   M /branches/athome/src/firevision/stereo/triclops.h

 Enhances Triclops stereo processor.
---
 r2731 | tim | 2009-07-01 15:25:33 +0200 (Mi, 01. Jul 2009) | 4 Zeilen
   M /branches/athome/src/libs/utils/system/getkey.cpp
   M /branches/athome/src/libs/utils/system/getkey.h

 Put getkey() function in fawkes namespace to avoid clashes with RCSoftX
---
 r2739 | doostdar | 2009-07-01 17:40:30 +0200 (Mi, 01. Jul 2009) | 4 Zeilen
   M /branches/athome/src/tools/lasergui/laser_drawing_area.cpp
   M /branches/athome/src/tools/lasergui/laser_drawing_area.h

 positions read from the interfaces are now transformed from the fawkes coordinate system to the cairo coordinate system
---
 r2741 | tim | 2009-07-01 20:12:19 +0200 (Mi, 01. Jul 2009) | 6 Zeilen
   M /branches/athome/src/firevision/cams/Makefile
   M /branches/athome/src/firevision/fvconf.mk

 Check for availability of V4L2
---
 r2742 | beck | 2009-07-01 20:45:16 +0200 (Mi, 01. Jul 2009) | 10 Zeilen
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Extended facer interface.
---
 r2743 | beck | 2009-07-01 20:47:26 +0200 (Mi, 01. Jul 2009) | 8 Zeilen
   M /branches/athome/src/firevision/apps/facer/pipeline_thread.cpp
   M /branches/athome/src/firevision/apps/facer/pipeline_thread.h

 Various changes in the facer plugin.
---
 r2746 | bahram | 2009-07-01 21:43:43 +0200 (Mi, 01. Jul 2009) | 4 Zeilen
   A /branches/athome/src/interfaces/FacialExpressionInterface.cpp
   A /branches/athome/src/interfaces/FacialExpressionInterface.h
   A /branches/athome/src/interfaces/FacialExpressionInterface.tolua
   A /branches/athome/src/interfaces/FacialExpressionInterface.xml
   A /branches/athome/src/lua/skills/athome/facial_exp.lua

 Built a skill to generate facial expressions.
---
 r2753 | beck | 2009-07-02 08:41:47 +0200 (Do, 02. Jul 2009) | 7 Zeilen
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Extended facer interface.
---
 r2756 | tim | 2009-07-02 09:24:22 +0200 (Do, 02. Jul 2009) | 6 Zeilen
   M /branches/athome/src/plugins/webview/file_reply.cpp
   M /branches/athome/src/plugins/webview/page_reply.cpp

 Show short host in title
---
 r2757 | beck | 2009-07-02 15:55:09 +0200 (Do, 02. Jul 2009) | 6 Zeilen
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Extended facer interface.
---
 r2759 | beck | 2009-07-02 16:02:03 +0200 (Do, 02. Jul 2009) | 4 Zeilen
   M /branches/athome/src/firevision/fvwidgets/image_widget.cpp
   M /branches/athome/src/firevision/fvwidgets/image_widget.h

 Added method to en-/disable the ImageWidget's camera.
---
 r2760 | beck | 2009-07-02 16:04:12 +0200 (Do, 02. Jul 2009) | 4 Zeilen
   M /branches/athome/src/libs/gui_utils/service_selector_cbe.cpp
   M /branches/athome/src/libs/gui_utils/service_selector_cbe.h

 Now, the ServiceSelectorCBE's connect can also be a ToolButton.
---
 r2763 | tim | 2009-07-02 16:22:50 +0200 (Do, 02. Jul 2009) | 8 Zeilen
   M /branches/athome/src/libs/config/net_handler.cpp

 Net conf handler updated to produce warning only on real reason
---
 r2764 | tim | 2009-07-02 16:26:16 +0200 (Do, 02. Jul 2009) | 7 Zeilen
   M /branches/athome/src/tools/lasergui/lasergui.cpp

 LaserGUI: show dialog for leg tracker mode also on connect
---
 r2765 | tim | 2009-07-02 16:28:53 +0200 (Do, 02. Jul 2009) | 7 Zeilen
   M /branches/athome/src/libs/plugin/Makefile
   M /branches/athome/src/libs/plugin/manager.cpp
   M /branches/athome/src/libs/plugin/manager.h

 Do not use FAM if inotify if not available
---
 r2766 | tim | 2009-07-02 16:30:20 +0200 (Do, 02. Jul 2009) | 9 Zeilen
   M /branches/athome/src/lua/skills/generic/ppgoto.lua
   M /branches/athome/src/lua/skills/generic/relgoto.lua

 Fixes and tweaks for relgoto and ppgoto skills
---
 r2767 | tim | 2009-07-02 16:30:54 +0200 (Do, 02. Jul 2009) | 4 Zeilen
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.cpp

 Fix warning for old compiler (GCC 3.4.4 on FC-3)
---
 r2770 | tim | 2009-07-02 17:36:13 +0200 (Do, 02. Jul 2009) | 4 Zeilen
   M /branches/athome/src/plugins/festival/synth_thread.cpp
   M /branches/athome/src/plugins/festival/synth_thread.h

 Added option to execute arbitrary lisp code during festival initialization
---
 r2796 | beck | 2009-07-03 16:49:40 +0200 (Fr, 03. Jul 2009) | 4 Zeilen
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Added a visibility history field to the facer interface.
---
 r2802 | tim | 2009-07-03 17:51:42 +0200 (Fr, 03. Jul 2009) | 7 Zeilen
   M /branches/athome/src/libs/netcomm/dns-sd/avahi_thread.cpp
   M /branches/athome/src/libs/netcomm/service_discovery/service.cpp

 netcomm: missing items in copy ctor, cleanup
---
 r2803 | tim | 2009-07-03 17:53:55 +0200 (Fr, 03. Jul 2009) | 8 Zeilen
   M /branches/athome/res/webview/webview.css
   M /branches/athome/src/plugins/webview/page_reply.cpp
   M /branches/athome/src/plugins/webview/page_reply.h
   A /branches/athome/src/plugins/webview/service_browse_handler.cpp
   A /branches/athome/src/plugins/webview/service_browse_handler.h
   M /branches/athome/src/plugins/webview/webview_thread.cpp
   M /branches/athome/src/plugins/webview/webview_thread.h

 Webview can now show other (Webview) instances existing on the network
---
 r2815 | tim | 2009-07-04 18:35:21 +0200 (Sa, 04. Jul 2009) | 8 Zeilen
   M /branches/athome/src/plugins/katana/sensacq_thread.cpp

 Explicitly catch a KNI exception in katana plugin
---
 r2819 | tim | 2009-07-05 14:54:29 +0200 (So, 05. Jul 2009) | 6 Zeilen
   A /branches/athome/src/lua/skills/generic/transrot.lua

 Added transrot skill for setting translation/rotation via MotorInterface
---
 r2820 | tim | 2009-07-05 14:55:19 +0200 (So, 05. Jul 2009) | 4 Zeilen
   M /branches/athome/src/lua/skills/generic/katana.lua

 Support setting of arm velocity
---
 r2821 | tim | 2009-07-05 14:57:44 +0200 (So, 05. Jul 2009) | 4 Zeilen
   M /branches/athome/src/lua/fawkes/fsm/waitstate.lua

 WaitState did not properly call exit
---
 r2825 | doostdar | 2009-07-05 15:23:49 +0200 (So, 05. Jul 2009) | 5 Zeilen
   M /branches/athome/src/tools/lasergui/lasergui.cpp

 prin
---
 r2826 | tim | 2009-07-06 10:59:01 +0200 (Mo, 06. Jul 2009) | 8 Zeilen
   M /branches/athome/src/libs/utils/graph/rcsoft_map_graph.cpp
   M /branches/athome/src/libs/utils/graph/rcsoft_map_node.cpp
   M /branches/athome/src/libs/utils/graph/rcsoft_map_node.h
   M /branches/athome/src/libs/utils/misc/string_conversions.cpp
   M /branches/athome/src/libs/utils/misc/string_conversions.h
   M /branches/athome/src/libs/utils/qa/test_plugin.cpp
   M /branches/athome/src/libs/utils/system/getkey.cpp

 Doc fixes, new_style, small additions
---
 r2827 | tim | 2009-07-06 10:59:38 +0200 (Mo, 06. Jul 2009) | 4 Zeilen
   M /branches/athome/src/plugins/leg_tracker/laser_people_tracker_thread.cpp
   M /branches/athome/src/tools/lasergui/laser_drawing_area.cpp
   M /branches/athome/src/tools/lasergui/laser_drawing_area.h
   M /branches/athome/src/tools/lasergui/lasergui.cpp

 Adapt legtracker plugin and LaserGUI to new_style for to_string methods
---
 r2828 | tim | 2009-07-06 11:11:16 +0200 (Mo, 06. Jul 2009) | 4 Zeilen
   M /branches/athome/src/interfaces/generator/cpp_generator.cpp
   M /branches/athome/src/libs/utils/graph/rcsoft_map_node.cpp
   M /branches/athome/src/tools/lasergui/laser_drawing_area.cpp

 More documentation fixes and new_style adaptations
---
 r2829 | doostdar | 2009-07-13 14:06:04 +0200 (Mo, 13. Jul 2009) | 4 Zeilen
   M /branches/athome/src/libs/tracking/mcmcda/mcmcda.cpp
   M /branches/athome/src/libs/tracking/mcmcda/obsvector.cpp
   M /branches/athome/src/libs/tracking/mcmcda/track.cpp
   M /branches/athome/src/libs/tracking/mcmcda/track.h
   M /branches/athome/src/libs/tracking/mcmcda/trackset.cpp
   M /branches/athome/src/libs/tracking/mcmcda/trackset.h
   M /branches/athome/src/libs/utils/math/probdist.h
   M /branches/athome/src/plugins/leg_tracker/feature_person.cpp
   M /branches/athome/src/plugins/leg_tracker/fiducial.h
   M /branches/athome/src/plugins/leg_tracker/laser_people_tracker_thread.cpp

 fixed docu/build-failure; corrected email-adress
---
 r2830 | tim | 2009-07-13 23:32:02 +0200 (Mo, 13. Jul 2009) | 9 Zeilen
   M /branches/athome/src/firevision/apps/facer/facergui
   M /branches/athome/src/firevision/fvwidgets/Makefile

 Add missing dep check, add missing properties, fixes build error
---
 r2831 | beck | 2009-07-14 09:11:55 +0200 (Di, 14. Jul 2009) | 4 Zeilen
   M /branches/athome/src/libs/gui_utils/service_selector_cbe.cpp

 Added missing documentation.
---
 r2832 | tim | 2009-07-14 11:06:52 +0200 (Di, 14. Jul 2009) | 6 Zeilen
   M /branches/athome/src/plugins/webview/service_browse_handler.cpp
   M /branches/athome/src/plugins/webview/service_browse_handler.h

 Added missing documentation
---
 r2886 | doostdar | 2009-07-30 16:19:13 +0200 (Do, 30. Jul 2009) | 4 Zeilen
   M /branches/athome/src/libs/utils/math/angle.h

 added a method to detrmine the distance of two radiant-angles (Considers also the different quadrant of the angles to get really the minimal distance).

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2895 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoDisallow non-barrier wakeup during barrier-wakeups, exceptions pimped
Tim Niemueller [Sat, 1 Aug 2009 10:42:51 +0000] 
Disallow non-barrier wakeup during barrier-wakeups, exceptions pimped

+ Do now allow Thread::wakeup() (w/o barrier) to be called while a wakeup
. with barrier is running, this most certainly causes undesired side effects
. and result in a deadlock. If a barrier has been set and a loop is running,
. it would wait another time for the next wakeup, but the intention of calling
. without the barrier is more likely to ignore the barrier next time. This is
. now detected and an exception is thrown. Thanks to Christof for reminding me
. of our conversation in Graz.
+ While at it converted most software exceptions to take a format string and
. variadic arguments. That is in most cases more useful than just a static
. message.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2894 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixing $Id$ keyword on interface files
Tim Niemueller [Fri, 31 Jul 2009 22:03:32 +0000] 
Fixing $Id$ keyword on interface files

+ Seems that Daniel's git-svn checkin screwed up the $Id$ line. Although this
. has to go soon I still want to get it into a clean state for merging.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2893 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix laser plugin compilation for GCC 4.4/glibc 2.10
Tim Niemueller [Fri, 31 Jul 2009 21:59:50 +0000] 
Fix laser plugin compilation for GCC 4.4/glibc 2.10

+ Added missing include (encountered on F-11 with pcan installed)

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2892 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdapt and fix readylogagent plugin, make it optional
Tim Niemueller [Fri, 31 Jul 2009 21:58:19 +0000] 
Adapt and fix readylogagent plugin, make it optional

+ The Eclipse binary must be called eclipse-clp (as we do it in our RPMs).
. This is necessary to disambiguate it from the Eclipse IDE (it took me a
. while to figure out while the IDE was starting magically every time I killed
. it...).
+ Redirect error out of which, causes bogus on console if not found otherwise
+ Adapt to r2890
+ Do not build the plugin it by default. It's as specific as luaagent and
. other stuff we don't build by default. Keeping the foot print low.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2891 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoSome justifications for r2845
Tim Niemueller [Fri, 31 Jul 2009 21:55:00 +0000] 
Some justifications for r2845

+ Use std::list instead of std::vector to return message types, list has a
. smaller include tree and should speed up compilation, while I'd expect that
. the return value will be used as list almost always anyway, and not as
. vector (as we see in the readylogagent plugin)
+ Message types are returned as const char *, not as string. The values are
. truely constant and thus we can avoid the extra inclusion tree and the
. copying and multiple copies in memory.
+ Use <> includes instead of "" includes, these are "system headers"
+ Several fixes of headers, includes, include paths in docs, deflectors etc.,
. most if not all of this was already borked before r2845...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2890 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMoved ECLiPSe code from src/readylog to src/plugins/readylogagent.
Daniel Beck [Thu, 30 Jul 2009 17:13:34 +0000] 
Moved ECLiPSe code from src/readylog to src/plugins/readylogagent.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2889 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFirst version of the readylogagent plugin.
Daniel Beck [Wed, 29 Jul 2009 12:03:03 +0000] 
First version of the readylogagent plugin.

This thing is not really usable, yet, but here is what it can do:

* Data can be read from/written to blackboard interfaces.
* Message can be sent and received.
* The central logger can be accessed from within the ECLiPSe context.
* In each Fawkes loop a signal is posted to the ECLiPSe context.
* The dummy interpreter shows how the interaction with the blackboard
. and the logger works.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2883 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoExtended interface generator to make use of new introspection features.
Daniel Beck [Fri, 24 Jul 2009 11:19:39 +0000] 
Extended interface generator to make use of new introspection features.

* Information about available message types is added to an internal data
. structure of the Interface.
* Information about the fields of a message is added to an internal data
. structure of the Message.
* Re-generated interfaces.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2845 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoExtended introspection capabilities for interfaces.
Daniel Beck [Fri, 24 Jul 2009 11:19:25 +0000] 
Extended introspection capabilities for interfaces.

* The available message types for an interface can be requested.
* The fields of a message can be accessed by means of a field iterator
. in the same fashion it was already possible for the field of an
. interface.
* FieldIterator was moved out of the Interface class and has been
. renamed to InterfaceFieldIterator. This was necessary since it is
. now used in the Interface class as well as in the Message class.
* Re-generated the interfaces.
* Adapted the webview plugin to these changes.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2844 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixed issue with thread max run-time in main app, logging change
Tim Niemueller [Sat, 4 Jul 2009 16:31:14 +0000] 
Fixed issue with thread max run-time in main app, logging change

+ ThreadList::wakeup_and_wait() expects a timeout in nanosec, but main app was
. passing a timeout in nanosec, therefore producing too many warnings...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2813 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMinor changes to Thread and ThreadList to ease debugging of threading issues
Tim Niemueller [Sat, 4 Jul 2009 16:28:12 +0000] 
Minor changes to Thread and ThreadList to ease debugging of threading issues

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2812 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix for InterruptibleBarrier, could deadlock on timeout with waiting threads
Tim Niemueller [Thu, 2 Jul 2009 14:10:02 +0000] 
Fix for InterruptibleBarrier, could deadlock on timeout with waiting threads

+ Fixed critical bug. If two threads were hooked onto the same,
. InterruptibleBarrier (both have not passed the barrier, yet) and one thread
. encountered a timeout, the second would wait forever on the barrier (if it
. by itself was called without a timeout). Additionally, some structures were
. not properly re-intialized on a second run of the barrier.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2761 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix problem when wakeups were queued for thread woken up with barrier
Tim Niemueller [Tue, 30 Jun 2009 08:59:23 +0000] 
Fix problem when wakeups were queued for thread woken up with barrier

+ Threads that were woken up multiple times with the same barrier the barrier
. was lost after the first wakeup, usually causing a deadlock on the other
. waiters of the barrier. Thanks to Christof for noting this.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2703 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged nao branch changes r2624:2678 into the trunk
Tim Niemueller [Sat, 27 Jun 2009 20:38:34 +0000] 
Merged nao branch changes r2624:2678 into the trunk

Chnages include:
---
 r2641 | crath | 2009-06-26 15:28:28 +0200 (Fr, 26. Jun 2009) | 10 lines
   M /branches/nao/src/firevision/fvwidgets/image_widget.cpp
   M /branches/nao/src/firevision/fvwidgets/image_widget.h

 Corrected behaviour of the new (glade) constructor.
---
 r2651 | tkellner | 2009-06-26 19:23:18 +0200 (Fr, 26. Jun 2009) | 6 lines
   M /branches/nao/src/firevision/cams/control/image.cpp
   M /branches/nao/src/firevision/cams/control/image.h

 Added some default image controls.
---
 r2652 | tkellner | 2009-06-26 19:27:15 +0200 (Fr, 26. Jun 2009) | 4 lines
   M /branches/nao/src/firevision/cams/v4l2.cpp
   M /branches/nao/src/firevision/cams/v4l2.h

 Implemented image controls for v4l2 cameras
---
 r2654 | crath | 2009-06-27 15:02:02 +0200 (Sa, 27. Jun 2009) | 1 line
   M /branches/nao/src/firevision/fvwidgets/image_widget.cpp

 Fix as requested by Tim
---
 r2668 | tkellner | 2009-06-27 16:33:20 +0200 (Sa, 27. Jun 2009) | 4 lines
   M /branches/nao/etc/buildsys/gui.mk
   M /branches/nao/src/firevision/tools/colormap_editor/Makefile

 Check for GIOMM and use necessary CFLAGS for colormap editor

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2679 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged athome branch changes r2526:2677 into the trunk
Tim Niemueller [Sat, 27 Jun 2009 20:24:00 +0000] 
Merged athome branch changes r2526:2677 into the trunk

r2648 was already merged earlier, but Subversion merging is so awfully broken
that I had to do a cherry picking merge first...

Changes include:
---
 r2648 | tim | 2009-06-26 16:44:33 +0200 (Fr, 26. Jun 2009) | 11 lines
   M /branches/athome/src/lua/skills/generic/pantilt.lua
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.cpp
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.h_ext
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.tolua
   M /branches/athome/src/plugins/pantilt/PanTiltInterface.xml
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.cpp
   M /branches/athome/src/plugins/pantilt/robotis/rx28_thread.h

 Modified RX28 final behavior, allow for setting margins
---
 r2650 | tim | 2009-06-26 18:49:46 +0200 (Fr, 26. Jun 2009) | 7 lines
   A /branches/athome/src/lua/skills/athome/init.lua
   A /branches/athome/src/lua/skills/generic/ppgoto.lua

 Add athome skill space init file, added ppgoto skill (pathplan goto)

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2678 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerging pantil changes manually from athome branch, branch merging is borked
Tim Niemueller [Sat, 27 Jun 2009 19:58:40 +0000] 
Merging pantil changes manually from athome branch, branch merging is borked

+ Final handling was changed, subversion merging is so fucked up...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2677 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoUse new message ID features in bbsync
Tim Niemueller [Sat, 27 Jun 2009 18:41:11 +0000] 
Use new message ID features in bbsync

+ The bbsync plugin now uses the new features to transmit proper message IDs.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2676 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMajor improvements related to networked blackboard access
Tim Niemueller [Sat, 27 Jun 2009 18:40:27 +0000] 
Major improvements related to networked blackboard access

Note: this is a major change which unfortunately was necessary that close to
RoboCup 2009 to cope with problems that turned up in the athome branch (there
we have three machines that need to talk to each other and networking is an
issue that goes beyond GUI applications). I have done testing for several
hours and the results look promising. If you still spot anything let me know.

+ Message IDs are no longer generated by the receiving end (the writing
. interface instance) but by the sender. This is necessary to accomplish two
. things at the same time:
. - have valid message IDs for messages sent over the network
. - avoid a network round-trip for the message ID causing too much delay.
. This has been accomplished by dividing the message ID in two parts, the
. first two bytes are the instance serial of the sending interface (unique for
. a particular blackboard), the other two bytes are a running number assumed
. to be unique. This limits the number of interface instances and messages
. (before an overflow), but the limit seems acceptible for now (going to long
. int would pose problems atm with 32-bit Lua code, where numbers are
. represented as ptrdiff_t, being an int on such platforms).
+ The major implication for skills is that the msgid does not have a defined
. ordering anymore, i.e. relgoto etc. cannot check if there message has been
. skipped. We have an idea to restore this, but this would take longer to
. implement, and currently we can rightly assume that this does not happen.
+ Number fields of messages are now sent in network byte order
+ QA applications have been extended to test the new code, the qa_bb_remote
. app got code from bbsync to test the repeater scenario.
+ An interface listener can now modify the message ID of a message, which is
. propagated back to the sender. This must be used with extreme care, it will
. be used in bbsync for proper propagation of message IDs.
+ The message ID is only stable across one hop. This is sufficient for now and
. covers our scenario. A hop count has been added to the network messages to
. be able to at least detect possible problems.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2675 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoGuards for old Gtkmm version
Tim Niemueller [Sat, 27 Jun 2009 18:25:46 +0000] 
Guards for old Gtkmm version

+ Makes plugin tree view compatible with FC6, we really need to update that
. laptop...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2674 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix merge bug for skillhsm
Tim Niemueller [Sat, 27 Jun 2009 18:24:46 +0000] 
Fix merge bug for skillhsm

+ Undo changeset r2624, re-apply fixes from athome branch

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2673 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoGah, wrong header.
Tim Niemueller [Sat, 27 Jun 2009 17:08:46 +0000] 
Gah, wrong header.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2672 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded missing header, should fix last build error
Tim Niemueller [Sat, 27 Jun 2009 16:21:16 +0000] 
Added missing header, should fix last build error

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2671 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixed build fails in the colormap post-processor.
Daniel Beck [Sat, 27 Jun 2009 15:31:23 +0000] 
Fixed build fails in the colormap post-processor.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2669 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded colormap post-processing tool.
Daniel Beck [Sat, 27 Jun 2009 14:08:39 +0000] 
Added colormap post-processing tool.

* The tool grows the regions in the colormap assigned to a certain color,
thereby filling small gaps.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2666 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdapted fvutils Makefiles to the recent changes in the random forest code.
Daniel Beck [Sat, 27 Jun 2009 13:53:25 +0000] 
Adapted fvutils Makefiles to the recent changes in the random forest code.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2664 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded method to the ImageWidget to en-/disable the camera.
Daniel Beck [Sat, 27 Jun 2009 13:52:29 +0000] 
Added method to the ImageWidget to en-/disable the camera.

* This functionality is necessary if the camera is closed or if
the camera to obtain the images from is exchanged for another camera.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2663 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMutexLocker for BlackBoardNotifier, re-implements r2629, fixes ticket #93
Tim Niemueller [Fri, 26 Jun 2009 07:50:34 +0000] 
MutexLocker for BlackBoardNotifier, re-implements r2629, fixes ticket #93

+ Unlock was missing, use MutexLocker now for proper unlocking and more fail
. safety. Thanks to Tobias for finding this. Next time, just post a patch for
. infrastructure stuff first to save us the extra work.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2631 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoCherry picking merge of r2552 and 2613 for image_widget.(h|cpp)
Tim Niemueller [Thu, 25 Jun 2009 17:37:09 +0000] 
Cherry picking merge of r2552 and 2613 for image_widget.(h|cpp)

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2626 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoRevert changes to image_widget.(h|cpp) merged from nao branch causing the
Tim Niemueller [Thu, 25 Jun 2009 17:35:00 +0000] 
Revert changes to image_widget.(h|cpp) merged from nao branch causing the
build error due to a faulty merge.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2625 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged athome branch changes r1695:2623 into the trunk.
Tim Niemueller [Thu, 25 Jun 2009 17:10:25 +0000] 
Merged athome branch changes r1695:2623 into the trunk.

Changes include:
---
 r2551 | beck | 2009-06-16 14:26:38 +0200 (Di, 16. Jun 2009) | 19 lines
   [...]
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Major revision of the face recognition related stuff.
---
 r2558 | beck | 2009-06-16 18:10:13 +0200 (Di, 16. Jun 2009) | 6 lines
   M /branches/athome/src/interfaces/FacerInterface.cpp
   M /branches/athome/src/interfaces/FacerInterface.h
   M /branches/athome/src/interfaces/FacerInterface.tolua
   M /branches/athome/src/interfaces/FacerInterface.xml

 Extended facer interface.
---
 r2563 | bahram | 2009-06-17 15:32:11 +0200 (Mi, 17. Jun 2009) | 3 lines
   M /branches/athome/src/lua/skiller/skillhsm.lua

 Bugfixed debug message and check for precondition

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2624 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged nao branch changes r2544:2622 into the trunk
Tim Niemueller [Thu, 25 Jun 2009 16:33:04 +0000] 
Merged nao branch changes r2544:2622 into the trunk

Changes include:
---
 r2552 | crath | 2009-06-16 14:46:22 +0200 (Di, 16. Jun 2009) | 2 lines
   M /branches/nao/src/firevision/fvwidgets/image_widget.cpp
   M /branches/nao/src/firevision/fvwidgets/image_widget.h

 Added a lossy scaler in case the image source and the widget size differs
---
 r2556 | crath | 2009-06-16 17:16:14 +0200 (Di, 16. Jun 2009) | 1 line
   M /branches/nao/src/firevision/cams/control/factory.cpp

 Bugfixing wrong cast type
---
 r2571 | tkellner | 2009-06-17 17:56:41 +0200 (Mi, 17. Jun 2009) | 2 lines
   M /branches/nao/src/libs/config/qa/Makefile

 Commented out qa_config_change_handler - not up to date
---
 r2572 | tkellner | 2009-06-17 18:12:03 +0200 (Mi, 17. Jun 2009) | 2 lines
   M /branches/nao/src/libs/config/qa/qa_config.cpp

 Extended config qa app to test config copying
---
 r2577 | crath | 2009-06-22 15:02:01 +0200 (Mo, 22. Jun 2009) | 1 line
   M /branches/nao/src/firevision/fvutils/base/roi.cpp
   M /branches/nao/src/firevision/fvutils/base/roi.h

 ROI operators now work on const references
---
 r2588 | crath | 2009-06-23 15:34:46 +0200 (Di, 23. Jun 2009) | 1 line
   M /branches/nao/src/firevision/classifiers/classifier.cpp

 Initializing members
---
 r2590 | tkellner | 2009-06-23 15:37:59 +0200 (Di, 23. Jun 2009) | 2 lines
   M /branches/nao/res/glade/firestation/firestation.glade

 Firestation glade file spinbutton fixes
---
 r2591 | crath | 2009-06-23 15:38:05 +0200 (Di, 23. Jun 2009) | 1 line
   M /branches/nao/src/firevision/models/scanlines/grid.cpp
   M /branches/nao/src/firevision/models/scanlines/grid.h

 Implemented set_roi() function to get the grid for a defined region
---
 r2604 | pathirana | 2009-06-24 14:25:54 +0200 (Mi, 24. Jun 2009) | 3 lines
   M /branches/nao/src/firevision/models/scanlines/grid.cpp

 Fixed segmentation fault
---
 r2613 | crath | 2009-06-25 15:48:02 +0200 (Do, 25. Jun 2009) | 1 line
   M /branches/nao/src/firevision/fvwidgets/image_widget.cpp
   M /branches/nao/src/firevision/fvwidgets/image_widget.h

 Debug: catches invalid buffer conversation (e.g. YUV_PLANAR_QUATER to RGB)

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2623 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoDocumentation fixes
Tim Niemueller [Thu, 25 Jun 2009 16:09:37 +0000] 
Documentation fixes

+ that happens if you urge for too soon merges...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2622 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdd laser dead spot calibration support
Tim Niemueller [Thu, 25 Jun 2009 15:37:40 +0000] 
Add laser dead spot calibration support

+ Added calibration application that takes a number of samples and compares
. the distance reading with a specified compare distance. Dead ranges will
. be extracted for beams whose median distance is shorter than the compare
. distance. Some post-processing and normalization is applied and the entries
. are specifically sorted as to support an efficient processing in the laser.
. Calibration data is immediately verified and stored in via the remote
. configuration facilities.
+ Added LaserDeadSpotsDataFilter which takes the calibration data and then
. sets the dead region values to 0.0 (invalid).
+ Added LaserDataFilterCascade, which cascades a number of filters to one.
+ Additions and changes to the LaserDataFilter base class.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2620 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoImprovements for the LaserGUI
Tim Niemueller [Thu, 25 Jun 2009 15:32:16 +0000] 
Improvements for the LaserGUI

+ Instead of the rectangle draw a circle with a 1m radius. This is useful to
. check the current data for calibration of dead spots
+ On an established connection open the proper interface depending on state
. of the highres button

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2619 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoRemove and note remote clients that do not close a remote config properly
Tim Niemueller [Thu, 25 Jun 2009 15:28:44 +0000] 
Remove and note remote clients that do not close a remote config properly

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2618 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoBlackBoardNotifier debug output commented out
Tim Niemueller [Thu, 25 Jun 2009 15:27:21 +0000] 
BlackBoardNotifier debug output commented out

+ It seems to work for a while, so remove some debug output

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2617 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded convenience define for default Fawkes port
Tim Niemueller [Thu, 25 Jun 2009 15:26:31 +0000] 
Added convenience define for default Fawkes port

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2616 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded argument parser convenience methods to parse items as int and float
Tim Niemueller [Thu, 25 Jun 2009 15:25:58 +0000] 
Added argument parser convenience methods to parse items as int and float

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2615 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded SpeechRecognitionInterface
Tim Niemueller [Wed, 24 Jun 2009 17:36:23 +0000] 
Added SpeechRecognitionInterface

+ Added interface to be used by the speech recognition system to provide the
. recognized string.

Masrur & Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2606 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoConfig path of hardware dependent modules modified, starts now with /hardware/
Tim Niemueller [Tue, 23 Jun 2009 21:27:21 +0000] 
Config path of hardware dependent modules modified, starts now with /hardware/

+ Hardware dependent plugins like katana, joystick and pantilt now use the
. prefix /hardware/ for configuration data. This is to concentrate hardware
. related config entries in the tree in the plugin GUI to make it easier to
. find stuff. Note that for now this is meant for purely hardware driven
. plugins, i.e. plugins that provide access to some kind of hardware.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2602 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdapted LaserGUI to display high resolution data
Tim Niemueller [Tue, 23 Jun 2009 21:20:37 +0000] 
Adapted LaserGUI to display high resolution data

+ The button that used to be the "low resolution" toggle button has been
. changed to be a "high resolution" toggle button, it toggles between 360 and
. 720 beam data by opening/closing the appropriate interface.
+ Added scissor button that does trims the data (old "low resolution"
. behavior)
. Added exit button

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2601 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoSupport for 0.5° laser resolution added, cleanups and enh. readability
Tim Niemueller [Tue, 23 Jun 2009 21:18:15 +0000] 
Support for 0.5° laser resolution added, cleanups and enh. readability

+ Added support for 0.5° laser resolution producing 720 beams. Data is also
. down-sampled for existing modules.
+ Added 720to360 laser data filter, that down-samples the high resolution
. laser beams to the lower resolution ones, as to allow all existing software
. to operate as usual.
+ Filters re-factored, now in separate directory, adapted demo circle filter
+ Re-factored the Lase LD acquisition thread. All protocol magic numbers are
. now proper constant to de-mystify that code a bit. We can now easier play
. around with the code
+ Added canonical resolution configuration item, that allows for fast
. switching between the high resolution (0.5° angle step, 15 Hz) and the
. lower one (1° angle step, 20 Hz).
+ Changed path to configuration items, it's now /hardware/laser. We need to
. get better at hierarchical structuring.

There is still more work to do for the laser plugin, for now it's sufficient.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2600 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded Laser720Interface
Tim Niemueller [Tue, 23 Jun 2009 21:09:32 +0000] 
Added Laser720Interface

+ Added laser interface that transports 720 beams

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2599 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoException safety for BB interface listener
Tim Niemueller [Tue, 23 Jun 2009 21:07:56 +0000] 
Exception safety for BB interface listener

+ Catch exceptions that can occur when sending messages, i.e. when the
. receiver left in the very moment a message is being sent.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2598 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoExplicit rounding for float -> int conversion, fixes latest build issue
Tim Niemueller [Tue, 23 Jun 2009 11:18:36 +0000] 
Explicit rounding for float -> int conversion, fixes latest build issue

+ Explicitly cast and round float calculation to make old GCC happy

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2587 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoBuild pantilt plugin by default, fixes current build error
Tim Niemueller [Tue, 23 Jun 2009 09:32:25 +0000] 
Build pantilt plugin by default, fixes current build error

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2586 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded pantilt plugin, implemented skill, config update, implements ticket #116
Tim Niemueller [Mon, 22 Jun 2009 18:50:53 +0000] 
Added pantilt plugin, implemented skill, config update, implements ticket #116

+ Added pantilt plugin that supports driving one or more pantilt units,
. currently implemented are the freshly built RX28 PTU, the Sony EviD100P
. pantilter and the DirectedPerception PTU, the latter has not been tested
. due to a missing power supply, will do that after RC2009.
. The plugin employs concurrent worker threads as not to interfere with the
. main loop timing. Fresh data is acquired while the PTU is moving or the
. motors are turned off (e.g. for teach-in).
+ RX28 PTU works nicely
+ Sony EviD100P PTU works, protocol should be re-implemented, the Visca class
. does not use the optimal communication pattern
. DirectedPerception PTU is untested
+ Default configuration supplied for RX28 PTU
+ Added new plugin-specific PanTiltInterface
+ Added pantilt skill, that can control one or more pantilt units, currently
. supports controlling a RX28 and a SonyEviD100P, need to find better solution
. to specify PTUs, later. Currently RX28 is the default.
+ Added config entry for festival, requires festvox-bdl-arctic-hts package
+ Added interfaces for PTUs to test skill space.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2584 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAllow config of the voice for the festival plugin, implements ticket #109
Tim Niemueller [Mon, 22 Jun 2009 18:44:18 +0000] 
Allow config of the voice for the festival plugin, implements ticket #109

+ Added /plugins/festival/voice configuration string to give the voice
. to be used by the Festival plugin.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2583 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoSeveral smaller cleanups, additions and fixes for katana plugin
Tim Niemueller [Mon, 22 Jun 2009 18:36:55 +0000] 
Several smaller cleanups, additions and fixes for katana plugin

+ Removed some references to the laser plugin
+ Properly describe all fields in the interface
+ Added calibrated field to the interface to check if the arm has been
. calibrated. This can later allow to disable auto calibration of the arm for
. fast startup times, and calibrate it only when necessary
+ Catch some KNI exceptions to avoid aborts

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2582 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded support for coalescing thread wakeups
Tim Niemueller [Mon, 22 Jun 2009 18:32:44 +0000] 
Added support for coalescing thread wakeups

+ The recent changes made sure that now loop is missed. In some situations it
. might be desired to get only once woken up for multiple wakeups. To allow
. this it can now be set to coalesce wakeups, causing that there is always
. at most one pending wakeup in the queue.
+ Added method wakeup_pending() to detect if a wakeup is pending

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2581 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoPrepare coming pantilt plugin
Tim Niemueller [Mon, 22 Jun 2009 18:30:02 +0000] 
Prepare coming pantilt plugin

+ Removed DirectedPerception PTU, pure PTUs will be handled in the coming
. new pantilt plugin
+ At some point we ideally also completely move the Visca/Sony EviD100P stuff.
. For now we keep it around, to avoid problems with Doxygen classes have been
. renamed.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2580 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMinor modifications of the QA app for the face classifier.
Daniel Beck [Fri, 19 Jun 2009 13:45:26 +0000] 
Minor modifications of the QA app for the face classifier.

* Added timetracker.
* The input images for the classifere are scaled down by a factor
of 2.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2576 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixed some bugs in the face classifier QA app.
Daniel Beck [Wed, 17 Jun 2009 09:56:16 +0000] 
Fixed some bugs in the face classifier QA app.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2562 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMinor change in the face classifier, extension of corresponding QA app.
Daniel Beck [Wed, 17 Jun 2009 07:54:07 +0000] 
Minor change in the face classifier, extension of corresponding QA app.

* Fixed a "bug" in a comment. The list of ROIs returned by classify() is
sorted in ascending order, i.e., smallest (not largest) ROI first. To avoid
reversing the order use a reverse_iterator to step through the ROIs from
the largest to the smallest.
* Extended the face classifier QA app such that it can directly open a camera
and perform facer detection on the live images.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2561 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded new constructor to the ImageWidget class.
Daniel Beck [Wed, 17 Jun 2009 07:40:33 +0000] 
Added new constructor to the ImageWidget class.

* The new constructor allows to instantiate an ImageWidget object as
a derived widget from a Glade XML file.

db

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2560 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoRemoved debug output from interface.mk
Tim Niemueller [Mon, 15 Jun 2009 16:09:06 +0000] 
Removed debug output from interface.mk

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2545 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoMerged nao branch changes r2421:r2543 into the trunk
Tim Niemueller [Mon, 15 Jun 2009 16:03:04 +0000] 
Merged nao branch changes r2421:r2543 into the trunk

Changes include:
---
 r2426 | tkellner | 2009-05-15 12:39:18 +0200 (Fr, 15. Mai 2009) | 2 lines
   M /branches/nao/src/plugins/joystick/ffjoystick.cpp

 Improved execption handling and added missing help output
---
 r2433 | tkellner | 2009-05-18 20:47:28 +0200 (Mo, 18. Mai 2009) | 1 line
   M /branches/nao/src/interfaces/interface.dtd

 Interface dtd typo fix
---
 r2435 | crath | 2009-05-19 14:34:56 +0200 (Di, 19. Mai 2009) | 2 lines
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.cpp

 Added missing variable initialization.
---
 r2436 | crath | 2009-05-19 14:50:29 +0200 (Di, 19. Mai 2009) | 6 lines
   M /branches/nao/res/glade/fuse_viewer/fuse_viewer.glade
   M /branches/nao/src/firevision/tools/fuse_viewer/fuse_viewer_gui.cpp
   M /branches/nao/src/firevision/tools/fuse_viewer/fuse_viewer_gui.h

 Removed the expicit connection functionality, to favour Avahi.
---
 r2439 | crath | 2009-05-19 21:42:18 +0200 (Di, 19. Mai 2009) | 7 lines
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.cpp
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.h

 Added right-click on widget to add a host manually.
---
 r2440 | crath | 2009-05-20 01:21:34 +0200 (Mi, 20. Mai 2009) | 7 lines
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.cpp
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.h
   M /branches/nao/src/firevision/tools/fuse_viewer/fuse_viewer_gui.cpp

 Tried to use FuseImageListWidget's auto update function without success.
---
 r2441 | crath | 2009-05-20 10:05:25 +0200 (Mi, 20. Mai 2009) | 1 line
   M /branches/nao/src/firevision/fvwidgets/fuse_image_list_widget.cpp

 Added missing include...
---
 r2458 | crath | 2009-06-01 16:13:01 +0200 (Mo, 01. Jun 2009) | 4 lines
   M /branches/nao/src/firevision/models/scanlines/line_grid.cpp

 Correcting ROI and offset calculation.
---
 r2459 | crath | 2009-06-01 18:46:52 +0200 (Mo, 01. Jun 2009) | 1 line
   M /branches/nao/src/firevision/models/scanlines/line_grid.cpp
   M /branches/nao/src/firevision/models/scanlines/line_grid.h
   M /branches/nao/src/firevision/models/scanlines/scanlinemodel.h

 Added set_roi() method to specify the area where scanlines should be calculated
---
 r2460 | crath | 2009-06-01 22:48:21 +0200 (Mo, 01. Jun 2009) | 3 lines
   M /branches/nao/src/firevision/models/scanlines/line_grid.cpp

 Corrected the offset calculation.
---
 r2461 | crath | 2009-06-01 22:52:08 +0200 (Mo, 01. Jun 2009) | 5 lines
   M /branches/nao/src/firevision/fvutils/draw/drawer.cpp
   M /branches/nao/src/firevision/fvutils/draw/drawer.h

 Added convenience method to color single points with a given color.
---
 r2464 | crath | 2009-06-01 23:11:47 +0200 (Mo, 01. Jun 2009) | 5 lines
   M /branches/nao/src/firevision/filters/roidraw.cpp
   M /branches/nao/src/firevision/filters/roidraw.h

 Changed coloring of the ROIs
---
 r2467 | crath | 2009-06-02 12:21:27 +0200 (Di, 02. Jun 2009) | 7 lines
   M /branches/nao/src/firevision/filters/roidraw.cpp
   M /branches/nao/src/firevision/filters/roidraw.h

 Generalized FilterROIDraw display style
---
 r2468 | crath | 2009-06-02 13:06:34 +0200 (Di, 02. Jun 2009) | 1 line
   M /branches/nao/src/firevision/filters/roidraw.cpp
   M /branches/nao/src/firevision/filters/roidraw.h

 Added missing comments.
---
 r2478 | crath | 2009-06-03 22:08:08 +0200 (Mi, 03. Jun 2009) | 8 lines
   M /branches/nao/src/firevision/models/scanlines/line_grid.cpp
   M /branches/nao/src/firevision/models/scanlines/line_grid.h

 Debugging and Make-up
---
 r2479 | crath | 2009-06-03 22:12:57 +0200 (Mi, 03. Jun 2009) | 5 lines
   M /branches/nao/src/firevision/filters/roidraw.cpp

 Debugging.
---
 r2486 | crath | 2009-06-04 17:54:36 +0200 (Do, 04. Jun 2009) | 3 lines
   M /branches/nao/src/firevision/models/relative_position/ball_trigo.cpp

 is_pos_valid() now returns false if the position hasn't been calculated
---
 r2515 | tkellner | 2009-06-09 16:54:16 +0200 (Di, 09. Jun 2009) | 2 lines
   M /branches/nao/src/firevision/cams/v4l2.cpp
   M /branches/nao/src/firevision/cams/v4l2.h

 reimplemented v4l2 color camera controls
---
 r2516 | tkellner | 2009-06-09 17:02:15 +0200 (Di, 09. Jun 2009) | 10 lines
   M /branches/nao/src/firevision/cams/control/color.h
   M /branches/nao/src/firevision/cams/control/control.cpp
   M /branches/nao/src/firevision/cams/control/control.h
   M /branches/nao/src/firevision/cams/control/effect.h
   M /branches/nao/src/firevision/cams/control/factory.cpp
   M /branches/nao/src/firevision/cams/control/focus.h
   M /branches/nao/src/firevision/cams/control/image.h
   M /branches/nao/src/firevision/cams/control/pantilt.h
   M /branches/nao/src/firevision/cams/control/zoom.h
   M /branches/nao/src/firevision/fvutils/base/vision_master.h

 Reimplemented the register_for_camera_control templated method.
---
 r2539 | tim | 2009-06-15 15:33:33 +0200 (Mo, 15. Jun 2009) | 9 lines
   M /branches/nao/src/firevision/cams/control/color.h
   M /branches/nao/src/firevision/cams/control/control.cpp
   M /branches/nao/src/firevision/cams/control/control.h
   M /branches/nao/src/firevision/cams/control/effect.h
   M /branches/nao/src/firevision/cams/control/factory.cpp
   M /branches/nao/src/firevision/cams/control/focus.h
   M /branches/nao/src/firevision/cams/control/image.h
   M /branches/nao/src/firevision/cams/control/pantilt.h
   M /branches/nao/src/firevision/cams/control/zoom.h
   M /branches/nao/src/firevision/fvutils/base/vision_master.h

 Revert changeset r2516 (camera control stuff)

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2544 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoRemoved debug output from CameraControlFactory, fixes build error
Tim Niemueller [Mon, 15 Jun 2009 14:35:44 +0000] 
Removed debug output from CameraControlFactory, fixes build error

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2542 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoVisionMaster changes regarding acquiring camera controls (superseeds r2516)
Tim Niemueller [Mon, 15 Jun 2009 13:44:25 +0000] 
VisionMaster changes regarding acquiring camera controls (superseeds r2516)

+ There are now three methods to acquire a camera control:
. - untyped with camera string (either tries to get a camera control from the
.   camera that matches the camera string, or creates a new one taking the
.   string as control string)
. - typed with camera string (same as above, but using a template method to
.   get a camera control of a specific type)
. - typed with camera string and control instance argument (same as above, but
.   instead of explicitly naming the type of the camera control the type is
.   inferred from the second argument, allowing to have brief lines like:
.   CameraControlImage *cc = vision_master->acquire_camctrl("cam string...", cc);
+ Renamed methods to acquire_camctrl(), we do not really register for the cam
. control as we do for the camera. The thread is not called afterwards etc.
+ Added release_camctrl(). The camera control needs to be released, especially
. if it is a standalone controller (like the EviD100P PTU), as the associated
. memory must be freed. Unique subscriber pattern likely to follow.
+ Removed TypeID altogether. For the template methods we are fine by just using
. C++ RTTI for the type (only requiring proper factory updates), for the
. non-template method it didn't by us anything useful, really. That checking.
. can better be done directly in the application (e.g. if it acquires the
. generic camera control, and then dynamically casts it to the two types that
. the control provides, like the Sony EviD100P)
+ Removed factory template methods. Now that the factory is only used
. internally by the base vision it is no longer necessary and would just
. reproduce vision master code.
+ Some control implementations need fixing, i.e. the open() and close()
. methods are not called from the outside, therefore this has to be done in
. ctor/dtor, and example is, again, the Sony EviD100P.

Tested with dummy and firewire controls, more testing welcome. Send patches or
comments to my mailbox.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2540 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoDefault configuration values for the Katana arm (connected via USB)
Tim Niemueller [Fri, 12 Jun 2009 16:05:34 +0000] 
Default configuration values for the Katana arm (connected via USB)

+ Added katana plugin default configuration values
+ Added KatanaInterface.h to interface ignores

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2534 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded katana skill
Tim Niemueller [Fri, 12 Jun 2009 15:56:30 +0000] 
Added katana skill

+ The katana() skill completes the work for the Katana arm in Fawkes. With the
. skill the arm can be calibrated, stopped and moved, the motors can be turned
. on and off and the gripper can be controlled.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2533 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoEnable graphing, error checking in skillenv
Tim Niemueller [Fri, 12 Jun 2009 15:54:13 +0000] 
Enable graphing, error checking in skillenv

+ Enable graphing in the development phase (heck, I need to make this a
. config flag now)
+ Improved error checking, ran into a problem when the katana skill used the
. katana interface, only one of the two which would be available in the skill
. environment... Now this kind of problem is reported.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2532 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded katana plugin to control Neuronics Katana arm, implements ticket #108
Tim Niemueller [Fri, 12 Jun 2009 15:21:24 +0000] 
Added katana plugin to control Neuronics Katana arm, implements ticket #108

+ Added katana plugin, which connects with the Katana arm and integrates it
. into Fawkes. It is exposed via the plugin-specific KatanaInterface which
. comes with this plugin. Since the KNI's operations may either take a long.
. time (for real-time robotics) like 10 to 20 ms, or we risk errors and do
. not get the data. Therefore most of the work is done in concurrent
. continuous (one-time) threads. This has several benefits. It makes the
. act thread code very comprehensible, it separates different actions nicely,
. exclusive access to the arm can be controlled easily without the need for
. locking, and blocking actions can be cancelled easily at any point, e.g.
. for a stop.
. The plugin supports all the basic stuff that we used to have with
. librcxkarma in RCSoftX, but for example the final handling is done more
. robust by using encoder values rather than thresholded sensor values (tended
. to be unreliable, based on grasped object and position in the gripper).
. A skill to use the arm is about to follow.
+ Enabled the plugin by default for now to allow for automatic building on the
. continuous integration hosts for testing.

To use with Fedora install libkni3-devel from the AllemaniACs repo (proposed
for inclusion to Fedora). Remove existing installations of libkni[-devel].

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2530 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoDocumentation fixes for laser plugin
Tim Niemueller [Fri, 12 Jun 2009 14:18:48 +0000] 
Documentation fixes for laser plugin

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2528 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdapt skiller plugin to latest interface related changes
Tim Niemueller [Fri, 12 Jun 2009 14:18:23 +0000] 
Adapt skiller plugin to latest interface related changes

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2527 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix builds w/o libjpeg or Avahi
Tim Niemueller [Fri, 12 Jun 2009 14:13:20 +0000] 
Fix builds w/o libjpeg or Avahi

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2526 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixed tolua++ order-only prerequesite for parallel build in libfawkesgeometry
Tim Niemueller [Fri, 12 Jun 2009 14:12:01 +0000] 
Fixed tolua++ order-only prerequesite for parallel build in libfawkesgeometry

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2525 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoConvenience method additions to improve code readability (of users)
Tim Niemueller [Fri, 12 Jun 2009 14:11:20 +0000] 
Convenience method additions to improve code readability (of users)

+ There is now a msgq_first() method which takes a reference to a pointer to
. a BB message. This way getting a message can look like this:
. KatanaInterface::ParkMessage *msg = __katana_if->msgq_first(msg);
. instead of this:
. KatanaInterface::ParkMessage *msg = __katana_if->msgq_first<KatanaInterface::ParkMessage>();
+ Added Message::is_of_type() template method to check if a given message is of a certain
. type.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2524 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoThread class additions, workaround for mass-joining in ThreadList
Tim Niemueller [Fri, 12 Jun 2009 14:05:05 +0000] 
Thread class additions, workaround for mass-joining in ThreadList

+ Thread::name() is now an inline function. It is potentially called often
. for log messages and performance is harmed less when defined inline.
+ Thread::start() now takes an optional parameter whether to wait for the
. thread to have actually started or to just trigger the start but immediately
. return. The default behavior is to wait, which is the way it used to work.
+ ThreadList now waits 5ms between two joins of several threads. This improves
. (though not solves) a problem with pthreads that blocked infinitely on
. pthread_join() when called for many threads one after another. Reason for
. this is yet unknown.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2523 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoRefPtr has now a ownership-taking assignment operator
Tim Niemueller [Fri, 12 Jun 2009 14:01:37 +0000] 
RefPtr has now a ownership-taking assignment operator

+ Added RefPtr<T_CppObject>& RefPtr<T_CppObject>::operator=(T_CppObject *ptr)
. which claims ownership of ptr and encapsulates it in this refptr with a ref
. count of only one. Useful for initialization. Beware, think before you
. use it.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2522 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFix parallel builds and plugin-specific interface build, fixes ticket #115
Tim Niemueller [Fri, 12 Jun 2009 12:48:35 +0000] 
Fix parallel builds and plugin-specific interface build, fixes ticket #115

+ Rewrote most of the code, now there is a proper intermediate target, a
. "touch file", on which the .h and .cpp files depend, causing proper
. rebuilds if one one file was missing.
+ Code is now safe for parallel builds (at least during numerous test builds,
. please let me know if you discover a problem)
+ make clean now works properly for plugin-specific interfaces.
+ Automatically adds proper dependencies for BINS_all and PLUGINS_all when
. set.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2521 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoUpdated SkillerDebugInterface to use string instead of char
Tim Niemueller [Tue, 9 Jun 2009 11:15:43 +0000] 
Updated SkillerDebugInterface to use string instead of char

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2512 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded new BYTE type, modified and added FieldIterator methods
Tim Niemueller [Tue, 9 Jun 2009 09:35:45 +0000] 
Added new BYTE type, modified and added FieldIterator methods

+ New BYTE type added
+ get_*() methods of FieldIterator now take an optional index argument,
. allowing for peaking into arrays
+ Added get methods to get access to arrays.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2511 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded string and byte type, removed char type, implements ticket #74
Tim Niemueller [Tue, 9 Jun 2009 09:32:58 +0000] 
Added string and byte type, removed char type, implements ticket #74

+ Added string type, replaces old char type with length > 1
+ Added byte type, replaces old char type (length = 1). Note that a byte is
. always unsigned, therefore having the value range [0..255].
+ Removed char type completely, it was ambiguous at best
+ Some tweaks to the interface generator necessary for changed types
+ Adapted interface which were using the char type
+ Re-generated interfaces with new interface generator.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2510 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixed closing (remote writing) instances in bbsync
Tim Niemueller [Mon, 8 Jun 2009 15:45:20 +0000] 
Fixed closing (remote writing) instances in bbsync

+ The close_interfaces() of the synth thread contained code from an
. intermediate state and therefore sometimes tried to close remote
. interfaces on the local BB and vice versa, causing exceptions.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2505 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdapt to NavigatorInterface changes
Tim Niemueller [Mon, 8 Jun 2009 15:43:58 +0000] 
Adapt to NavigatorInterface changes

+ Renamed MaxVelocityMessage to SetMaxVelocityMessage

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2504 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoExtended (and modified) NavigatorInterface
Tim Niemueller [Mon, 8 Jun 2009 15:43:27 +0000] 
Extended (and modified) NavigatorInterface

+ Support for setting available features as flags
+ Added error code to indicate the reason of an error
+ Added ability to set escaping and security distance
+ Added goto message to go to a "place", a free-form string for example to
. use with a path planner.
+ Renamed MaxVelocityMessage to SetMaxVelocityMessage, therefore requiring
. changes to code using this, especially after the merge.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2503 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoFixes for flite and festival plugins
Tim Niemueller [Sun, 7 Jun 2009 23:15:36 +0000] 
Fixes for flite and festival plugins

+ Process only one message per loop in synth threads. With the new wakeup()
. method that guarantees as many loops as wakeup() was called this could
. otherwise result in an infinite loop while waiting for the message to
. be queued in the beginning of the loop
+ Flite synth thread did not properly unregister as blackboard interface
. listener.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2501 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAdded bbsync plugin for multi-Fawkes synchronization, implements ticket #105
Tim Niemueller [Sun, 7 Jun 2009 23:13:10 +0000] 
Added bbsync plugin for multi-Fawkes synchronization, implements ticket #105

+ Added bbsync plugin. Given a number of peers and a description of interfaces
. the data and messages of these interface are synchronized between multiple
. instances. The behavior of the plugin is dynamic. It spawns a number of
. of threads (one per peer), all decoupled from the main loop to minimize the
. impact of a bad connection. The thread will asynchronously handle data and
. message events appropriately by copying the data or forwarding the messages.
. Every n miliseconds (by default every 5 seconds, example default config
. shows how to set to 1 second. The peer thread dynamically creates a writer,
. whenever there is a writer for the reading interface instance, and closes
. the relay writer when the reader reports that the writer left. This way
. Interface::has_writer() reports valid results, required for example for the
. proper functioning of the skiller.

This is the first version that worked reliably for laser data (fast and
continuous changing data) and speech synthesis (message sending). Maybe at
some point a feature is desirable like synchronizing the data at certain
hooks of the main loop.

This plugin is considered to be a base plugin as it provides basic Fawkes
communication facilities. Enabled as default build target.

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2500 fc82b16a-671c-0410-8732-9903a8d2dd0d

2 years agoAllow for setting network details via config for mainapp
Tim Niemueller [Sun, 7 Jun 2009 22:58:36 +0000] 
Allow for setting network details via config for mainapp

+ Network port for Fawkes Network Service can now be set via config
+ Service name for Fawkes Network Service can now be set via config
+ Add appropriate default configuration data to reproduce the current state
+ Change comments of a few config values, mostly adding information about the
. unit of a number
+ Fix number of laser initialization tries, should be 5 not 0...

Tim

git-svn-id: https://lechuck.informatik.rwth-aachen.de:2342/svn/fawkes/trunk@2499 fc82b16a-671c-0410-8732-9903a8d2dd0d