Skip to content

Commit

Permalink
Using urdf/model.hpp for rolling
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul-py committed Jan 5, 2025
1 parent d8a21c4 commit 15e0283
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hardware_interface/src/component_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
#include <unordered_map>
#include <vector>

#include "urdf/model.h"
#include "rclcpp/version.h"
#if RCLCPP_VERSION_GTE(29, 0, 0)
#include "urdf/model.hpp"
#else
#include "urdf/model.h"
#endif

#include "hardware_interface/component_parser.hpp"
#include "hardware_interface/hardware_info.hpp"
Expand Down

0 comments on commit 15e0283

Please sign in to comment.