Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 54

Publisher for ardrone

$
0
0
Hi there, i have a problem with publishing sth. to the ardrone. I am using ROS Hydro and this is a part of my code for one of the publishers i am using: (in the header-file) ros::Publisher land_pub; (in cpp-file) ros::NodeHandle nh; land_pub = nh.advertise("ardrone/land", 1); (with a button-klick of my joypad i want to publish this message:) std_msgs::Empty emptymsg; land_pub.publish(emptymsg); But when i am using "rostopic echo ardrone/land" (or takeoff) nothing is published and my ardrone does nothing... but if i am publishing under this topic via terminal it works... could anybody help me solving this, please?

Viewing all articles
Browse latest Browse all 54

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>