Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error in VTD binding: OSI BaseMoving/MountingPosition::orientation required #93

Open
cassava opened this issue May 30, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@cassava
Copy link
Contributor

cassava commented May 30, 2022

Running: python3 -m cloe_launch -vv exec -c -P /home/cassva/work/cloe/tests/../conantest.py -o:o with_vtd=True -- --no-system-confs --no-system-plugins --level debug run --no-write-output --require-success  test_vtd_smoketest_osi.json
   Source profile: /home/cassva/work/cloe/tests/../conantest.py
   Profile name: 167cfb520dd89cc6124d02369b3ae77632f7b6c8
   Configuration:
      from pathlib import Path
       from conans import ConanFile, tools


       class CloeTest(ConanFile):
           name = "cloe-test"
           settings = "os", "compiler", "build_type", "arch"
           options = {
               "with_vtd": [True, False],
           }
           default_options = {
               "with_vtd": False,
           }
           no_copy_source = True

           def set_version(self):
               version_file = Path(self.recipe_folder) / "VERSION"
               if version_file.exists():
                   self.version = tools.load(version_file).strip()
               else:
                   git = tools.Git(folder=self.recipe_folder)
                   self.version = git.run("describe --dirty=-dirty")[1:]

           def requirements(self):
               self.requires(f"cloe/{self.version}@cloe/develop")
               if self.options.with_vtd:
                   self.requires("osi-sensor/1.0.0-vtd2.2@cloe/stable")
                   self.requires("vtd/2.2.0@cloe-restricted/stable")

           def configure(self):
               self.options["cloe"].with_vtd = self.options.with_vtd

   Runtime directory: /home/cassva/.cache/cloe/launcher/167cfb520dd89cc6124d02369b3ae77632f7b6c8
   Re-using existing runtime directory.
   Exec: /bin/bash -c source /home/cassva/.cache/cloe/launcher/167cfb520dd89cc6124d02369b3ae77632f7b6c8/activate_run.sh &>/dev/null && env
   Exec: /bin/bash -c source /home/cassva/.cache/cloe/launcher/167cfb520dd89cc6124d02369b3ae77632f7b6c8/activate.sh &>/dev/null && env
   Write: /home/cassva/.cache/cloe/launcher/167cfb520dd89cc6124d02369b3ae77632f7b6c8/launcher_env.sh
   Loading plugin setup: /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/lib/cloe/simulator_vtd.py
   Initializing plugin setup for vtd at simulator_vtd.so
   Environment: {
       BOOST_ROOT: /home/cassva/.conan/data/boost/1.69.0/_/_/package/8468b057bf5b2cf5c1e9194777c025a4812bc62f
       CC: /usr/bin/gcc-10
       CLOE_ENGINE: /home/cassva/.conan/data/cloe-engine/0.19.0-nightly/cloe/develop/package/3d2a86e42cd77f465cd15c65fd9a958c357089de/bin/cloe-engine
       CLOE_PLUGIN_PATH: [
           /home/cassva/.conan/data/cloe-plugin-basic/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-gndtruth-extractor/0.19.0-nightly/cloe/develop/package/903583978ca3285b74969f2044f61052ec234376/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-minimator/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-mocks/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-noisy-sensor/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-speedometer/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-virtue/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe
           /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/lib/cloe
       ]
       CLOE_PROFILE_HASH: 167cfb520dd89cc6124d02369b3ae77632f7b6c8
       CONAN_OLD_BOOST_ROOT:
       CONAN_OLD_CC:
       CONAN_OLD_CXX:
       CONAN_OLD_DYLD_LIBRARY_PATH: [

       ]
       CONAN_OLD_LD_LIBRARY_PATH: [

       ]
       CONAN_OLD_PATH: [
           /bin
           /usr/bin
       ]
       CONAN_OLD_PS1:
       CONAN_OLD_VTD_EXTERNAL_MODELS:
       CONAN_OLD_VTD_LAUNCH:
       CONAN_OLD_VTD_ROOT:
       CONAN_OLD_VTD_SETUP_DIR:
       CXX: /usr/bin/g++-10
       DYLD_LIBRARY_PATH: [
           /home/cassva/.conan/data/osi-sensor/1.0.0-vtd2.2/cloe/stable/package/08c70af646ffba0a95b3596dcaa63eae38c94bac/lib
           /home/cassva/.conan/data/cloe-plugin-basic/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib
           /home/cassva/.conan/data/cloe-plugin-gndtruth-extractor/0.19.0-nightly/cloe/develop/package/903583978ca3285b74969f2044f61052ec234376/lib
           /home/cassva/.conan/data/cloe-plugin-minimator/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-mocks/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-noisy-sensor/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib
           /home/cassva/.conan/data/cloe-plugin-speedometer/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-virtue/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/lib
           /home/cassva/.conan/data/cloe-models/0.19.0-nightly/cloe/develop/package/e9a28d15753880946e45e3914fd186477b3f7a27/lib
           /home/cassva/.conan/data/open-simulation-interface/3.2.0/cloe/stable/package/38dabbb1925d9b6a1ff374d53e618dc2e5e2ac9a/lib
           /home/cassva/.conan/data/vtd-api/2.2.0/cloe/stable/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib
           /home/cassva/.conan/data/cloe-runtime/0.19.0-nightly/cloe/develop/package/1f085bf6223ef95d45a5fc34c5fdb9600b09ab9c/lib
           /home/cassva/.conan/data/protobuf/3.9.1/bincrafters/stable/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib
           /home/cassva/.conan/data/spdlog/1.9.2/_/_/package/a25e7a62c2131e994f0f913d54666249cc8326dd/lib
           /home/cassva/.conan/data/incbin/0.88.0/cloe/stable/package/524ea35a8120baabdde02483add58d81bf541327/lib
           /home/cassva/.conan/data/fable/0.19.0-nightly/cloe/develop/package/abb06658692ed58a21528a3cc3edc0f6e12f24cd/lib
           /home/cassva/.conan/data/boost/1.69.0/_/_/package/8468b057bf5b2cf5c1e9194777c025a4812bc62f/lib
           /home/cassva/.conan/data/fmt/8.1.1/_/_/package/8fbeded8e81bfcbd1fcdca301b03a876d262e652/lib
           /home/cassva/.conan/data/zlib/1.2.11/_/_/package/75e99b627c196b65c439728670655ec3c366b334/lib
           /home/cassva/.conan/data/bzip2/1.0.8/_/_/package/9f84c49e2143828a044b1675a587477e091c9f9f/lib
           /home/cassva/.conan/data/libbacktrace/cci.20210118/_/_/package/75e99b627c196b65c439728670655ec3c366b334/lib
       ]
       HOME: /home/cassva
       LANG: en_US.UTF-8
       LANGUAGE: en_US:en
       LD_LIBRARY_PATH: [
           /home/cassva/.conan/data/osi-sensor/1.0.0-vtd2.2/cloe/stable/package/08c70af646ffba0a95b3596dcaa63eae38c94bac/lib
           /home/cassva/.conan/data/cloe-plugin-basic/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib
           /home/cassva/.conan/data/cloe-plugin-gndtruth-extractor/0.19.0-nightly/cloe/develop/package/903583978ca3285b74969f2044f61052ec234376/lib
           /home/cassva/.conan/data/cloe-plugin-minimator/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-mocks/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-noisy-sensor/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib
           /home/cassva/.conan/data/cloe-plugin-speedometer/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-virtue/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib
           /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/lib
           /home/cassva/.conan/data/cloe-models/0.19.0-nightly/cloe/develop/package/e9a28d15753880946e45e3914fd186477b3f7a27/lib
           /home/cassva/.conan/data/open-simulation-interface/3.2.0/cloe/stable/package/38dabbb1925d9b6a1ff374d53e618dc2e5e2ac9a/lib
           /home/cassva/.conan/data/vtd-api/2.2.0/cloe/stable/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib
           /home/cassva/.conan/data/cloe-runtime/0.19.0-nightly/cloe/develop/package/1f085bf6223ef95d45a5fc34c5fdb9600b09ab9c/lib
           /home/cassva/.conan/data/protobuf/3.9.1/bincrafters/stable/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib
           /home/cassva/.conan/data/spdlog/1.9.2/_/_/package/a25e7a62c2131e994f0f913d54666249cc8326dd/lib
           /home/cassva/.conan/data/incbin/0.88.0/cloe/stable/package/524ea35a8120baabdde02483add58d81bf541327/lib
           /home/cassva/.conan/data/fable/0.19.0-nightly/cloe/develop/package/abb06658692ed58a21528a3cc3edc0f6e12f24cd/lib
           /home/cassva/.conan/data/boost/1.69.0/_/_/package/8468b057bf5b2cf5c1e9194777c025a4812bc62f/lib
           /home/cassva/.conan/data/fmt/8.1.1/_/_/package/8fbeded8e81bfcbd1fcdca301b03a876d262e652/lib
           /home/cassva/.conan/data/zlib/1.2.11/_/_/package/75e99b627c196b65c439728670655ec3c366b334/lib
           /home/cassva/.conan/data/bzip2/1.0.8/_/_/package/9f84c49e2143828a044b1675a587477e091c9f9f/lib
           /home/cassva/.conan/data/libbacktrace/cci.20210118/_/_/package/75e99b627c196b65c439728670655ec3c366b334/lib
       ]
       PATH: [
           /home/cassva/.conan/data/cloe-engine/0.19.0-nightly/cloe/develop/package/3d2a86e42cd77f465cd15c65fd9a958c357089de/bin
           /home/cassva/.conan/data/vtd/2.2.0/cloe-restricted/stable/package/ec7a6a6e30e7bdff1e0e9448e6e7270de063ae6c/bin
           /home/cassva/.conan/data/bzip2/1.0.8/_/_/package/9f84c49e2143828a044b1675a587477e091c9f9f/bin
           /bin
           /usr/bin
       ]
       PS1: (conanenv)
       PWD: /home/cassva/work/cloe/tests
       SHLVL: 0
       TERM: xterm-256color
       TERMINAL: alacritty
       USER: cassva
       VI_LIC_SERVER: abtz0c6n.abt.de.bosch.com
       VTD_EXTERNAL_MODELS: /home/cassva/.conan/data/osi-sensor/1.0.0-vtd2.2/cloe/stable/package/08c70af646ffba0a95b3596dcaa63eae38c94bac/lib/OSMPDummySensor.so:/home/cassva/.conan/data/vtd/2.2.0/cloe-restricted/stable/package/ec7a6a6e30e7bdff1e0e9448e6e7270de063ae6c/Data/Setups/Standard.OSI3/Bin/libopen_simulation_interface.so
       VTD_LAUNCH: /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/bin/vtd-launch
       VTD_ROOT: /home/cassva/.conan/data/vtd/2.2.0/cloe-restricted/stable/package/ec7a6a6e30e7bdff1e0e9448e6e7270de063ae6c
       VTD_SETUP_DIR: /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/contrib/setups
       XDG_DATA_DIRS: /usr/local/share:/usr/share:/var/lib/snapd/desktop
       XDG_RUNTIME_DIR: /run/user/0000000000
       XDG_SESSION_CLASS: user
       XDG_SESSION_ID: 000
       XDG_SESSION_TYPE: tty
       _: /bin/env
   }
   Exec: /home/cassva/.conan/data/cloe-engine/0.19.0-nightly/cloe/develop/package/3d2a86e42cd77f465cd15c65fd9a958c357089de/bin/cloe-engine --no-system-confs --no-system-plugins --level debug run --no-write-output --require-success  test_vtd_smoketest_osi.json
   ---
   II 13:53:40.068 [cloe] Cloe 0.19.0-nightly
   DD 13:53:40.069 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-basic/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib/cloe/controller_basic.so
   DD 13:53:40.069 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-gndtruth-extractor/0.19.0-nightly/cloe/develop/package/903583978ca3285b74969f2044f61052ec234376/lib/cloe/controller_gndtruth_extractor.so
   DD 13:53:40.070 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-minimator/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe/simulator_minimator.so
   DD 13:53:40.070 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-mocks/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe/controller_demo_stuck.so
   DD 13:53:40.070 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-mocks/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe/controller_demo_printer.so
   DD 13:53:40.071 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-noisy-sensor/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib/cloe/component_noisy_lane_sensor.so
   DD 13:53:40.071 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-noisy-sensor/0.19.0-nightly/cloe/develop/package/7b94a6bc0657606975612fffafe59fbe7d021011/lib/cloe/component_noisy_object_sensor.so
   DD 13:53:40.071 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-speedometer/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe/component_speedometer.so
   DD 13:53:40.071 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-virtue/0.19.0-nightly/cloe/develop/package/846af5051eb9001e66aa8b793bfcac77bce3f061/lib/cloe/controller_virtue.so
   DD 13:53:40.072 [cloe] Load plugin /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/lib/cloe/simulator_vtd.so
   II 13:53:40.077 [cloe] Include conf: bootstrap_vtd.json
   II 13:53:40.079 [cloe] Include conf: config_vtd_smoketest_osi.json
   II 13:53:40.079 [cloe] Include conf: config_vtd_infinite_osi.json
   II 13:53:40.080 [cloe] Include conf: controller_virtue.json
   II 13:53:40.081 [cloe] Include conf: controller_basic.json
   II 13:53:40.095 [cloe] Run: /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/bin/vtd-launch stop
   II 13:53:40.146 [cloe] Run: /home/cassva/.conan/data/cloe-plugin-vtd/0.19.0-nightly/cloe/develop/package/32b4cb9a7245ec5a06e0acb57555a664d696179e/bin/vtd-launch -l /tmp/vtd.log start --vtd-setup-cloe Cloe.noGUInoIG --vtd-project /home/cassva/work/cloe/tests/../plugins/vtd/contrib/projects/cloe_tests
   II 13:53:40.264 [cloe] Initializing simulation...
   DD 13:53:40.264 [cloe] Register static endpoint:   /
   DD 13:53:40.264 [cloe] Register static endpoint:   /index.html
   DD 13:53:40.264 [cloe] Register static endpoint:   /cloe_16x16.png
   DD 13:53:40.264 [cloe] Register static endpoint:   /cloe.svg
   DD 13:53:40.264 [cloe] Register static endpoint:   /bootstrap.css
   DD 13:53:40.264 [cloe] Register static endpoint:   /api/uuid
   DD 13:53:40.264 [cloe] Register static endpoint:   /api/version
   DD 13:53:40.264 [cloe] Register buffered endpoint: /api/progress
   DD 13:53:40.264 [cloe] Register dynamic endpoint:  /api/configuration
   DD 13:53:40.264 [cloe] Register buffered endpoint: /api/simulation
   DD 13:53:40.265 [cloe] Register buffered endpoint: /api/statistics
   DD 13:53:40.265 [cloe] Register static endpoint:   /api/plugins
   DD 13:53:40.265 [cloe] Register static endpoint:   /api/endpoints
   DD 13:53:40.265 [cloe] Register static endpoint:   /api/triggers/actions
   DD 13:53:40.265 [cloe] Register static endpoint:   /api/triggers/events
   DD 13:53:40.265 [cloe] Register buffered endpoint: /api/triggers/history
   DD 13:53:40.265 [cloe] Register buffered endpoint: /api/triggers/queue
   DD 13:53:40.265 [cloe] Register static endpoint:   /api/triggers/input
   DD 13:53:40.265 [cloe] Register event: start
   DD 13:53:40.265 [cloe] Register event: stop
   DD 13:53:40.265 [cloe] Register event: success
   DD 13:53:40.265 [cloe] Register event: failure
   DD 13:53:40.265 [cloe] Register event: reset
   DD 13:53:40.265 [cloe] Register event: pause
   DD 13:53:40.265 [cloe] Register event: resume
   DD 13:53:40.265 [cloe] Register event: time
   DD 13:53:40.265 [cloe] Register event: next
   DD 13:53:40.265 [cloe] Register action: pause
   DD 13:53:40.265 [cloe] Register action: resume
   DD 13:53:40.265 [cloe] Register action: stop
   DD 13:53:40.265 [cloe] Register action: reset
   DD 13:53:40.265 [cloe] Register action: fail
   DD 13:53:40.265 [cloe] Register action: succeed
   DD 13:53:40.265 [cloe] Register action: keep_alive
   DD 13:53:40.265 [cloe] Register action: realtime_factor
   DD 13:53:40.265 [cloe] Register action: reset_statistics
   DD 13:53:40.265 [cloe] Register action: command
   DD 13:53:40.265 [cloe] Register action: bundle
   DD 13:53:40.265 [cloe] Register action: insert
   DD 13:53:40.265 [cloe] Register action: log
   DD 13:53:40.265 [cloe] Register action: push_release
   II 13:53:40.265 [cloe] Configure simulator vtd
   II 13:53:40.266 [vtd] Connecting...
   II 13:53:40.266 [vtd/scp] ScpTransceiver connect tcp://localhost:54345
   II 13:53:41.267 [vtd/scp] ScpTransceiver connect tcp://localhost:54345 [attempt 2/61]
   II 13:53:42.268 [vtd/scp] ScpTransceiver connect tcp://localhost:54345 [attempt 3/61]
   II 13:53:43.269 [vtd/scp] ScpTransceiver connect tcp://localhost:54345 [attempt 4/61]
   II 13:53:43.270 [vtd/scp] ScpTransceiver connect tcp://localhost:48179
   II 13:53:46.271 [vtd] Wait for task control...
   II 13:53:47.474 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48190
   II 13:53:48.084 [vtd] Starting scenario: acc.xml
   II 13:53:51.087 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48190
   II 13:53:51.790 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48196
   DD 13:53:51.891 [vtd/sensors] Opening RDB channel 48197 for sensor camera
   II 13:53:51.891 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48197
   DD 13:53:51.992 [vtd/sensors] Opening RDB channel 48198 for sensor front_radar
   II 13:53:51.992 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48198
   DD 13:53:52.094 [vtd/sensors] Opening TCP channel 48199 for OSI sensor osi_sensor
   II 13:53:52.094 [vtd/osi] OsiTransceiverTcp connect tcp://localhost:48199
   DD 13:53:52.197 [vtd/sensors] Opening RDB channel 48200 for sensor rear_radar
   II 13:53:52.197 [vtd/rdb] RdbTransceiverTcp connect tcp://localhost:48200
   II 13:53:52.198 [vtd] Agent vehicle Ego with id 1 was created
   DD 13:53:52.201 [vtd] Cannot apply SCP <Set> command without an ID attribute.
   DD 13:53:52.208 [vtd] Cannot apply SCP <Set> command without an ID attribute.
   II 13:53:52.816 [vtd] VTD Started.
   II 13:53:52.816 [vtd] Connected.
   DD 13:53:52.816 [cloe] Register buffered endpoint: /api/simulators/vtd/state
   DD 13:53:52.824 [cloe] Register buffered endpoint: /api/simulators/vtd/configuration
   DD 13:53:52.826 [cloe] Register buffered endpoint: /api/simulators/vtd/statistics
   DD 13:53:52.827 [cloe] Register static endpoint:   /api/simulators
   II 13:53:52.827 [cloe] Configure vehicle default
   DD 13:53:52.828 [cloe] Register event: default_speed/kmph
   DD 13:53:52.828 [cloe] Register buffered endpoint: /api/vehicles/default
   DD 13:53:52.832 [cloe] Register static endpoint:   /api/vehicles
   II 13:53:52.832 [cloe] Configure controller virtue
   DD 13:53:52.832 [cloe] Register event: virtue/failure
   DD 13:53:52.832 [cloe] Register event: virtue/irrational
   DD 13:53:52.832 [cloe] Register event: virtue/unsafe
   DD 13:53:52.832 [cloe] Register event: virtue/missing_lane_boundaries
   II 13:53:52.832 [cloe] Configure controller basic
   DD 13:53:52.833 [cloe] Register action: basic/hmi
   DD 13:53:52.833 [cloe] Register buffered endpoint: /api/controllers/basic/configuration
   DD 13:53:52.833 [cloe] Register dynamic endpoint:  /api/controllers/basic/configuration/acc
   DD 13:53:52.833 [cloe] Register dynamic endpoint:  /api/controllers/basic/configuration/aeb
   DD 13:53:52.833 [cloe] Register dynamic endpoint:  /api/controllers/basic/configuration/lka
   DD 13:53:52.833 [cloe] Register buffered endpoint: /api/controllers/basic/state
   DD 13:53:52.834 [cloe] Register buffered endpoint: /api/controllers/basic/hmi
   DD 13:53:52.834 [cloe] Register dynamic endpoint:  /api/controllers/basic/hmi/set
   DD 13:53:52.834 [cloe] Register buffered endpoint: /api/controllers/basic/vehicle
   DD 13:53:52.836 [cloe] Register static endpoint:   /api/controllers/basic/ui
   DD 13:53:52.837 [cloe] Register static endpoint:   /api/controllers
   II 13:53:52.837 [cloe] Simulation initialization complete.
   II 13:53:52.837 [cloe] Starting simulation...
   DD 13:53:52.838 [cloe] Insert trigger {"action":{"actions":[{"enable":false,"name":"basic/hmi"}],"name":"bundle"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.838 [cloe] Insert trigger {"action":{"enable":true,"name":"basic/hmi"},"event":{"name":"next","time":1.0},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.838 [cloe] Insert trigger {"action":{"name":"basic/hmi","resume":true},"event":{"name":"time","time":5.0},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"name":"basic/hmi","resume":false},"event":{"name":"time","time":5.5},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"name":"insert","triggers":[{"action":"basic/hmi=plus","event":"next"},{"action":"basic/hmi=!plus","event":"next=1"}]},"event":{"name":"time","time":6.0},"label":"Push and release basic/hmi=plus","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"name":"fail"},"event":{"name":"virtue/failure"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"level":"info","msg":"Running vtd/osi smoketest.","name":"log"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"factor":-1.0,"name":"realtime_factor"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"name":"fail"},"event":{"is":">50.0","name":"default_speed/kmph"},"label":"Vehicle default should not reach 50 km/h with the vtd binding and basic controller.","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.839 [cloe] Insert trigger {"action":{"name":"succeed"},"event":{"name":"time","time":15.0},"label":"","since":"0ns","source":"filesystem","sticky":false}
   II 13:53:52.839 [cloe] Set simulation ETA to 15s
   DD 13:53:52.839 [cloe] Execute trigger {"action":{"actions":[{"enable":false,"name":"basic/hmi"}],"name":"bundle"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   DD 13:53:52.840 [cloe] Execute trigger {"action":{"level":"info","msg":"Running vtd/osi smoketest.","name":"log"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   II 13:53:52.840 [cloe/action/log] Running vtd/osi smoketest.
   DD 13:53:52.840 [cloe] Execute trigger {"action":{"factor":-1.0,"name":"realtime_factor"},"event":{"name":"start"},"label":"","since":"0ns","source":"filesystem","sticky":false}
   II 13:53:52.840 [cloe/action/realtime_factor] Setting target simulation speed: -1
   II 13:53:52.855 [vtd/osi] OsiOmniSensor: last_measurement_time not available in SensorData.
   CC 13:53:52.855 [cloe] Fatal error in STEP_SIMULATORS state: OSI message: BaseMoving/MountingPosition::orientation required!
   Error: OSI message: BaseMoving/MountingPosition::orientation required!

   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   Fatal error:

       OSI message: BaseMoving/MountingPosition::orientation required!

   Consider inspecting the core dump for more information.
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

   terminate called after throwing an instance of 'cloe::ConcludedError'
     what():  OSI message: BaseMoving/MountingPosition::orientation required!
@cassava
Copy link
Contributor Author

cassava commented May 30, 2022

Only happens when compiled with Debug profile.

@tobifalk
Copy link
Contributor

I suspect that this is caused by the OSMP example sensor not providing object orientation, just position (s, here). Note that we need to patch the sensor anyway, so we could add the data expected by Cloe to the sensor output.

@cassava cassava added the bug Something isn't working label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants