orocos-toolchain:ocl.git
5 years agodeployer: don't start TaskBrowser when we're a daemon process and fixup log statements
Peter Soetens [Mon, 2 Apr 2012 19:38:32 +0000 (21:38 +0200)]
deployer: don't start TaskBrowser when we're a daemon process and fixup log statements

* The log statements occured before os_init, causing failure in Xenomai
* The Taskbrowser should not be started when we're a daemon (no console)

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agocmake: fix bug #936: Wrong linking when switching OROCOS_TARGET in orocos_toolchain
Peter Soetens [Mon, 2 Apr 2012 19:28:38 +0000 (21:28 +0200)]
cmake: fix bug #936: Wrong linking when switching OROCOS_TARGET in orocos_toolchain

The cmake logic did not use OROCOS_TARGET in cached variables. We now detect target switches
and fixup the cmake variables if required.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agodeployment: allow deployers to daemonize.
Peter Soetens [Sun, 5 Feb 2012 22:20:06 +0000 (23:20 +0100)]
deployment: allow deployers to daemonize.

This only works properly for rttscript.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agotaskbrowser: remove blocking of SIGINT.
Peter Soetens [Sun, 5 Feb 2012 22:06:12 +0000 (23:06 +0100)]
taskbrowser: remove blocking of SIGINT.

This was done in the 'old/non-portable' way anyway, and is incompatible
with other parts of the software/components wanting to use/tune Ctrl-C.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agodeployment: allow to wait for SIGINT or any other signal in a script.
Peter Soetens [Sun, 5 Feb 2012 22:05:23 +0000 (23:05 +0100)]
deployment: allow to wait for SIGINT or any other signal in a script.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agoocl - std::string/vector fixes to resolve compilation issues due to rtt commmit 12d0d...
Steven Bellens [Thu, 8 Mar 2012 11:14:32 +0000 (12:14 +0100)]
ocl - std::string/vector fixes to resolve compilation issues due to rtt commmit 12d0d389f374846f

Signed-off-by: Steven Bellens <steven.bellens@mech.kuleuven.be>
5 years agofix small bug in rttlib.stat()
Markus Klotzbuecher [Wed, 22 Feb 2012 14:04:02 +0000 (15:04 +0100)]
fix small bug in rttlib.stat()

5 years agoupdate utils
Markus Klotzbuecher [Wed, 22 Feb 2012 13:32:06 +0000 (14:32 +0100)]
update utils

5 years agobump rttlua version to beta5 8
Markus Klotzbuecher [Wed, 15 Feb 2012 08:39:48 +0000 (09:39 +0100)]
bump rttlua version to beta5

5 years agolua: add tc_cleanup method to cleanup non-gc'ed objects
Markus Klotzbuecher [Fri, 25 Nov 2011 08:52:35 +0000 (09:52 +0100)]
lua: add tc_cleanup method to cleanup non-gc'ed objects

5 years agolua: more doc cleanup
Markus Klotzbuecher [Fri, 25 Nov 2011 08:41:28 +0000 (09:41 +0100)]
lua: more doc cleanup

5 years agolua: add getPropertyNames
Markus Klotzbuecher [Fri, 25 Nov 2011 08:32:59 +0000 (09:32 +0100)]
lua: add getPropertyNames

5 years agolua: minor doc updates
Markus Klotzbuecher [Fri, 25 Nov 2011 08:26:25 +0000 (09:26 +0100)]
lua: minor doc updates

5 years agolua: minor doc fix
Markus Klotzbuecher [Mon, 14 Nov 2011 18:09:13 +0000 (19:09 +0100)]
lua: minor doc fix

5 years agolua: don't crash if port creating fails
Markus Klotzbuecher [Fri, 4 Nov 2011 14:55:03 +0000 (15:55 +0100)]
lua: don't crash if port creating fails

5 years agolua: improve portstats output
Markus Klotzbuecher [Thu, 27 Oct 2011 14:18:30 +0000 (16:18 +0200)]
lua: improve portstats output

5 years agotc2str: don't print str ops (can be shown using tc:show())
Markus Klotzbuecher [Mon, 24 Oct 2011 19:19:00 +0000 (21:19 +0200)]
tc2str: don't print str ops (can be shown using tc:show())

5 years agotaskbrowser: fix printing of cached values
Peter Soetens [Sun, 5 Feb 2012 21:11:43 +0000 (22:11 +0100)]
taskbrowser: fix printing of cached values

Not all printed datasources were properly evaluate()'ed, such that
access to value()/rvalue() returned a cached value.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agoDeployer name not handled correctly
Paul Chavent [Tue, 6 Dec 2011 16:18:37 +0000 (17:18 +0100)]
Deployer name not handled correctly

Fixes bug #905

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agodeployer: return false if import fails
Markus Klotzbuecher [Thu, 24 Nov 2011 14:22:29 +0000 (15:22 +0100)]
deployer: return false if import fails

Signed-off-by: Markus Klotzbuecher <markus.klotzbuecher@mech.kuleuven.be>
5 years agocmake: set default memory size for operations/logging to 512kb
Peter Soetens [Thu, 1 Dec 2011 22:01:46 +0000 (23:01 +0100)]
cmake: set default memory size for operations/logging to 512kb

20kb was insanely small. 512 might be too big for some but it can be
overriden by the command line, or a build-time option.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
5 years agoLog4cpp: fix test component to use orocos_component macro so it gets installed
Markus Klotzbuecher [Fri, 25 Nov 2011 10:31:42 +0000 (11:31 +0100)]
Log4cpp: fix test component to use orocos_component macro so it gets installed

6 years agocheck if result is empty after each call of boost::split
Johannes Meyer [Wed, 17 Aug 2011 20:33:56 +0000 (22:33 +0200)]
check if result is empty after each call of boost::split

6 years agologging: add dependency on log4cpp in .pc file generation.
Peter Soetens [Fri, 21 Oct 2011 12:22:38 +0000 (14:22 +0200)]
logging: add dependency on log4cpp in .pc file generation.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoros: fixup default component path in orocos_toolchain stack.
Peter Soetens [Sun, 16 Oct 2011 14:15:20 +0000 (16:15 +0200)]
ros: fixup default component path in orocos_toolchain stack.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoMerge remote-tracking branch 'mk/lua-2.5' into toolchain-2.5
Peter Soetens [Sun, 16 Oct 2011 14:10:01 +0000 (16:10 +0200)]
Merge remote-tracking branch 'mk/lua-2.5' into toolchain-2.5

6 years agoMerge branch 'master' into toolchain-2.5
Peter Soetens [Sun, 16 Oct 2011 14:00:26 +0000 (16:00 +0200)]
Merge branch 'master' into toolchain-2.5

6 years agoLua: disable EEHook gc. 7
Markus Klotzbuecher [Fri, 14 Oct 2011 07:02:31 +0000 (09:02 +0200)]
Lua: disable EEHook gc.

It seems somehow EEHook:disable does not correctly remove us from the
ExecutionEngine queue. Needs investigation.

6 years agoLua: improve robustness of Operation call.
Markus Klotzbuecher [Fri, 14 Oct 2011 06:46:38 +0000 (08:46 +0200)]
Lua: improve robustness of Operation call.

 - check if setReference succeeded
 - check if given dsb are assignable
 - add a lua test.

6 years agolua: add getTypeIdName method
Markus Klotzbuecher [Fri, 14 Oct 2011 06:26:07 +0000 (08:26 +0200)]
lua: add getTypeIdName method

6 years agolua: extend basic conversions to stdint types
Markus Klotzbuecher [Fri, 14 Oct 2011 06:19:19 +0000 (08:19 +0200)]
lua: extend basic conversions to stdint types

6 years agolua: testcomp, add uint8 test
Markus Klotzbuecher [Thu, 13 Oct 2011 12:21:17 +0000 (14:21 +0200)]
lua: testcomp, add uint8 test

6 years agolua: service, use different name for TLSF version
Markus Klotzbuecher [Wed, 12 Oct 2011 11:57:51 +0000 (13:57 +0200)]
lua: service, use different name for TLSF version

6 years agoLua: fix linking issue with lua service
Markus Klotzbuecher [Wed, 12 Oct 2011 11:36:58 +0000 (13:36 +0200)]
Lua: fix linking issue with lua service

6 years agolua: add rttlib.stat function
Markus Klotzbuecher [Wed, 5 Oct 2011 23:26:45 +0000 (01:26 +0200)]
lua: add rttlib.stat function

6 years agolua: service, use different name for TLSF version
Markus Klotzbuecher [Wed, 12 Oct 2011 11:57:51 +0000 (13:57 +0200)]
lua: service, use different name for TLSF version

6 years agoLua: fix linking issue with lua service
Markus Klotzbuecher [Wed, 12 Oct 2011 11:36:58 +0000 (13:36 +0200)]
Lua: fix linking issue with lua service

6 years agolua: add rttlib.stat function
Markus Klotzbuecher [Wed, 5 Oct 2011 23:26:45 +0000 (01:26 +0200)]
lua: add rttlib.stat function

6 years agotimer: fixup timer to support older programs/examples too.
Peter Soetens [Tue, 4 Oct 2011 12:25:27 +0000 (14:25 +0200)]
timer: fixup timer to support older programs/examples too.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agodoc: update release script not to publish to mech account v2.5.0
Peter Soetens [Sun, 2 Oct 2011 21:03:33 +0000 (23:03 +0200)]
doc: update release script not to publish to mech account

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agodebian: update package to 2.5.0-1
Peter Soetens [Thu, 29 Sep 2011 20:02:18 +0000 (22:02 +0200)]
debian: update package to 2.5.0-1

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agobin: remove -x from shell scripts.
Peter Soetens [Thu, 29 Sep 2011 10:47:35 +0000 (12:47 +0200)]
bin: remove -x from shell scripts.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoMerge remote-tracking branch 'origin/master'
Peter Soetens [Fri, 23 Sep 2011 20:44:57 +0000 (22:44 +0200)]
Merge remote-tracking branch 'origin/master'

6 years agoBump version to 2.5.0
Peter Soetens [Fri, 23 Sep 2011 20:40:15 +0000 (22:40 +0200)]
Bump version to 2.5.0

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agodeployment: fixup setActivityOnCPU() operation.
Peter Soetens [Fri, 23 Sep 2011 19:30:25 +0000 (21:30 +0200)]
deployment: fixup setActivityOnCPU() operation.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoMerge branch 'master' of https://git.gitorious.org/orocos-toolchain/ocl
Peter Soetens [Fri, 23 Sep 2011 19:32:00 +0000 (21:32 +0200)]
Merge branch 'master' of https://git.gitorious.org/orocos-toolchain/ocl

6 years agocmake: add remaining shell script wrappers for OCL tools.
Peter Soetens [Fri, 23 Sep 2011 19:04:55 +0000 (21:04 +0200)]
cmake: add remaining shell script wrappers for OCL tools.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoMerge remote-tracking branch 'mk/lua'
Peter Soetens [Fri, 23 Sep 2011 19:00:25 +0000 (21:00 +0200)]
Merge remote-tracking branch 'mk/lua'

6 years agofixing set but unused variables warning
Steven Bellens [Mon, 27 Jun 2011 21:23:55 +0000 (23:23 +0200)]
fixing set but unused variables warning

Signed-off-by: Steven Bellens <steven.bellens@mech.kuleuven.be>
6 years agobin: provide utility scripts which autodetect the target.
Peter Soetens [Thu, 22 Sep 2011 11:17:13 +0000 (13:17 +0200)]
bin: provide utility scripts which autodetect the target.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agolua, tlsf: portable printing of size_t
Markus Klotzbuecher [Tue, 20 Sep 2011 08:30:00 +0000 (10:30 +0200)]
lua, tlsf: portable printing of size_t

6 years agodeployment: add setActivityOnCPU() operation.
Eli Reekmans [Mon, 19 Sep 2011 14:53:27 +0000 (16:53 +0200)]
deployment: add setActivityOnCPU() operation.

Signed-off-by: Eli Reekmans <eli.reekmans@intermodalics.eu>
6 years agolua: disable ti ptr caching.
Markus Klotzbuecher [Mon, 19 Sep 2011 13:15:27 +0000 (15:15 +0200)]
lua: disable ti ptr caching.

This does not work while TypeInfo are overriden. Suggested change is
to disable the overriding in RTT, and instead register the later added
types as aliases. When that behavior has been implemented, this patch
should be reverted.

6 years agolua: bump version to beta4 6
Markus Klotzbuecher [Sat, 10 Sep 2011 05:27:49 +0000 (07:27 +0200)]
lua: bump version to beta4

6 years agolua: install tlsf_ext module
Markus Klotzbuecher [Sat, 10 Sep 2011 05:16:22 +0000 (07:16 +0200)]
lua: install tlsf_ext module

6 years agolua: improve tlsf_ext module output
Markus Klotzbuecher [Fri, 9 Sep 2011 11:04:45 +0000 (13:04 +0200)]
lua: improve tlsf_ext module output

6 years agolua: bugfix, make call_func stack clean.
Markus Klotzbuecher [Tue, 6 Sep 2011 06:14:56 +0000 (08:14 +0200)]
lua: bugfix, make call_func stack clean.

6 years agolua: call_func, pop result
Markus Klotzbuecher [Mon, 5 Sep 2011 15:10:38 +0000 (17:10 +0200)]
lua: call_func, pop result

6 years agolua: add Variable_tolightuserdata
Markus Klotzbuecher [Mon, 5 Sep 2011 13:01:12 +0000 (15:01 +0200)]
lua: add Variable_tolightuserdata

6 years agolua: fix member cache eviction issue
Markus Klotzbuecher [Sun, 4 Sep 2011 21:23:03 +0000 (23:23 +0200)]
lua: fix member cache eviction issue

6 years agolua: various minor optimizations
Markus Klotzbuecher [Sun, 4 Sep 2011 20:05:35 +0000 (22:05 +0200)]
lua: various minor optimizations

6 years agolua: lookup_cache, add some debug code
Markus Klotzbuecher [Sun, 4 Sep 2011 20:04:44 +0000 (22:04 +0200)]
lua: lookup_cache, add some debug code

6 years agolua: optimization, pass TI ptr to Variable_is_a
Markus Klotzbuecher [Sun, 4 Sep 2011 11:13:01 +0000 (13:13 +0200)]
lua: optimization, pass TI ptr to Variable_is_a

6 years agolua: let Variable_fromlua deal gracefully with narrow failures.
Markus Klotzbuecher [Fri, 2 Sep 2011 20:50:59 +0000 (22:50 +0200)]
lua: let Variable_fromlua deal gracefully with narrow failures.

You never know.

6 years agolua: allocation free setting of DSB
Markus Klotzbuecher [Fri, 2 Sep 2011 20:36:13 +0000 (22:36 +0200)]
lua: allocation free setting of DSB

6 years agolua: TypeInfo lookup cache
Markus Klotzbuecher [Fri, 2 Sep 2011 15:25:16 +0000 (17:25 +0200)]
lua: TypeInfo lookup cache

6 years agolua: convert call_func to char* to avoid alloc
Markus Klotzbuecher [Fri, 2 Sep 2011 14:37:31 +0000 (16:37 +0200)]
lua: convert call_func to char* to avoid alloc

6 years agolua: fix tlsf component naming problem
Markus Klotzbuecher [Fri, 2 Sep 2011 06:36:38 +0000 (08:36 +0200)]
lua: fix tlsf component naming problem

6 years agolua: add sleep function
Markus Klotzbuecher [Thu, 1 Sep 2011 14:28:36 +0000 (16:28 +0200)]
lua: add sleep function

6 years agolua: rename LuaTLSFComponent
Markus Klotzbuecher [Thu, 1 Sep 2011 11:03:04 +0000 (13:03 +0200)]
lua: rename LuaTLSFComponent

6 years agolua: set default TLSF poolsize to 1MiB
Markus Klotzbuecher [Thu, 1 Sep 2011 10:27:26 +0000 (12:27 +0200)]
lua: set default TLSF poolsize to 1MiB

6 years agolua: document tlsf functions
Markus Klotzbuecher [Thu, 1 Sep 2011 10:15:07 +0000 (12:15 +0200)]
lua: document tlsf functions

6 years agolua: tlsf support for LuaService
Markus Klotzbuecher [Thu, 1 Sep 2011 09:18:58 +0000 (11:18 +0200)]
lua: tlsf support for LuaService

6 years agolua: minor doc update
Markus Klotzbuecher [Thu, 1 Sep 2011 08:53:30 +0000 (10:53 +0200)]
lua: minor doc update

6 years agolua: tlsf, remove dbg code
Markus Klotzbuecher [Fri, 19 Aug 2011 14:04:01 +0000 (16:04 +0200)]
lua: tlsf, remove dbg code

6 years agolua: BUILD_LUA_RTT_TLSF=ON creates LuaTLSF cmps in addition, not instead
Markus Klotzbuecher [Fri, 19 Aug 2011 13:21:09 +0000 (15:21 +0200)]
lua: BUILD_LUA_RTT_TLSF=ON creates LuaTLSF cmps in addition, not instead

6 years agolua: cleanup CMakeLists.txt
Markus Klotzbuecher [Fri, 19 Aug 2011 12:25:18 +0000 (14:25 +0200)]
lua: cleanup CMakeLists.txt

6 years agolua: Fix statistics in TLSF when memory region is added.
Markus Klotzbuecher [Fri, 19 Aug 2011 11:21:59 +0000 (13:21 +0200)]
lua: Fix statistics in TLSF when memory region is added.

When a new memory region is added, free_ex is called on it to mark it
as free. This however messes up the statistics, as the new size is
then subtracted from tlsf->used_size.

This hack temporarily stores the correct size and restores it after
free_ex has been called.

6 years agolua: rttlua TLSF integration
Markus Klotzbuecher [Fri, 19 Aug 2011 10:01:43 +0000 (12:01 +0200)]
lua: rttlua TLSF integration

6 years agolua: add vanilla tlsf
Markus Klotzbuecher [Wed, 17 Aug 2011 08:49:22 +0000 (10:49 +0200)]
lua: add vanilla tlsf

6 years agolua: fix exception error message
Markus Klotzbuecher [Thu, 15 Sep 2011 08:54:15 +0000 (10:54 +0200)]
lua: fix exception error message

6 years agolua: globals repo, convert basic types to Lua
Markus Klotzbuecher [Thu, 15 Sep 2011 08:45:12 +0000 (10:45 +0200)]
lua: globals repo, convert basic types to Lua

6 years agolua: update utils to v0.8
Markus Klotzbuecher [Thu, 1 Sep 2011 07:18:09 +0000 (09:18 +0200)]
lua: update utils to v0.8

6 years agolua: catch ... as final resort
Markus Klotzbuecher [Tue, 30 Aug 2011 14:46:15 +0000 (16:46 +0200)]
lua: catch ... as final resort

6 years agolua: be more informative about caught exceptions
Markus Klotzbuecher [Thu, 25 Aug 2011 15:19:22 +0000 (17:19 +0200)]
lua: be more informative about caught exceptions

6 years agodeployment: look into RTT_COMPONENT_PATH if ROS package has no lib/orocos dir
Peter Soetens [Thu, 8 Sep 2011 14:51:21 +0000 (16:51 +0200)]
deployment: look into RTT_COMPONENT_PATH if ROS package has no lib/orocos dir

This was necessary for importing 'ocl', which defines
the NO_ROS_PACKAGE macro in its cmake logic.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoreporting: revamp the reporter for better usability
Peter Soetens [Fri, 2 Sep 2011 15:57:27 +0000 (17:57 +0200)]
reporting: revamp the reporter for better usability

- Snapshot flag is gone and one-shot == snapshot, periodic == sampling at 'period'
- Fixed issues with header and table marshallers.
- Periodic mode will sample at most at x Hz (but may be less if no more data is there)
- Non periodic mode responds reactive to new data on inputs (all is logged if it can follow)
- buffering is gone (reporter is slower than producer, so buffering is useless)

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agoTimerComponent: replace single port for all timers with a separate port for each...
Ruben Smits [Fri, 27 May 2011 09:19:12 +0000 (11:19 +0200)]
TimerComponent: replace single port for all timers with a separate port for each timer

Signed-off-by: Ruben Smits <ruben.smits@mech.kuleuven.be>
6 years agoLua: update Property docs
Markus Klotzbuecher [Fri, 19 Aug 2011 14:07:02 +0000 (16:07 +0200)]
Lua: update Property docs

getName() and getDescription() were replaced by info()

Thanks to Ruben for reporting this!

6 years agoUpdate utils.
Markus Klotzbuecher [Fri, 19 Aug 2011 13:29:36 +0000 (15:29 +0200)]
Update utils.

All projects utils.lua should be up-to-date as due to varying include
paths it may happen that for instance rFSM includes the ocl utils
version. If that one happens to be old things go wrong.

Thanks to Tinne De Laet for reporting such an issue.

6 years agoMerge remote branch 'mk/lua'
Peter Soetens [Tue, 12 Jul 2011 14:20:55 +0000 (16:20 +0200)]
Merge remote branch 'mk/lua'

6 years agolua: add rtt-aware type function
Markus Klotzbuecher [Tue, 12 Jul 2011 06:19:19 +0000 (08:19 +0200)]
lua: add rtt-aware type function

6 years agolua: further document rttlib
Markus Klotzbuecher [Tue, 12 Jul 2011 06:18:58 +0000 (08:18 +0200)]
lua: further document rttlib

6 years agomake: update paths to smoothen transition to new stack layout
Peter Soetens [Fri, 8 Jul 2011 10:12:15 +0000 (12:12 +0200)]
make: update paths to smoothen transition to new stack layout

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
6 years agolua: fix unit tests 5
Markus Klotzbuecher [Thu, 7 Jul 2011 08:16:31 +0000 (10:16 +0200)]
lua: fix unit tests

6 years agolua: add error and recover methods
Markus Klotzbuecher [Thu, 7 Jul 2011 08:14:08 +0000 (10:14 +0200)]
lua: add error and recover methods

6 years agolua: remove dead code
Markus Klotzbuecher [Thu, 7 Jul 2011 08:02:07 +0000 (10:02 +0200)]
lua: remove dead code

6 years agolua: remove oldschool TaskContext.(call|send) interface
Markus Klotzbuecher [Thu, 7 Jul 2011 08:00:37 +0000 (10:00 +0200)]
lua: remove oldschool TaskContext.(call|send) interface

6 years agolua: add new test
Markus Klotzbuecher [Wed, 6 Jul 2011 12:57:21 +0000 (14:57 +0200)]
lua: add new test

6 years agolua: convert send to refdsbs
Markus Klotzbuecher [Tue, 5 Jul 2011 15:53:49 +0000 (17:53 +0200)]
lua: convert send to refdsbs