Ask Your Question
1

euslisp advertise

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

Kuniaki Saito gravatar image

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

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
1

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

Kei Okada gravatar image

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

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

Stats

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

Seen: 47 times

Last updated: Dec 05 '14