Skip to content

PTZ camera connection #43

@Jhony-Ferreira

Description

@Jhony-Ferreira

Hi,
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 PTZ_state 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions