1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Lesson VRC Input - Source Code and Application

Discussion in 'Tutorials and Tips by the Developer' started by yobuddy, Sep 12, 2018.

  1. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,788
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    33,945Coins
    Ratings:
    +3,938 / 10 / -0
    VRC Input (Video Ride Creator Input) is a little example app designed to show how live telemetry recording works in the Video Ride Creator.
    With this little test app you can draw telemetry for a video while it is being played.
    So there is no reason to have to move all of the telemetry points by hand.

    Here you can turn output on and off, select the input you wish to write the telemetry for, and use the slider to adjust the value while the video is playing.
    23.jpg


    To setup the Video Ride Recorder to use the Input app, take a look at the following settings.
    First, open your video file and adjust the play speed of the file. (all files I have tried work except for .mpg’s)
    Set the play speed to something you can actually keep up with. (I suggest 20% to start with.)

    11.jpg

    Now select which input you will record first and deselect all the other telemetry points so you can clearly see what is happening.
    Once you have de-selected all but one telemetry line, press the REC button in the bottom left of the screen.

    12.jpg

    If you wish to actually see a bit of the line you are drawing while the video is being played you can adjust the offset during the recording like so.
    (But be sure to set the offset back before saving the file!)

    13.jpg

    Now open VRC Input and turn it on, you will see that you can move a point on the screen of the Video Ride Recorder.

    Press play on the video and carefully draw the telemetry you need for the input you are using.
    Once the video is over, make sure the recording is off, touch up anything you need to by hand, and save the file. (Remember to put offset back to zero first!)

    Download the test application here:
    VRCInput_Executable.zip

    Download the Source Code for the application here:
    VRCInput_SourceCode.zip

    I really hope to see some unique input device applications made.
    Whether they be for a Anolog Joystick or an Nintendo Nunchuck, with the source available, anything is possible!

    Take care!
    yobuddy
    • Like Like x 1
    • Winner Winner x 1
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. Mu-KwangKim

    Mu-KwangKim Member SimAxe Beta Tester Gold Contributor

    Joined:
    Mar 14, 2012
    Messages:
    76
    Location:
    South, Korea
    Balance:
    - 492Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, SCN5, SCN6, Motion platform, 4DOF, 6DOF
    The sample version does not seem to be able to manipulate the slide with the joystick.

    Do I have to create a separate VRCInput to use it as a joystick?




  4. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,788
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    33,945Coins
    Ratings:
    +3,938 / 10 / -0
    Hi @Mu-KwangKim,
    There is an example app, and the source code posted.
    The example app that is posted uses a slider for input, but the idea could be extended to anything really.
    Full source code showing how the input works is also posted to play with and extend to anything needed.
    Take care buddy!
    Dustin