Running mainQt1 results in a syntax error

18 views
Skip to first unread message

Richard Jessop

unread,
Jan 17, 2019, 8:48:02 PM1/17/19
to MIXR Platform
Ideas?
-----
At line 1: syntax error
File: test.edl, number of errors: 1
=====
test.edl
-----
#line 1 "...mixr-examples/mainQt1/configs/test.epp"


( QtStation

    ownship: player1
#line 6 "...mixr-examples/mainQt1/configs/test.epp"
#line 1 "scenario.epp"

simulation:
( WorldModel

    latitude: 37.0
    longitude: -116.0
    players: {

        player1:
        ( Aircraft
            id: 11
            side: blue
            type: "F-16C"
            signature: ( SigSphere radius: 2.0 )
            initXPos: ( NauticalMiles 0.25 )
            initYPos: ( NauticalMiles 0 )
            initAlt: ( Feet 5000 )
            initHeading: ( Degrees 0.0 )
            initVelocity: 250
            positionFreeze: 0
            components: {
                pilot:
                ( Autopilot )
            }
         )

         player2:
        ( Aircraft
            id: 12
            side: red
            type: "F-16C"
            signature: ( SigSphere radius: 2.0 )
            initPosition: [ 15000 0 -10000 ]
            initHeading: ( Degrees 275 )
            initVelocity: 250
            positionFreeze: 0
            components: {
                pilot:
                ( Autopilot )
            }
         )
    }
)
#line 7 "...mixr-examples/mainQt1/configs/test.epp"
)
=====

Richard Jessop

unread,
Jan 18, 2019, 2:32:36 PM1/18/19
to MIXR Platform
I got it .  The application reported a syntax error when it was that the EDL file could not be found.  The code was very straightforward.  The location of the diagnostic showed that 1 of 2 versions of a message would be output based on whether or not the EDL filename was empty.
Reply all
Reply to author
Forward
0 new messages