21 from geometry_msgs.msg
import Pose2D
24 if __name__ ==
"__main__":
26 rospy.init_node(
"blocked_goal_alternative_node")
30 pose2d.x = random.uniform(-10.0, 10.0)
31 pose2d.y = random.uniform(-10.0, 10.0)
32 pose2d.theta = random.uniform(-math.pi, math.pi)
34 rospy.loginfo(
"Incoming Nav Goal")
37 (success, goal) = bga.check_nav_goal(pose2d)
39 (success, goal) = bga.check_perimeter(pose2d)