Skip to main content

VTSDeviceFinder()

Constructor | VTSDeviceFinder Class

📖 Method Description

Instantiate the VTSDeviceFinder class for finding and managing Vitai vision-based tactile sensor devices. This class provides core functionality for device discovery, enumeration, and access.


📝 Syntax

from pyvitaisdk import VTSDeviceFinder

finder = VTSDeviceFinder()

🔧 Parameters

No parameters


📤 Return Type

VTSDeviceFinder - Device finder instance object


💡 Example Code

from pyvitaisdk import VTSDeviceFinder

# Create VTSDeviceFinder instance
finder = VTSDeviceFinder()

# Get all connected devices
devices = finder.get_devices()
print(f"Found {len(devices)} device(s)")

# Get device count
count = finder.count()
print(f"Device count: {count}")

⚠️ Notes

Usage Recommendations
  • Create a VTSDeviceFinder instance at the beginning of your program
  • Use the instance's methods to find and access devices
Prerequisites
  • Ensure the pyvitaisdk package is properly installed
  • Ensure sensor devices are properly connected to the computer