taking a pic with pylon camera [closed]
*Using Kinetic
After starting this what do I need to do to take a pic and save to disk:
roslaunch pylon_camera/launch/pylon_camera_node.launch
I tried using grab_and_save_image_action_server.py
but it seems you need to write an action client and also the action server seems to be private given the ~ (tilde)
self._grab_and_save_img_raw_as = SimpleActionServer(
"~grab_and_save_image_raw",
GrabAndSaveImageAction,
execute_cb=self.grab_and_save_img_raw_execute_cb,
auto_start=False)
Thank you!
Take a look at #q10845 (though it would be nice to have an rqt axclient, the existing one works okay)
I suppose I don't know who to interact with this action server. Apparently the namespace is private (~) so it seems that outside clients cannot post Goals to it.
if you do
rostopic list | grep goal
you'll see where the namespaces of all the action servers are.I think you misunderstand the meaning of 'private' here. The '~' only means that the action will be attached to the namespace of the node, so that everyone(!) can reach the action at "/grab_and_save_image_action_server/grab_and_save_image_raw/goal" instead of "/grab_and_save_image_raw/goal"