Skip to content

Commit

Permalink
Using urdf/model.hpp for rolling (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul-py authored Jan 7, 2025
1 parent d8a21c4 commit 6e1059c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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 "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 6e1059c

Please sign in to comment.