euslisp advertise
I am trying to replace advertise-service function for the following subscribe..... However, I can't complete it. Please help me.
(ros::roseus "add_two_ints_server")
(ros::advertise-service "add_two_ints" roseus::AddTwoInts #'add-two-ints)
(ros::subscribe "add_two_ints" roseus::AddTwoInts #'(lambda (msg) (ros::rosinfo (format nil (send msg :data))))))