Skip to content

Commit

Permalink
Add conditional include
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass authored Oct 1, 2024
1 parent 7c5229e commit dc33d06
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/srdfdom/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@
#define SRDF_MODEL_

#include <map>
#include <memory>
#include <string>
#include <vector>
#include <utility>

#include <rclcpp/version.h>
#if RCLCPP_VERSION_GTE(28, 3, 3) // Rolling
#include <urdf/model.hpp>
#include <memory>
#else
#include <urdf/model.h>
#endif
#include <tinyxml2.h>

#include "visibility_control.h"
Expand Down

0 comments on commit dc33d06

Please sign in to comment.