/get_user_input
#
Caution
This documentation page has been auto-generated.
It may be missing some details.
/get_user_input
Quick Facts
- Category
- Message type
Quick snippets#
Send a goal from the command-line#
$ rostopic pub /get_user_input/goal pal_web_msgs/GetUserInputActionGoal # press Tab to complete the message prototype
Call the action from a Python script#
#!/usr/bin/env python
import rospy
import actionlib
from pal_web_msgs.msg import *
if __name__ == "__main__":
client = actionlib.SimpleActionClient("/get_user_input", pal_web_msgs.msg.GetUserInputAction)
client.wait_for_server()
# check https://github.com/pal-robotics/pal_msgs/tree/indigo-devel/pal_web_msgs/action/GetUserInput.action
# for the possible goal parameters
goal = pal_web_msgs.msg.GetUserInputGoal(param1=..., param2=...)
client.send_goal(goal)
client.wait_for_result()
rospy.loginfo("Action returned: %s" % client.get_result())
REST endpoint#
You can also access this action from a webpage displayed on the robot’s touchscreen via this endpoint:
http://ari-0c/action/get_user_input
(replace ari-0c
by the serial number of your own robot).
See REST interface for the general documentation of the REST endpoints and code samples.