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

Which topics can i use to receive all turtlebot sensors information?

$
0
0
i already have the turtlebot 2, and i want to subscribe all topics that have any information from sensors. I already subscribe the odom topic and cmd_vel topic, and i want to know which topics are lacking ---------- void odomCallback(const nav_msgs::Odometry::ConstPtr& odom) { ROS_INFO("I received odom: [%f,%f,%f]", odom->pose.pose.position.x, odom->pose.pose.position.y,odom->pose.pose.position.z); } ros::Subscriber sub_odom = nh.subscribe("odom", 1000, odomCallback); ---------- This code is right? Where can i see more subscribers to the other sensors?

Viewing all articles
Browse latest Browse all 151

Latest Images

Trending Articles



Latest Images

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