Anybody given this a test run?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tbzep
    Dazed and Confused
    • Mar 2005
    • 12833
    • TN

    #1

    Anybody given this a test run?

    Open Source (meaning free) CAD software called OpenRocket written in Java so it is multi-platform. It was written for a fellow's Master's thesis. I probably won't be home long enough until the weekend to try it out, but it looks promising. Since it is open source, anyone with the ability to do so can tweak, revise, etc.

    Read about it here. Download it and give a quick comparison to RocSim, Space Cad, WinRASP, etc. if you have the desire to do so. It's still in Beta, so there will be quirks and bugs, but judging from the comments, it's pretty nice...except for the one Mac user. I've always been a "TLAR" person, but it might be fun to play around with.
    I love sanding.
  • GregGleason
    U.S. Manned Space Program Buff
    • Mar 2009
    • 1298
    • Houston

    #2
    I started playing with it a couple of days ago. It didn't take me too long to come up with a design, yet unflown. I need to put rockets that have had altimeter flights to see how close it matches reality. It seems to be user friendly so far.

    Greg

    Comment

    • CPMcGraw
      In Memoriam
      • Mar 2005
      • 5357
      • Mobile, Alabama

      #3
      I just downloaded it and started playing with it. Thanks for the link!

      First impressions...
      • I'm not a Java fan...
      • The design side of the program has some nice features, such as the fin editor.
      • The side view is nice and clean. I think I like the layout of the text data within the view a little better.
      • The program is obviously inspired by RockSim. The general arrangement of the screen elements is the same.
      • I do like the illustrated buttons in the component selection section.
      • There is not a database of pre-defined components, so each time you create a design, you have to feed the dimensions into the dialog for that component.
      • The version I downloaded (0.9.3) has no motors defined, so you cannot run a simulation.
      • I like the graphic simulation of components that RockSim only hints at with "(M)" symbols. The dashed rectangles provide a better visualization of where the component winds up inside the body tube.
      • The saved rocket files have an interesting three-letter extension -- ork, for Open RocKet...


      The program has a long way to go, but I think the developer is on a good path. If he would change the program from an interpreted language (Java) to a true compiled language, such as C++ or Free Pascal & Lazarus, the program would run faster; it would still be cross-portable to Mac, Linux, and Windows machines using a compiled language, it just requires multiple binaries. Not really an issue.

      I'll keep an eye on it, for sure.
      Craig McGraw

      BARCLONE Rocketry -- http://barclone.rocketshoppe.com
      BARCLONE Blogsite -- http://barclone.wordpress.com
      BARCLONE Forum -- BARCLONE Forum

      BARs helping BARs

      SAM 0044
      AMA 352635

      Comment

      • tbzep
        Dazed and Confused
        • Mar 2005
        • 12833
        • TN

        #4
        Originally posted by CPMcGraw
        [*] The version I downloaded (0.9.3) has no motors defined, so you cannot run a simulation.
        It is supposed to have motors from thrustcurve.org with it. Maybe he accidentally left it out of the .jar file.

        Sounds like it might become a great little program. I hope he keeps improving on it and I also hope some folks take the source code and start tweaking. That's one cool thing about open source programs.
        I love sanding.

        Comment

        • GregGleason
          U.S. Manned Space Program Buff
          • Mar 2009
          • 1298
          • Houston

          #5
          Originally posted by CPMcGraw

          The version I downloaded (0.9.3) has no motors defined ...
          Craig,

          I appreciate your input since I am not a RockSim user (yet).

          Here is a screen shot of a design with the flight sim (some how mine had the motor data).

          Greg
          Attached Files

          Comment

          • CPMcGraw
            In Memoriam
            • Mar 2005
            • 5357
            • Mobile, Alabama

            #6
            Greg,

            I looked (again) at the sourceforge site, and it does indicate the motor files are supposed to be included. I'll dig into it deeper to see if I've missed anything in setting it up.

            RockSim is still my choice at present, but a having a good "underdog" alternative would make things very interesting...
            Craig McGraw

            BARCLONE Rocketry -- http://barclone.rocketshoppe.com
            BARCLONE Blogsite -- http://barclone.wordpress.com
            BARCLONE Forum -- BARCLONE Forum

            BARs helping BARs

            SAM 0044
            AMA 352635

            Comment

            • GregGleason
              U.S. Manned Space Program Buff
              • Mar 2009
              • 1298
              • Houston

              #7
              IIRC, I think to get the motor you had to specify on the tube that it had a motor, like a check box or something like it.

              At least with OpenRocket, no one can argue that the price is right! For a free program it seems to do a lot. However, for more complex designs it would appear that RockSim is the way to go.

              Greg

              Comment

              • sam_midkiff
                Reptilian Rocketeer
                • Oct 2007
                • 60
                • USA

                #8
                Originally posted by CPMcGraw
                I just downloaded it and started playing with it. Thanks for the link!

                First impressions...
                [list]
                <snip>
                If he would change the program from an interpreted language (Java) to a true compiled language, such as C++ or Free Pascal & Lazarus, the program would run faster; it would still be cross-portable to Mac, Linux, and Windows machines using a compiled language, it just requires multiple binaries. Not really an issue.

                I'll keep an eye on it, for sure.
                No Java that I know of interprets frequently executed and/or long running methods in a program. They are dynamically compiled at runtime. http://blogs.azulsystems.com/cliff/2...nce-again.html has an interesting discussion of Java performance by Cliff Click, a smart guy and real Java compiler/performance expert.

                Also, use the server VM for longer running apps, it provides significantly better performance that the standard VM, a point made in the above post and something I've observed in my own work.

                Sam
                Java bigot (but who still thinks computer engineers should learn to program in C.)

                Comment

                • stantonjtroy
                  Scale builder
                  • Dec 2006
                  • 208
                  • Maryland

                  #9
                  I like this thing. Rocsim is better, no question, But this is a wonderful tool in it's own right.
                  As for the motor, go to the editor and select the tube you have as a motor tube. click the tab labeled "Motor" and chk the box marked "This component is a motor mount". Now you can hit the "Select Motor" button and select your motor and delay. The major problem is that in order to change the motor you have to go back to the motor mount tube editor. Additionally, when you change the motor it futzes with the data from the first sim run. The sim data is good but it would be helpful if it showed wheather the deployment was pre or post apogee. I do like that there is an option for choosing the CP display. I wave mine set to Caliber. Stability at a glance, gotta love it. It would be nice to know by what means the CP is calculated. As this is a Beta version I can't complain at all! There is a link on the download site to report "Problems" or sugestions. I think in short order this will be a most indespensible tool.

                  Comment

                  • CPMcGraw
                    In Memoriam
                    • Mar 2005
                    • 5357
                    • Mobile, Alabama

                    #10
                    Originally posted by sam_midkiff
                    ...They are dynamically compiled at runtime...
                    Sam, that's just a fancy phrase for interpreted scripting. Java is 'pre-compiled' into an intermediate form. But it still means the computer is trying to digest pseudo-code at the instant the program is being run. Conversion from p-code into machine code is still interpretation in my book.

                    Java may be faster than a 'true' interpreted language, like the early BASICs found on many old machines, but nothing can beat the speed of good compiled code except pure machine code.

                    ...computer engineers should learn to program in C...
                    I'm a C and C++ zealot, so I do have a bias.

                    However, I am trying to comprehend Pascal, and I still have great respect for assembler code...
                    Craig McGraw

                    BARCLONE Rocketry -- http://barclone.rocketshoppe.com
                    BARCLONE Blogsite -- http://barclone.wordpress.com
                    BARCLONE Forum -- BARCLONE Forum

                    BARs helping BARs

                    SAM 0044
                    AMA 352635

                    Comment

                    • sam_midkiff
                      Reptilian Rocketeer
                      • Oct 2007
                      • 60
                      • USA

                      #11
                      Originally posted by CPMcGraw
                      Sam, that's just a fancy phrase for interpreted scripting. Java is 'pre-compiled' into an intermediate form. But it still means the computer is trying to digest pseudo-code at the instant the program is being run. Conversion from p-code into machine code is still interpretation in my book.

                      Java may be faster than a 'true' interpreted language, like the early BASICs found on many old machines, but nothing can beat the speed of good compiled code except pure machine code.



                      I'm a C and C++ zealot, so I do have a bias.

                      However, I am trying to comprehend Pascal, and I still have great respect for assembler code...
                      Java VMs actually have a compiler that is invoked at runtime on "hot" procedures to produce native, binary code. It is only done on hot procedures so as to maximize the benefits of doing a compile into native code while minimizing the overhead of compilation. Javac does compile Java source into bytecodes, which are, in most VMs initially interpreted (although IBM Research's Jikes/Jalapeno immediately did a fast translation to binary form) before being translated to native form. http://suif.stanford.edu/~jwhaley/pa...vagrande99.pdf gives a good overview of the IBM Jikes/Jalapeno VM. (Just to confuse things, there is also a Jikes Java source to bytecode compiler that also originated at IBM Research.)

                      Python (from my understanding) follows the example you give of compiling into a faster-to-interpret bytecode form, and not going any further.

                      Sam

                      Comment

                      • mycrofte
                        Trust me, it'll work!
                        • Mar 2009
                        • 1930
                        • Illinois

                        #12
                        The "C" languages should have been outlawed from college classes before they even started. It is one of the most convoluted pieces of crap I have ever seen. And it compiles 10 times bigger files than any language I've ever used.

                        I wouldn't doubt that is half the problem with newer versions of Windows. Never occurred to Microsoft (when trying to create a new OS) to go back to assembly code...

                        Comment

                        • sam_midkiff
                          Reptilian Rocketeer
                          • Oct 2007
                          • 60
                          • USA

                          #13
                          Originally posted by mycrofte
                          The "C" languages should have been outlawed from college classes before they even started. It is one of the most convoluted pieces of crap I have ever seen. And it compiles 10 times bigger files than any language I've ever used.

                          I wouldn't doubt that is half the problem with newer versions of Windows. Never occurred to Microsoft (when trying to create a new OS) to go back to assembly code...
                          I apologize for the thread drift, and unless I encounter a moment of weakness this will be my last post on the subject. Time is better spent building rockets than talking about programming languages.

                          C on a decent operating system has its place. As an instructional language, it offers the advantage and disadvantage of making students understand memory, addresses and pointers. As with everything real, there are trade-offs, and different compilers, linkers and OSes make different trade-offs and fill different needs.

                          C was developed to implement Unix. In "The Mythical Man Month", Fred Brooks explains how OS/360, at around 6 million lines of assembly code, almost killed IBM. I started at IBM Research in the fall of 1991 after their first "one-time" billion plus charge. Sometime during the next two years as IBM flirted with bankruptcy, Fran Allen (who was my second line manager) explained to me that things had been much worse during the OS/360 days. In contrast, XP had 45 million plus lines of code, and while it was late, no one talked about Microsoft going under. In my opinion, the difference between the two was the use of modern languages (largely C and C++) and development tools that enabled a more distributed development model.

                          Sam

                          Comment

                          • CPMcGraw
                            In Memoriam
                            • Mar 2005
                            • 5357
                            • Mobile, Alabama

                            #14
                            Originally posted by sam_midkiff
                            I apologize for the thread drift, and unless I encounter a moment of weakness this will be my last post on the subject. Time is better spent building rockets than talking about programming languages.

                            Sam
                            Sam,

                            Don't apologize! This is the right forum for this kind of discussion, even if the thread started out about OpenRocket. (And I can say that, since I'm the moderator of this section... ) If it gets too technical (this is a software thread in a computer section of a rocketry forum, after all...) we can always bump it to a new thread. But for now, I'm comfortable with it.

                            I've enjoyed listening to your posts about the differences in Java (compared to what I remember from way back when it was the 'new kid on the block' in programming languages), and from your description, the language has changed a little over its life. Always something new to learn!

                            I'm thrilled to see OpenRocket, even though it has a long way to go (and a short time to get there...). While I love RockSim and appreciate the power and flexibility it offers me, even so it has a few minor issues that I don't think have been properly ironed out. We've mentioned some of those issues around here from time to time. This new package might build a fire to get some additional action on the software front, whether that is from Apogee or even someone else.
                            Craig McGraw

                            BARCLONE Rocketry -- http://barclone.rocketshoppe.com
                            BARCLONE Blogsite -- http://barclone.wordpress.com
                            BARCLONE Forum -- BARCLONE Forum

                            BARs helping BARs

                            SAM 0044
                            AMA 352635

                            Comment

                            • sam_midkiff
                              Reptilian Rocketeer
                              • Oct 2007
                              • 60
                              • USA

                              #15
                              Thanks for comments. And competition is good - both in languages and rocket simulators!

                              Sam

                              Comment

                              Working...