Skip to content

Vizkit.control destroys configurations #55

@mintar

Description

@mintar

In my ruby scripts, I had this (shortened):

Bundles.initialize
Bundles.run 'laserscanner_tracking_filter_kalman' do
    # [...]
    Vizkit.control log
    # [...]
    filter = Orocos::TaskContext.get "laserscanner_tracking_filter_kalman"
    Orocos.conf.apply(filter, ["default", "laserscanner_tracking"], true)
    # [...]
    Vizkit.exec
end

That gave me the following error:

orocos.rb[WARN]:   /home/martin/rock/tools/orocos.rb/lib/orocos/configurations.rb:726:in `resolve_requested_configuration_names': no configuration available for multisensor_tracking::KalmanFilterLinearTask

... which sent me looking in all the wrong places. In the end, it turned out that moving Vizkit.control log after the Orocos.conf.apply line fixed the problem. So something inside Vizkit destroyed the available configurations.

(see rock-dev post)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions