ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ptz_control on p2os_driver

asked 2016-10-25 10:37:35 -0600

Jhony Ferreira gravatar image

I am working with the p2os_driver on a seekur_jr robot. (ROS-GROOVY, UBUNTU 12.04) I have successfully moved the robot with the teleop_keyboard launch. (using serial port ttyS0)

But I haven't found a way to pan,tilt and zoom the PTZ camera using p2os_driver. I've a node written by myself which publishes a PTZState msg on /ptz_control topic. When I publish a msg on /ptz_control, the /ptz_state topic changes its values either, but the camera does not move.

Maybe the commands I am sending to /ptz_control are not being effective because the ptz port configuration is wrong. The PTZ camera is a rvision connected to the COM4 (ttyS3) serial port. I would like to know what is the port the p2os_driver expects the ptz camera to be connected, and also how I could change this parameter.

I've checked the p2os_ptz.cc and p2os.cc codes to see if I could change this parameter. It appears the ptz msgs comes from the aux serial port. If it is possible, how could I configure it to communicate with ttyS3 port?

Thank you, Jhony Ferreira

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-10-31 10:40:02 -0600

ReedHedges gravatar image

updated 2016-10-31 10:41:24 -0600

I think the p2os_driver sends commands to the robot controller, which would send them to a camera. This was used a long time ago and only supports some older Sony and Canon cameras.

For the RVision SEE camera you would need a separate node to control it. The RVision SEE may support the VISCA protocol but I haven't yet found a generic ROS driver for VISCA control, unfortunately, or anything specific to the RVision SEE camera. (If you want to see how ARIA library controls the RVision camera you can look at its source code.)

If anyone knows of an existing ROS driver for RVision or VISCA please let us know.

edit flag offensive delete link more
0

answered 2017-07-03 08:32:37 -0600

So to control this RVision SEE camera using the p2os_driver for sure we need to implement a complete new node following this VISCA protocol??

Too bad that the p2os_driver does not run together with Aria... could solve my issue for now.

Or do you or anyone happen to know another way to control this camera using ROS?

Thanks in advance.

Aline

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-10-25 10:37:35 -0600

Seen: 606 times

Last updated: Jul 03 '17