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

efrainra7's profile - activity

2021-11-12 06:09:07 -0500 received badge  Necromancer (source)
2021-11-12 06:09:07 -0500 received badge  Teacher (source)
2014-03-25 09:14:16 -0500 received badge  Autobiographer
2014-03-25 08:31:52 -0500 answered a question can't access std_srvs

i did try this: atention for type Empty into msg and srv


for import msg

from std_msgs.msg import String, Float32, Empty

for import service - without problem Empty

import std_srvs.srv

publish message

take.publish(Empty())

call service

rospy.ServiceProxy('ardrone/flattrim', std_srvs.srv.Empty())

good luck!