Unable to load PID controller
Hi,
I am trying to write my own controller, where i want to add some PID.
#include <control_toolbox/pid.h>
control_toolbox::Pid pid_controller_;
All though it was able build but its throws an error while spawning and error looks like this
symbol lookup error: /home/bc/catkin_ws/devel/lib//libmecanum_drive_controller.so: undefined symbol: _ZN15control_toolbox3PidC1Edddddb
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/controller_manager/spawner", line 207, in <module>
if __name__ == '__main__': main()
File "/opt/ros/kinetic/lib/controller_manager/spawner", line 185, in main
resp = load_controller(name)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 435, in __call__
return self.call(*args, **kwds)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 525, in call
raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details
[INFO] [1551700891.795187]: Shutting down spawner. Stopping and unloading controllers...
[INFO] [1551700891.795507]: Stopping all controllers...