Can Bosch camera move with specific speed to a certain PAN & Tilt Position Coordinate (RCP command)?
Moving at own defined speed can ONLY be done by
• Send PAN/TILT coordinate separately + speed
• Or use continues move+speed, followed by stop command.
When using predefined presets, this ALWAYS happens at fastest speed.
How to get PAN and Tilt value:
Turn the camera in any direction or call a preset, now send below URL to read back the HEX coordinate value
OR
Convert the Position Coordinate from below globe into a HEX value so it can be used in the URLExample of 90° in HEX:
Note that 90° tilt from below globe is 0° tilt in the OSD-reading (turn on Azimuth in PTZ menu)
Example how the command is built up:
• 0x80 flag for No Return_Payload
• 0006 Bicom PTZ Server ID
• 01a2 Object ID - PositionCoordinate
• 02 Operation mode SET
Payload built up:
payload [Byte 0] = Position Upper byte
payload [Byte 1] = Position Lower byte
payload [Byte 2] = Speed Upper Byte
payload [Byte 3] = Speed Lower Byte
payload [Byte 4] = Direction Byte (00:Left, 01:Right)• 2328 Bicom Data - Position is Degrees x 100 (90° x100 = DEC 9000 to HEX 2328)
• 0014 Bicom Data - Speed is Deg/s x 100 (slowest move is 0.20° x100 = DEC 20 to HEX 0014)
• 01 PAN Direction Byte ([empty]:fastest direction, 00:Left, 01:Right)
When sending to PositionCoordinate with a certain speed you need to send PAN and TILT separately
Below there are some examples (adapt the red text with your details):
Tilt
Pan
Send PAN&TILT Position Coordinate RCP command via curl command line Password example:
Example:
Copy/Paste below at ones in CMD (CommandLine), and the camera will also move diagonal. Both commands will parallel be processed by the camera, not serial
How to check if the camera reached its position:
• Use the very first point of this document and read back if the coordinate has been reached
• Other way is to check the motor status
Below it is an example about how this command is used in a script:
Nice to know: