ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I don't remember when explicitly using the template keyword is needed, but it sometimes is. Did you try with ?

  subscription_ = node_->template create_subscription<ROSMSG>(topic, 10, callback);

Reference https://en.cppreference.com/w/cpp/language/dependent_name