Sharing my modifications

Home Forums AR Sandbox Forum Sharing my modifications

This topic contains 9 replies, has 5 voices, and was last updated by  bakelew4953 1 week, 5 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #103466

    bakelew4953
    Participant

    I have been working on SARndbox modifications for my University SARndbox. The modifications I have are:
    – Export sandscape to XYZ ascii format (point cloud)
    – Raise/lower the color height map using keyboard
    – Decrease/increase the contour line interval using keyboard
    – Toggle the water simulation using the keyboard
    – Toggle through available color height maps within the configuration directory
    – Extras: different color schemes, and a relatively reliable startup script

    I appreciate this project and all the hard work Oliver/UCDavis has put in, and want to give at least something back. So if anybody would like to use these, feel free to contact me and I can provide the extra files and help you with setting them up. If you are running SARndbox version 2.3 (r2), it should just be a matter of copying the additional files and re-running make.

    #103479

    fdourado
    Participant

    Hi, Could you send me this extra file with the instructions to re-running?
    What is your contact?
    Thanks
    Francisco

    #103480

    bakelew4953
    Participant

    There are multiple files, for each of the mods above.
    Would you like all of them, or any particular one?

    I will post instructions on here, so others may use this thread as a guide to installing them.

    • This reply was modified 1 year, 5 months ago by  bakelew4953.
    #103486

    SFulton
    Participant

    Why not set up a github with your modified source directory? It is free and anyone wanting to your source could then get it without contacting you. I am also interested in your modification as I was hoping to do similar changes later this summer for the sandbox at University of Wisconsin – La Crosse.

    #103497

    bakelew4953
    Participant

    I do have a git repository with my entire sandbox setup — the repo itself contains all the source for Vrui and Kinect libraries as well, so perhaps follow this link:
    https://github.com/bakelew4953/arsandbox-otago/tree/master/SARndbox-2.3r2
    to find my version of the SARndbox application.

    To install the modifications, first make a backup of your calibration (this is ProjectorMatrix.dat somewhere within the etc directory), then copy all of the files (except perhaps my calibration file) in the above link into your SARndbox source directory, then run make.

    To configure the output directory of the XYZ exporting tool, open XYZTool.h and change
    #define XYZ_OUTPUT_DIR "/home/sandbox/Desktop"
    to a directory of your choosing (and then re-run make).

    To use the tools, assign them to a key as you would do with the water tools, etc. They should be labelled clearly enough in the tool selection dialog.

    Just as a disclaimer: please use this stuff at your own risk, hopefully you will not damage your own installation — if your calibration is messed up, then try re-calibrating as this source code contains my calibration matrix which will not work for you. I can not guarantee my code is bug-free. I also take no credit, this is mostly standard SARndbox code, with a tiny bit of new stuff which is based on code provided by this site.

    #103498

    josh78
    Participant

    Thanks for sharing your modifications. We ‘ll test it.

    #103500

    GrantWells
    Participant

    Brilliant, thanks for sharing the code – I’ll have a go at this next week and report back. Much appreciated.

    rgds
    Grant

    #103501

    bakelew4953
    Participant

    Cool! Would be good to know how it runs, as I have not tested it on other PCs.

    #103503

    SFulton
    Participant

    Looks great. Thanks for the hard work and sharing.

    #117983

    bakelew4953
    Participant

    If anybody is still interested, I updated my mods for SARndbox version 2.5 🙂
    Please back up all of your SARndbox configuration, calibration, code, and programs before following the instructions in the readme below.

    Readme:
    https://www.dropbox.com/s/jf4ysf4hho5ixdt/readme.txt?dl=0

    Mods:
    https://www.dropbox.com/s/42t035v65w88mvq/mods.zip?dl=0

    The readme is quite detailed. But installing is essentially replacing your source code and makefile with my modified version, rebuilding the program, and assigning the tools I added to the buttons on your keyboard.

    If you want to use the XYZ data export tool, you will need to set the output directory for the .xyz files inside XYZTool.h (somewhere near the top). Then you need to rebuild the program.

    If you get pop up errors when you run SARndbox saying “cannot locate libWaterLevelTool.so” or anything along those lines, then run:
    make clean && make from your SARndbox source folder.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Comments are closed.