/pal_image_navigation_node/image_goal#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/pal_image_navigation_node/image_goal Quick Facts

Category

Navigation

Message type

pal_image_navigation_msgs/ImageGoal

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /pal_image_navigation_node/image_goal/goal pal_image_navigation_msgs/ImageGoalActionGoal # press Tab to complete the message prototype

How to use in your code#

Call the action from a Python script#
#!/usr/bin/env python

import rospy
import actionlib
from pal_image_navigation_msgs.msg import *


if __name__ == "__main__":

    client = actionlib.SimpleActionClient("/pal_image_navigation_node/image_goal", pal_image_navigation_msgs.msg.ImageGoalAction)
    client.wait_for_server()

    # check the pal_image_navigation_msgs/ImageGoalGoal message
    # definition for the possible goal parameters
    goal = pal_image_navigation_msgs.msg.ImageGoalGoal(param1=..., param2=...)

    client.send_goal(goal)
    client.wait_for_result()

    rospy.loginfo("Action returned: %s" % client.get_result())