ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

euslisp advertise

asked 2014-12-02 07:02:57 -0600

Kuniaki Saito gravatar image

updated 2014-12-02 07:47:33 -0600

bvbdort gravatar image

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))))))

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-04 18:06:35 -0600

Kei Okada gravatar image

updated 2014-12-05 01:55:57 -0600

gvdhoorn gravatar image

advertise-service is a service, not topic. so you can not subscribe that topic. you can only advertise-service

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-02 07:02:57 -0600

Seen: 127 times

Last updated: Dec 05 '14