ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

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
1

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

Question Tools

1 follower

Stats

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

Seen: 200 times

Last updated: Dec 05 '14