Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Camera Control Widget #52
Create a Camera Control Widget and ReST API to let the users control the the active camera when spotting/broadcasting. The challenge will be to create an API that works with all SIMs. As usual though, I will use iRacing as a model that all others will have to follow.
iRacing publishes around 20 camera groups. A group can have 1 or more camera's. Some cameras can focus on a particular car, while others are just scenic. Users can create their own groups and cameras. The list of groups is dynamic. Group 9 may not always be the Cockpit. The cameras in a group may not have a meaningful name, they are mostly just numbered.
The widget's functionality should allow the user to select the car to focus on (Leader or any Position?, Ahead, Behind, Last Incident, by Number). The select the group and then the camera in that group.
In addition, the CarSelector widget should change the focus of the current group/camera to that car as an option.