Ask Your Question
0

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

asked 2014-11-25 10:52:47 -0500

leobber gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-25 10:58:46 -0500

dornhege gravatar image

Basically everything under /mobile_base/sensors/ although some are redundant/processed.

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-11-25 10:52:47 -0500

Seen: 109 times

Last updated: Nov 25 '14