ProTee Golf Interface SDK

The ProTee Golf interface supports external data as input. This enables hardware manufacturers, enthousiasts or engineers to connect any kind of analysis equipement with ProTee Golf Software.

The ProTee Golf Interface allows communication via TCP/IP (localhost) on port 9090 (default).

The default port is set to 9090 but can be changed in the advanced settings of the ProTee Golf interface.

# External_data_port:
# Portnumber of the external source; receive data from this device
External_data_port=9090


Example JSON Data Stream (input):

{"protocol":"PROTEE", "info":{"device":"EXT","units":"MPH"},"data":{"counter":"1", "shotnumber":"1","clubspeed":"126","clubface":"4.45", "clubpath":"-5.51","sweetspot":"0","ballspeed":"11.26", "ballpath":"5.24","launchangle":"45.63","backspin":"1820", "sidespin":"-1993","drag":"0.09","carry":"3.65"}}


Parameters:

protocol
Protocol identifier. Must be set to PROTEE.
Example: PROTEE
protocol
Protocol identifier. Must be set to EXT.
Example: EXT
counter
counter per shot. Must count upwards!
Example: "100"
shotnumber
counter per shot. Must count upwards!
Example: "100"
clubspeed
Clubspeed in MPH
Example: 74.3
clubpath
Swingpath in DEGREES
Example: -5.5 (5.5 degrees inside out) or 5 (5 degrees outside in)
clubface
Club face angle in DEGREES
Example: -4 (closed 4 degrees) or -2 (open 2 degrees)
sweetspot
Sweetspot deviation in mm
Example: -5 (5mm left) or 2 (2mm right)
ballspeed
Ballspeed in MPH
Example: 100
launchangle
Ball Launch Angle in DEGREES
Example: 24.6 (rounds up to 25 degrees)
ballpath
Ballpath in DEGREES
Example: 2 (2 degrees right) or -5 (5 degrees left)
backspin
Backspin in RPM
Example: 3440
sidespin
Sidepsin in RPM
Example: -300 (300 RPM left) or 500 (500 RPM right)


The SDK returns the following game status information every 1 second:

{"protocol":"ProTeeSendData", "info":{"device":"PTMat", "version":"3.15z8"}, "data":{"club_small":"I1", "distance_to_flag":" 1000", "surface":"Tee", "handed_player":"right", "playerName":"Default player", "courseName":"", "tourName":""}}

 

Please note: The ProTee Golf SDK is NOT supported!

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk