Sean Robinson

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 173 total)
  • Author
    Posts
  • in reply to: Install libdc1394-22-dev on Mint 21? #2593
    Sean Robinson
    Participant

    You are not the first to encounter this problem.


    @solanic
    has made updates to the Build-Ubunutu.sh script for LM 21.


    @marcocspc
    is running the sandbox in an Ubuntu 18.04 container on an Ubuntu 22.04 host.

    A third option would be to install LM 19. This is the latest “officially” supported version, but your IT department may not like a post-end-of-life OS on their network.

    in reply to: Kinect view upside down #2592
    Sean Robinson
    Participant

    @robbo I agree that turning the camera or projector is a solution. Calibrating the Kinect and projector as they are should also work.

    I was wrong (darn faulty memory) to say the virtual disc will project onto the real disc after calibration, but the red cross-hairs will follow the center of the real disc. And the sandbox projection should match up with the sand forms.

    in reply to: Kinect view upside down #2587
    Sean Robinson
    Participant

    If I am picturing things correctly, I believe you are fine for this point in the calibration. Only use the disc color as feedback during calibration: yellow means a capture will not work, while a green disc means the Kinect has a good reading to use for calibration. Ignore the position of the projected disk until after you have captured at least nine tie points, then the projected disc should closely follow the real disc.

    Oliver covers this in his calibration video, but I know I was confused the first time I saw the disc projected on the wrong side of our sandbox.

    in reply to: Switch texture water to lava #2584
    Sean Robinson
    Participant

    Please post a transcript of a terminal session where you run the failing command and the errors you receive. Also, include the output of the terminal command ls -lR ~/src/scripts and the contents of /home/alfredo/src/scripts/weather.sh.

    I suspect you have all the pieces in place and it is just a matter of patching them together.

    in reply to: CalibrateProjector “command not found” #2582
    Sean Robinson
    Participant

    Welcome to the forum.

    Could you post a transcript of the commands you type and the output you see? The context (current directory) and specific name used to start the command are important.

    I’m looking for something like the commands in Step 11″

    cd ~/src/SARndbox-2.8
    ./bin/CalibrateProjector -s 1024 768

    But I want to see what commands you are using.

    in reply to: Linux distribution to run AR sandbox #2581
    Sean Robinson
    Participant

    Welcome to the forum.

    Yes, the AR Sandbox should work on RHEL. There will be differences in the software installation steps. As a start, you can try the Build-Fedora.sh script instead of the Build-Ubuntu.sh script (Fedora is to RHEL as Ubuntu is to Linux Mint).

    AR Sandbox installation has been widely tested and documented on Linux Mint. If you are a Linux novice and don’t have someone to help debug installation difficulties on RHEL, I recommend you try Linux Mint.

    in reply to: Sandbox looks frozen (but still responsive) #2578
    Sean Robinson
    Participant

    What does it look like (on the sand) if you reshape the sand after a freeze? Do the contour lines remain frozen? Does the water flow through the new terrain or keep animating in the frozen terrain?

    Can you swap out the Kinect? Are there any infrared light sources (like a covered, exterior window) that could influence the Kinect?

    I’m curious what you mean by “permanent water level”. I’ve customized our sandbox, too, and I’m interested in what others have done. My own changes have mostly been to convert command line arguments (i.e. -evr and -rs) to pipe commands.

    in reply to: Sandbox looks frozen (but still responsive) #2575
    Sean Robinson
    Participant

    A little more information might help. What Linux distribution and version are you using? Which model GPU? Which GPU driver?

    The following are ideas and questions that I might pursue, if it were my sandbox.

    How much of the sandbox software is responsive during a freeze? Can you bring up menus?

    What other programs freeze? Try the Vrui example ShowEarthModel app and leave the earth rotating, does the animation freeze? Does glxgears freeze?

    If glxgears does not freeze on its own, run glxgears and SARndbox at the same time. Does glxgears freeze when the sandbox freezes?

    Much of the above is to determine if the freeze is in the GPU or CPU.

    I would try re-seating RAM and the video card in their motherboard slots. I’ve seen loose video cards cause intermittent hard freezes (i.e. only rebooting will restore the system).

    in reply to: Switch texture water to lava #2573
    Sean Robinson
    Participant

    @Leonardo16

    home/civur/src/scripts/weather.sha probably does not exist, I believe you meant /home/civur/src/scripts/weather.sh.

    But, are you using “civur” as your sandbox login name? If not, replace “civur” with your sandbox login name. That is, /home/civur/src/scripts/weather.sh might become /home/leonard16/src/scripts/weather.sh.

    Also, when I press the “5” button, it closes the sandbox aplication, the same with the “6” button, the aplication freeze and then close.

    I suspect, like the initial post from @nicolas-mendoza, the failed weather script is crashing the sandbox software. Do you see any errors if you start the sandbox from a terminal window?

    in reply to: Switch texture water to lava #2572
    Sean Robinson
    Participant

    @robbo

    Doh! <slaps forehead> I see, now. Yes, my instructions above have an error. The pipe file name must match in all steps. So “SARndbox.fifo” in steps 4 and 5 should be “SARndbox.pipe”. Sorry.

    Good catch. Will you be posting video anywhere of your sandbox running with alternate liquids and matching colors?

    Updated/Fixed steps to change color maps in a running sandbox:

    1) If not already done, add a control pipe in the folder you launch SARndbox. In a terminal window, run mknod SARndbox.pipe p to create a pipe you will use to control the running sandbox.

    2) If not already done, tell SARndbox to use a control pipe. This is done with the -cp SARndbox.pipe option. I.e. SARndbox -uhm becomes SARndbox -uhm -cp SARndbox.pipe. The pipe names must match in all steps.

    3) Create an alternate color map file. Find “HeightColorMap.cpt” and copy it, in the same folder, to “HeightColorMap-lava.cpt”. The four columns in cpt files are (left to right) elevation, red, green, and blue. Edit “HeightColorMap-lava.cpt” to swap the red and blue values for all elevations below sea level. For example, the first line (“-40.0 0 0 80”) becomes “-40.0 80 0 0”.

    4) Test your new color map in a terminal window. Run echo "colorMap HeightColorMap-lava.cpt" > SARndbox.pipe to change to the lava color map. Run echo "colorMap HeightColorMap.cpt" > SARndbox.pipe to change to the default color map.

    5) Add echo "colorMap <color map file>" > SARndbox.pipe to the “switch” scripts to match the color map to the texture.

    6) Ask questions if you run into problems.

    in reply to: Switch texture water to lava #2569
    Sean Robinson
    Participant

    Thank you, I believe I see the issue. Your “SARndbox.fifo” is a regular file, not a pipe. To fix this, remove the existing file before creating a new pipe with the same name.

    The “p” as the first character of my output (versus “-” in your output) says the file is a pipe. You can confirm you have correctly recreated the pipe with ls -l SARndbox.fifo and look for the leading “p”.

    Your SARndbox command looks good to me.

    in reply to: Switch texture water to lava #2566
    Sean Robinson
    Participant

    I’m glad you found it useful.

    Please post the output of ls -l SARndbox.fifo (or your pipe name) from the directory containing the pipe.

    I’m expecting it to look similar to prw-r--r-- 1 sean users 0 Jun 8 11:58 SARndbox.fifo.

    And please post the command you use to start the sandbox.

    I’d like to see the ordering of arguments you are using; something like SARndbox -uhm -fpv -cp SARndbox.fifo.

    in reply to: New AR Sandbox Forum #2564
    Sean Robinson
    Participant

    @rcinfo Welcome to the forum.

    Sean Robinson
    Participant
    1. “pause the lines”

    Take a look at the “pause topography” discussion in Assign keys for Show DEM and Pause Topography.

    1. “How to change Textures”

    First, some terminology might help your searches. Textures (and shaders) apply effects to the sand (colors, contour lines, and fluid animations). The colormap sets the colors projected onto different elevations.

    Changing textures will allow you to change water to lava or sewage or other fluids, see Switch texture water to lava.

    If you just want to change elevation colors, this can be done by editing “HeightColorMap.cpt” or telling the sandbox to use a new colormap through its control pipe.

    1. “drain the water”

    There are several options, see Drain water in software.

    For the evaporation rate, add a command line parameter when starting the sandbox/ SARndbox -evr 0.25 will set an evaporation rate of 0.25 cm/s.

    in reply to: Is the Sandbox 2.8 ok? #2561
    Sean Robinson
    Participant

    Good work. Could you share a little of what was wrong? It might later help someone with a similar problem.

Viewing 15 posts - 31 through 45 (of 173 total)