/pal_play_presentation_from_name#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/pal_play_presentation_from_name Quick Facts

Category

Touchscreen

Message type

pal_presentation_msgs/PlayPresentationFromNameAction

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /pal_play_presentation_from_name/goal pal_presentation_msgs/PlayPresentationFromNameActionActionGoal # 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_presentation_msgs.msg import *


if __name__ == "__main__":

    client = actionlib.SimpleActionClient("/pal_play_presentation_from_name", pal_presentation_msgs.msg.PlayPresentationFromNameActionAction)
    client.wait_for_server()

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

    client.send_goal(goal)
    client.wait_for_result()

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