Announcement

Collapse
No announcement yet.

The S Language of MECHA explained

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hi Dorin

    S=0,1=43_-105,
    =_35,6
    =-14_0,
    =_-35,5=,
    =0_105

    I'm using the S language.
    We're doing panoramic work on only a few sections.
    If you specify it in Preset No. 3 and run "3>", it will stop in the middle without being shot to the end.

    It works fine using the UI on the mobile.

    What could be the problem?

    Click image for larger version

Name:	Button 3 프리셋 에러.jpg
Views:	31
Size:	631.7 KB
ID:	33711
    Attached Files

    Comment


    • Hi,
      as you have a script in S-Language
      S=0,1=43_-105, =_35,6 =-14_0, =_-35,5=, =0_105
      will stop when reaches the end

      if you notice that is stops before, then please set the [Shots] or [ x ] to a large value,
      e.g. 50 or 1000, it doesn't matter how big it just need to be larger enough to not stop before.
      S-Langauge uses some moves internally I could fix but S-Lang is the base for all the MECHA movements and will break other movements like for partial panoramas,

      For now until the new raw interface is available with different way of handling the movement
      please set large number of shots when using S-Lang,
      MECHA will do only the shoots scripted anyway.

      As for being different from UI and Button 3,
      please use [Save 3] when saving presets for button 3

      Tested the script with [50 Shots] and [x 50] and [Save 3] button and works OK both UI and by button [3]
      1. Mecha it possible.
      2. Mecha it easy.
      3. Mecha team up.

      4. ..

      Comment


      • Originally posted by DorinDXN View Post
        Hi,
        as you have a script in S-Language
        S=0,1=43_-105, =_35,6 =-14_0, =_-35,5=, =0_105
        will stop when reaches the end

        if you notice that is stops before, then please set the [Shots] or [ x ] to a large value,
        e.g. 50 or 1000, it doesn't matter how big it just need to be larger enough to not stop before.
        S-Langauge uses some moves internally I could fix but S-Lang is the base for all the MECHA movements and will break other movements like for partial panoramas,

        For now until the new raw interface is available with different way of handling the movement
        please set large number of shots when using S-Lang,
        MECHA will do only the shoots scripted anyway.

        As for being different from UI and Button 3,
        please use [Save 3] when saving presets for button 3

        Tested the script with [50 Shots] and [x 50] and [Save 3] button and works OK both UI and by button [3]
        Thank you.
        I changed "13 shots" to "15 shots" and it works well.

        The problem is, what works in UI doesn't work with buttons.

        If it didn't work in the UI, I would have set it to "15 Shots". Click image for larger version

Name:	Button 3 프리셋 에러 해결.jpg
Views:	23
Size:	485.1 KB
ID:	33715

        Comment


        • Hi Dorin
          I would like to create a preset in MECHA Single Axis as follows.

          1. Start at 0 Degree
          2. 75 degrees to the left
          3. Repeat shooting 4 times each 25 degrees after 1 shoot
          4. After repeated shooting, go to the starting position (0 degrees) and pause.
          5. Press the ">" button, 75 degrees to the left
          6. Repeat shooting 4 times each 25 degrees after 1 shoot
          7. After repeated shooting, move to the starting position (0 degrees) and pause.

          What should I do with S language?

          Comment


          • is there a shoot at 0 deg?
            1. Mecha it possible.
            2. Mecha it easy.
            3. Mecha team up.

            4. ..

            Comment


            • Originally posted by DorinDXN View Post
              is there a shoot at 0 deg?
              No, only the location changes.

              Comment


              • S-Language don't understand the "No shot and pause" yet, so this will not work on C2
                if used on DAC you need to power only MECHA H

                On single MECHA C1

                this will work as it tricking MECHA there is a second axis with manual confirmation

                [ 1000 Shots ]


                ---------------------

                S=0,1=(0_-75,=_25,4=0*_-25,=0*^1_0,=_-75),=

                ---------------------

                =0*^1_0
                Script says - at that position is no shoot (0*)
                MECHA - OK, then I'll move forward, cannot pause BTW
                Script - I understand, please also increment second axis by 1° (^1)
                MECHA - OK, but I don't seem to have a second axis so I'll wait manual confirmation with [>] , again note that I cannot pause here..
                Script - good enough for me..
                ..

                those robots.. ;)
                1. Mecha it possible.
                2. Mecha it easy.
                3. Mecha team up.

                4. ..

                Comment


                • Thank you.
                  Mecha moves the way I want.

                  Comment

                  Working...
                  X