I built the open-dis python from the start, but haven't worked with it much. Feel free to use it. The EntityStatePdu is in https://github.com/open-dis/open-dis-python/blob/master/src/main/python/distributed_interactive_simulation/dis7.py Look for EntityStatePdu. I don't recall, but offhand I don't recall wether the update process updates the count itself. It was a hurried implementation. If you've got an improvement, I'd be happy to pack it in.The parse thing is below--the numberOfVariableParameters...
BTW, I'm trying to move to github, and doing some work on a DIS wiki. That's available, but a long way from being finished. https://github.com/open-dis/DISTutorial/wiki with a link to "wiki" in a small, faint text near the top. [https://avatars2.githubusercontent.com/u/16751953?s=400&v=4]https://github.com/open-dis/DISTutorial/wiki Home · open-dis/DISTutorial Wiki · GitHubhttps://github.com/open-dis/DISTutorial/wiki github.com DISTutorial - DIS: The Missing Handbook. An introduction to the concepts...
In a horrible, complex way. (Two screen caps in reversed order for some reason.) From the ieee-1278.1 standard: [cid:232c92cc-d3b8-49a1-8d86-3ec6dc663ece] [cid:a85afc8f-df4f-402e-8c49-eda962d851fc] From: robert spriggs spriggsy@users.sourceforge.net Sent: Wednesday, February 7, 2018 11:49:29 AM To: [open-dis:discussion] Subject: [open-dis:discussion] Python set entity Orientation OK, think ive solved it. the angles are in radians. pdu.entityOrientation.psi = (pi * 90 / 180) sets the heading of my...
BTW, I'm trying to move to github, at http://github.com/open-dis, with separate repos for each programming language and a very incomplete DIS wiki. It makes it easier for users to submit fixes as well. The text should be a first character that specifies a text type and then 0-11 characters of text. You'll have to get the characters individually and stuff them into a string. Was that the underlying problem? Make sure the ESPDU is able to be decoded by Wireshark and that's displayed if you're creating...
Yes, the original source code was created from an XML description of the classes and attributes. That made it easy to generate implementations for other languages (C++, Javascript, a few others) that works reasonably well, but it's not really practical to regenerate code libraries by applying Unix-style patches when a lot of people don't run Unix and are thus unable to fix it. The update process for cross-platform dev environments is just too annoying and complex, though it would be nice to have...
I’m just picking up the git habits myself; I was used to the older svn habits. https://yangsu.github.io/pull-request-tutorial/ Basically, have your own branch, and ask us to commit it. It’s easy for us to bring it in, and we can discuss it and commit. In addition I’ll see if you can be a C# committer. I’m trying to turn open-dis into more of a multiple-people-commit project, particularly on an eventual DIS Tutorial thingie. Not quite sure what the format of that should be. Basically a document that...
OK, added to code base at sourceforge and github. Thanks! On Sep 7, 2017, at 9:58 PM, Richard Murphy fixedpin@users.sf.net<mailto:fixedpin@users.sf.net> wrote: Here is some MS C# that implements DisTime using simple static calls utilizing System.Globalization. Tested fairly thoroughly and works as expected with rollover, etc. Tested using VS 2010 and .Net 4.5
Not a C++ guy, but I think the string code is part of the standard library. / strncpy example / include <stdio.h> include <string.h> On Sep 7, 2017, at 8:32 AM, noreply@in.sf.netnoreply@in.sf.net wrote: Hi Same problem here. How did you fixed it? Including cstring had no effect. (I included it in FastEntityPdu.cpp) [bugs:#24]https://sourceforge.net/p/open-dis/bugs/24/ C++ compilation problem : 'strncpy not declared in this scope' Status: open Group: v1.0_(example) Created: Thu Nov 14, 2013 06:38...
I don’t think I ever wrote that. The C# code was mostly generated; I’ve got an XML description of DIS PDUs. It’s fairly easy to generate a language implementation from that, and C# (and its use in Unity) seemed attractive. So I just wrote a little code to generate the PDUs, but didn’t add much in the way of hand-written code. If you want to write the DisTime in C# and contribute it we’d be happy to add it to the base. I’m no C# expert, either, so if there’s something that would make for better generated...
There’s a one-byte field for the character set and 11 bytes for characters. The Javascript...
No, I don’t believe there is. As I recall there’s a CMake structure for creating...
I’m planning on moving the official hosting site to GitHub. I’ve got the code generator...
They’re up at https://sourceforge.net/projects/open-dis/files/logos/ Feel free to...
I don’t have an official logo, but it was fun to whip one up. See attached. [cid:37F3FAFF-66E4-48E7-A41C-DA81789CAE04@ern.nps.edu]...
Does anyone use the save-to-MYSQL feature in the java version, or use the XML serialization?...
ansible config file
IOC, maybe.
Script to set up cluster
IOC, actual apache/tomcat deploy not tested yet
httpd conf directory
Closer.
Removed stray binary file
mmowgliServer config most of the way there
mysql install
Starting point for configuring mmowgli cluster ...
BTW, I'll be at IITSEC doing the DIS tutorial if you want to grab me and chat. One...
What language are you using? On Nov 24, 2015, at 8:41 PM, Muhammad Farhan Mirza farhanmirza@users.sf.net<mailto:farhanmirza@users.sf.net>...
That’s on my list for this December, when I’ve got a bunch of use-or-lose leave to...
Do you have a list of the PDUs you’ll be using? I may be able to review those in...
I’m kind of backed up, probably won’t be able to look at it until December sometime....
updated load testing
Added initial d3 chart capability. The d3 javas...
OK, fixed in the Java subversion repo. Same fix needs to be applied to the other...
Yep, the underlying problem is that the XML file describes that as a list of ID/Value...
Comple small fixes, still not working
I’ve got an early, not-very-well-tested release of Distributed Interactive Simulation...
More clear naming of the old master trunk
New trunk is NPS code
Moving yumatech trunk to branches, will make NP...
Hmm. I'd probably: 1) Fire up wireshark and confirm that that packets you think are...
Look in the source code for PduFactory.cpp or PduBank.cpp, depending on which you...
Look in the source code for PduFactory.cpp or PduBank.cpp, depending on which you...
Updated readme file
Fixing minor glitches
Moving environment variables out of global name...
Getting hiera closer to better
Made sure mod_proxy modules for lb and ajp loaded
Fixed some firewalls
tomcat fixed
Wrong file was in server.xml
Less verbose
Plural
Dependencies
Closer to running tomcat
Bash profile file
Sigh
It was not to be.
Ordering hacks
Missing quote
Fixed pw
Database passwords to hiera
Moved passwords to environment variables
Parameterized passwords
Removed debugging message
Setting java home
Firewall port open added
Added firewall ports for data and management