StingrayParser C++ lib. Protocol parser library for Stingray SWIR lenses

€160.00

StingrayParser C++ library version 2.0.0 is designed to help developers control Stingray SWIR lenses.

LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.

Add To Cart
Technical support service
Options:

Purchase options

You can by this software online by card or you can buy the software by bank transfer. Bank transfer available only for companies. To buy software by bank transfer please send us request to info@constantrobotics.com. Also, you can buy technical support service for this product.

Overview

StingrayParser C++ library version 2.0.0 is designed to help developers control Stingray SWIR lenses. The library includes basic methods for preparing commands (encoding) and interpreting the lens responses (decoding). It uses C++17 standard and compatible with any OS and CPU. The library provides simple interface and doesn't have third party dependencies. Also, the library provides demo application to test communication with lens via serial ports.

Downloads

Programmer’s manual: DOWNLOAD

Simple interface

class StingrayParser
{
public:
    /// Get library version.
    static std::string getVersion();

    /// Method to encode Stingray lens command.
    bool getCommand(uint8_t* data, int& size, StingrayCommand id, int arg = 0);

    /// Process response for STATUS command.
    void decodeResponse(uint8_t* data, int size,int &zoom, int &focus);
};

Prepare lens command example

// Init variables.
uint8_t buffer[256];
uint8_t size;

// Prepare zoom tele command.
StingrayParser parser;
parser.getCommand(buffer, size, StingrayCommand::ZOOM_TELE);

// Send command.
serialPort.write(buffer, size);

// Prepare focus to abs pos command.
parser.getCommand(buffer, size, StingrayCommand::FOCUS_TO_ABS_POS, 5000);

// Send command.
serialPort.write(buffer, size);
Flc C++ lib. Software controller for Fujinon CCTV lenses.
€300.00
ViscaCamera C++ lib. Software controller for VISCA protocol compatible cameras
€400.00
KowaProtocolParser C++ lib. Protocol parser library for KOWA low-light cameras.
€30.00
Olc C++ lib. Software controller for control Ophir® infrared lenses with advanced auto focus functions
€600.00
HitachiCamera C++ lib. Software controller for HITACHI CCTV cameras
€300.00