[Rock-dev] load_type "/logger/Annotations" dosn't work
Alexander Duda
Alexander.Duda at dfki.de
Mon Mar 12 11:54:50 CET 2012
On Mon, 2012-03-12 at 11:48 +0100, Sylvain Joyeux wrote:
> On 03/12/2012 11:18 AM, Alexander Duda wrote:
> > On Mon, 2012-03-12 at 10:55 +0100, Sylvain Joyeux wrote:
> >> On 03/12/2012 10:30 AM, Alexander Duda wrote:
> >>> On Mon, 2012-03-12 at 10:06 +0100, Matthias Goldhoorn wrote:
> >>>> I just updated since a longer time the seegrip project.
> >>>>
> >>>> I tried to adapted the logger marker changes, because the build for some
> >>>> base deployments fail.
> >>>> It was needed to load the logger/Marker type manually with the following
> >>>> command (because i manually configure the logger)
> >>>>
> >>>> 17 load_type "/logger/Annotations"
> >>>
> >>> In which context do you use this method? It is neither defined in
> >>> tools/logger nor in tools/orocos.rb
> >> It is in tools/orogen.
> >>
> >> This is not a runtime, but a compile-time issue. If you deploy a logger with
> >>
> >> deployment 'logger_only' do
> >> add_default_logger
> >> end
> >>
> >> then the logger typekit is NOT loaded in this deployment as there are no
> >> ports / properties that require it.
> > Is this only the case for logger_only deployments? If yes, why should
> > someone do something like this in the first place. We have default
> > deployments.
>
> Actually, the default deployment will have the exact same issue ... I'm
> right now wondering why the annotations work in your setup ... Do you
> deploy them with another task that is producing a Annotations type by
> any chance ?
require 'orocos'
Orocos.initialize
Orocos.run 'rock_logger' do
test = Types::Logger::Annotations.new
logger = Orocos::TaskContext.get 'logger'
logger.file = "bla.log"
logger.configure
logger.start
while true
sleep 0.1
end
end
Works for me even with a small gui which is creating log markers
Alex
>
> Moreover, default deployments don't work in Roby (not an issue for
> Matthias, but an issue in general)
>
> Sylvain
--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-456620
Fax: +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
More information about the Rock-dev
mailing list