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
catkin build compiler error: cannot allocate an object of abstract type ‘steer_drive_controller::SteerDriveController’ because the following virtual functions are pure within ‘steer_drive_controller::SteerDriveController’
#20
Hi, I am trying to use this plugin but am having problems compiling the code. The steer_drive_controller package gives the following error:
.../steer_drive_ros/steer_drive_controller/include/steer_drive_controller/steer_drive_controller.h:42,
from /home/yl/test_ws/src/autonomous_bus/simulation/steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:48:
/opt/ros/indigo/include/class_loader/meta_object.h: In instantiation of ‘B* class_loader::class_loader_private::MetaObject<C, B>::create() const [with C = steer_drive_controller::SteerDriveController; B = controller_interface::ControllerBase]’:
.../steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:520:1: required from here
/opt/ros/indigo/include/class_loader/meta_object.h:193:17: error: cannot allocate an object of abstract type ‘steer_drive_controller::SteerDriveController’
return new C;
^
In file included from .../steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:48:0:
.../steer_drive_ros/steer_drive_controller/include/steer_drive_controller/steer_drive_controller.h:67:9: note: because the following virtual functions are pure within ‘steer_drive_controller::SteerDriveController’:
class SteerDriveController
^
I am on the kinetic branch (but I am running gazebo 7 on ros indigo). I tried with the main branch and got the same error.
Please advise and thank you!
Best regards,
Linn
The text was updated successfully, but these errors were encountered:
Hi, I am trying to use this plugin but am having problems compiling the code. The steer_drive_controller package gives the following error:
.../steer_drive_ros/steer_drive_controller/include/steer_drive_controller/steer_drive_controller.h:42,
from /home/yl/test_ws/src/autonomous_bus/simulation/steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:48:
/opt/ros/indigo/include/class_loader/meta_object.h: In instantiation of ‘B* class_loader::class_loader_private::MetaObject<C, B>::create() const [with C = steer_drive_controller::SteerDriveController; B = controller_interface::ControllerBase]’:
.../steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:520:1: required from here
/opt/ros/indigo/include/class_loader/meta_object.h:193:17: error: cannot allocate an object of abstract type ‘steer_drive_controller::SteerDriveController’
return new C;
^
In file included from .../steer_drive_ros/steer_drive_controller/src/steer_drive_controller.cpp:48:0:
.../steer_drive_ros/steer_drive_controller/include/steer_drive_controller/steer_drive_controller.h:67:9: note: because the following virtual functions are pure within ‘steer_drive_controller::SteerDriveController’:
class SteerDriveController
^
I am on the kinetic branch (but I am running gazebo 7 on ros indigo). I tried with the main branch and got the same error.
Please advise and thank you!
Best regards,
Linn
The text was updated successfully, but these errors were encountered: