Skip to content

Commit

Permalink
Fix missing virtual of on_export_[state|command]_interfaces methods (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TakashiSato authored Nov 27, 2024
1 parent 41d7393 commit e284af2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
*
* \return vector of shared pointers to the created and stored StateInterfaces
*/
std::vector<StateInterface::ConstSharedPtr> on_export_state_interfaces()
virtual std::vector<StateInterface::ConstSharedPtr> on_export_state_interfaces()
{
// import the unlisted interfaces
std::vector<hardware_interface::InterfaceDescription> unlisted_interface_descriptions =
Expand Down Expand Up @@ -270,7 +270,7 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
*
* \return vector of shared pointers to the created and stored CommandInterfaces
*/
std::vector<CommandInterface::SharedPtr> on_export_command_interfaces()
virtual std::vector<CommandInterface::SharedPtr> on_export_command_interfaces()
{
// import the unlisted interfaces
std::vector<hardware_interface::InterfaceDescription> unlisted_interface_descriptions =
Expand Down

0 comments on commit e284af2

Please sign in to comment.