CARLA
Loading...
Searching...
No Matches
XodrExport.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include <string>
10
11#include "Frame.h"
12#include "Model.h"
13
14namespace twinmodel {
15
16 /// Serialise the model as an OpenDRIVE 1.6 document. The C++ port of
17 /// twinmodel/export/xodr.py's export_xodr.
18 std::string ExportXodr(const TwinModelData &model, const LocalFrame &frame);
19
20} // namespace twinmodel
std::string ExportXodr(const TwinModelData &model, const LocalFrame &frame)
Serialise the model as an OpenDRIVE 1.6 document.