breznak / openDS-oss

Mirror of the OpenDS.de car driving simulator
17 stars 12 forks source link

Add XML parser #45

Open breznak opened 8 years ago

breznak commented 8 years ago

To allow GUI settings instead of editing XML config files. Related #43 #8

christian-nils commented 8 years ago

Hello, I have created a MATLAB tool to edit the driving task XML files. You can check it out on https://github.com/christian-nils/opends-DTGen

/CN

breznak commented 8 years ago

Hi Christian,

sorry for the delay, I'm on a vacation. Thank you for getting in touch! :+1: I'm going to test your project. Would it be acceptable for you, if I pull the script into our repo? With All references going to you? Are you thinking about doing/aware of - a similar project without the (commercial) Matlab requirement? Ideally java

christian-nils commented 8 years ago

Hi,

Well, that would be my dreamed goal. But unfortunately, I started to develop the tool to provide it to my students for their master thesis. I was in a rush for finishing it on time. I used MATLAB because it is the main language I was using then so it felt natural to use it. (Maybe Octave would run my tool?) I do not currently plan to port it to a full JAVA-written application.

Conceptually, the tool is really straightforward. There is a GUI where you can create/delete nodes directly in trees. The nodes are checked to be compliant with the Schema xml files. You can save/load the driving task.

The tool has a wide margin for improvements, so please free to fork the project and potentially add some fixes.

Doing some driving behavior research, your project highly interests me, so I'll stay around !

Good luck,

Christian-Nils

breznak commented 8 years ago

I'm considering using XForms for parsing/GUI&editing/storing XML files with given grammar. I don;t know much about the technology, but it looks promising: https://en.wikibooks.org/wiki/XForms/Comparison_of_XForms_Products Implementations: https://github.com/dimagi/Vellum https://github.com/orbeon/orbeon-forms