Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera Control Widget #52

Closed
jfgilliam opened this issue Jul 27, 2016 · 1 comment

Comments

@jfgilliam
Copy link
Contributor

commented Jul 27, 2016

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.

@jfgilliam

This comment has been minimized.

Copy link
Contributor Author

commented May 6, 2017

Created new widget called CameraSelector. Added it to the Spotter and Broadcaster Apps.
New APIs added:
/Session/setCamera/(CAMERA)/(FOCUSON)/(CARIDENTIFIER)
/Session/setCamera/(FOCUSON)/(CARIDENTIFIER)

jfgilliam added a commit to SIMRacingApps/SIMRacingAppsWebContent that referenced this issue May 9, 2017

1. TeamSpeak
       Added the ability to disable the TeamSpeak integration. 
       Add/update the following to the settings.txt file.
         teamspeak = N
           
    2. Voice Attack Profile
       - Added a command for the leader of your class "Leader Class"
       - Changed Ahead/Behind and Class commands to be by position
instead of relative.
         This way when a lap down it will talk about the cars you're
competing with.
         The old commands are still there, just renamed to "Ahead/Behind
Relative".
         
    3. Fixed #94
(SIMRacingApps/SIMRacingApps#94)
       iRacing Replay missing some telemetry values. 
       Now takes Position, LapCompleted from replay.
       Please note that there are many values missing from the replay
       or they are the session ending values and will not change.

    4. Closed #52
(SIMRacingApps/SIMRacingApps#52)
       Closed #95
(SIMRacingApps/SIMRacingApps#95)
       Camera Control Widget created called CameraSelector.
       It is stand alone and embedded in the Spotter/Broadcaster App.
       You can select up to 20 cameras with ability to focus on the
leader, crashes, exciting, or a driver.
       New APIs added:
           /Session/setCamera/(CAMERA)/(FOCUSON)/(CARIDENTIFIER)
           /Session/setCamera/(FOCUSON)/(CARIDENTIFIER)

    5. Closed #99
(SIMRacingApps/SIMRacingApps#99)
       New Replay Controller Widget
       New APIs added"
            /Session/Replay
            /Session/setReplay/(COMMAND)
            /Session/setReplayPosition/(COMMAND)

jfgilliam added a commit to SIMRacingApps/SIMRacingAppsSIMPluginiRacing that referenced this issue May 9, 2017

1. TeamSpeak
       Added the ability to disable the TeamSpeak integration. 
       Add/update the following to the settings.txt file.
         teamspeak = N
         
    2. Voice Attack Profile
       - Added a command for the leader of your class "Leader Class"
       - Changed Ahead/Behind and their Class commands to be by position
instead of relative.
         This way when you're a lap down it will talk about the cars
you're competing with.
         The old commands are still there, just renamed to "Ahead/Behind
Relative".
       
    3. Fixed #94
(SIMRacingApps/SIMRacingApps#94)
       iRacing Replay missing some telemetry values. 
       Now takes Position, LapCompleted from replay.
       Please note that there are many values missing from the replay
       or they are the session ending values and will not change.
       
    4. Closed #52
(SIMRacingApps/SIMRacingApps#52)
       Closed #95
(SIMRacingApps/SIMRacingApps#95)
       Camera Control Widget created called CameraSelector.
       It is stand alone and embedded in the Spotter/Broadcaster App.
       You can select up to 20 cameras with ability to focus on the
leader, crashes, exciting, or a driver.
       New APIs added:
            /Session/setCamera/(CAMERA)/(FOCUSON)/(CARIDENTIFIER)
            /Session/setCamera/(FOCUSON)/(CARIDENTIFIER)
           
    5. Closed #99
(SIMRacingApps/SIMRacingApps#99)
       New Replay Controller Widget
       New APIs added"
            /Session/Replay
            /Session/setReplay/(COMMAND)
            /Session/setReplayPosition/(COMMAND)

jfgilliam added a commit to SIMRacingApps/SIMRacingAppsServer that referenced this issue May 9, 2017

1. TeamSpeak
       Added the ability to disable the TeamSpeak integration. 
       Add/update the following to the settings.txt file.
         teamspeak = N
         
    2. Voice Attack Profile
       - Added a command for the leader of your class "Leader Class"
       - Changed Ahead/Behind and their Class commands to be by position
instead of relative.
         This way when you're a lap down it will talk about the cars
you're competing with.
         The old commands are still there, just renamed to "Ahead/Behind
Relative".
       
    3. Fixed #94
(SIMRacingApps/SIMRacingApps#94)
       iRacing Replay missing some telemetry values. 
       Now takes Position, LapCompleted from replay.
       Please note that there are many values missing from the replay
       or they are the session ending values and will not change.
       
    4. Closed #52
(SIMRacingApps/SIMRacingApps#52)
       Closed #95
(SIMRacingApps/SIMRacingApps#95)
       Camera Control Widget created called CameraSelector.
       It is stand alone and embedded in the Spotter/Broadcaster App.
       You can select up to 20 cameras with ability to focus on the
leader, crashes, exciting, or a driver.
       New APIs added:
            /Session/setCamera/(CAMERA)/(FOCUSON)/(CARIDENTIFIER)
            /Session/setCamera/(FOCUSON)/(CARIDENTIFIER)
           
    5. Closed #99
(SIMRacingApps/SIMRacingApps#99)
       New Replay Controller Widget
       New APIs added"
            /Session/Replay
            /Session/setReplay/(COMMAND)
            /Session/setReplayPosition/(COMMAND)

@jfgilliam jfgilliam closed this in 285755f May 9, 2017

jfgilliam added a commit that referenced this issue May 11, 2017

1. TeamSpeak
       Added the ability to disable the TeamSpeak integration. 
       Add/update the following to the settings.txt file.
         teamspeak = N
         
    2. Voice Attack Profile
       - Added a command for the leader of your class "Leader Class"
       - Changed Ahead/Behind and their Class commands to be by position
instead of relative.
         This way when you're a lap down it will talk about the cars
you're competing with.
         The old commands are still there, just renamed to "Ahead/Behind
Relative".
       
    3. Fixed #94
(#94)
       iRacing Replay missing some telemetry values. 
       Now takes Position, LapCompleted from replay.
       Please note that there are many values missing from the replay
       or they are the session ending values and will not change.
       
    4. Closed #52
(#52)
       Closed #95
(#95)
       Camera Control Widget created called CameraSelector.
       It is stand alone and embedded in the Spotter/Broadcaster App.
       You can select up to 20 cameras with ability to focus on the
leader, crashes, exciting, or a driver.
       New APIs added:
            /Session/setCamera/(CAMERA)/(FOCUSON)/(CARIDENTIFIER)
            /Session/setCamera/(FOCUSON)/(CARIDENTIFIER)
           
    5. Closed #99
(#99)
       New Replay Controller Widget
       New APIs added"
            /Session/Replay
            /Session/setReplay/(COMMAND)
            /Session/setReplayPosition/(COMMAND)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.