You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I want to write a plugin to expand default hardware plugin (gazebo_ros2_control::GazeboSystem)
So I #include <gazebo_ros2_control/gazebo_system.hpp> and inherit the origin class like this class GazeboXXXExpandedSystem : public gazebo_ros2_control::GazeboSystem and then override read and write function to make my own behaiver
Question is, when I compile my plugin, the compiler throws error that classgazebo_ros2_control::GazeboSystemPrivate declared in gazebo_system.hpp is undefined.
At last I have to copy the whole definition of gazebo_ros2_control::GazeboSystemPrivate into my src make the compiler happy.
Is there any way I can do this more elegantly?
The text was updated successfully, but these errors were encountered:
Hi I want to write a plugin to expand default hardware plugin (
gazebo_ros2_control::GazeboSystem
)So I
#include <gazebo_ros2_control/gazebo_system.hpp>
and inherit the origin class like thisclass GazeboXXXExpandedSystem : public gazebo_ros2_control::GazeboSystem
and then overrideread
andwrite
function to make my own behaiverQuestion is, when I compile my plugin, the compiler throws error that class
gazebo_ros2_control::GazeboSystemPrivate
declared ingazebo_system.hpp
is undefined.At last I have to copy the whole definition of
gazebo_ros2_control::GazeboSystemPrivate
into my src make the compiler happy.Is there any way I can do this more elegantly?
The text was updated successfully, but these errors were encountered: