Alturos.PanTilt 1.0.4

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Alturos.PanTilt --version 1.0.4
NuGet\Install-Package Alturos.PanTilt -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Alturos.PanTilt" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Alturos.PanTilt --version 1.0.4
#r "nuget: Alturos.PanTilt, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Alturos.PanTilt as a Cake Addin
#addin nuget:?package=Alturos.PanTilt&version=1.0.4

// Install Alturos.PanTilt as a Cake Tool
#tool nuget:?package=Alturos.PanTilt&version=1.0.4

Alturos.PanTilt

This project delivers an interface for general pan tilt communication. Additionally we deliver an implementation for Eneo VPT-601 unit. We have three different communication providers udp/tcp/serial available.

The library supports the following primary features

  • Move to absolute position
  • Move with relative speed
  • Position feedback
  • Get limits

And some Eneo special features

  • Set limits
  • Get temperature
  • Set relay

Examples

Move to position pan 50° and tilt 0° with udp communication
var ipAddress = IPAddress.Parse("192.168.1.10");
using (ICommunication communication = new UdpNetworkCommunication(ipAddress, 4003, 4003))
using (IPanTiltControl control = new EneoPanTiltControl(communication))
{
	control.PanAbsolute(50);
	control.TiltAbsolute(0);
}
Move to position pan 50° and tilt 0° with tcp communication
var ipAddress = IPAddress.Parse("192.168.1.10");
using (ICommunication communication = new TcpNetworkCommunication(new IPEndPoint(ipAddress, 4003)))
using (IPanTiltControl control = new EneoPanTiltControl(communication))
{
	control.PanAbsolute(50);
	control.TiltAbsolute(0);
}
Move to position pan 50° and tilt 0° with serial communication
var serialPort = "COM1";
using (ICommunication communication = new SerialPortCommunication(serialPort))
using (IPanTiltControl control = new EneoPanTiltControl(communication))
{
	control.PanAbsolute(80);
	control.TiltAbsolute(0);
}
Activate pt head position feedback
var serialPort = "COM1";
using (ICommunication communication = new SerialPortCommunication(serialPort))
using (IPanTiltControl control = new EneoPanTiltControl(communication))
{
	control.Start();
	Thread.Sleep(200); //delay for response, only need if you stop very fast
	var currentPosition = control.GetPosition();
	//example: {0,02/0,98}
	control.Stop();
}
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated