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

Samuel Anudeep's profile - activity

2013-10-30 20:32:21 -0500 commented answer Is there a rosnetwork? Or similar?

Correct me if I'm wrong, but ROS uses TCP underneath right? In that case, wouldn't there be a chance of a port clash?

2013-10-30 20:12:23 -0500 commented answer Specify TCP port communication between a ROS node and a none ROS exe

Correct me if I'm wrong, but ROS uses TCP underneath right? In that case, wouldn't there be a chance of a port clash?

2013-10-25 22:40:39 -0500 answered a question ROS timestamps

You can alternatively use the ApproximateTime synchronization policy.

message_filters::Subscriber<nav_msgs::Path> traj_lane_sub(n, "traj_lane", 10);
message_filters::Subscriber<geometry_msgs::PoseStamped> pose_sub(n, "pose", 100);

typedef sync_policies::ApproximateTime<nav_msgs::Path, geometry_msgs::PoseStamped> MySyncPolicy;
Synchronizer<MySyncPolicy> sync(MySyncPolicy(100), traj_lane_sub, pose_sub);

sync.registerCallback(boost::bind(&plan, _1, _2));
2013-05-08 18:25:41 -0500 received badge  Supporter (source)