Skip to content

Commit

Permalink
Detail why we use relative path in a single place
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
  • Loading branch information
j-rivero committed Aug 30, 2023
1 parent ed692cd commit ad05aa6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/urdf/urdf_parser/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
#pragma warning(push, 0)

#include <vector>
// Use relative path to avoid confusion with urdf system headers (if present).
// The change to the relative path is only required to be present in this
// file given how MSVC include headers. See:
// https://github.com/gazebosim/sdformat/pull/1259/files#r1149821498
#include "../urdf_parser/urdf_parser.h"
// #include <console_bridge/console.h>
#include <fstream>
Expand Down

0 comments on commit ad05aa6

Please sign in to comment.