Sean Robinson

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 173 total)
  • Author
    Posts
  • in reply to: Error during projector camera calibration #2460
    Sean Robinson
    Participant

    Did a software update occur between calibrations?

    in reply to: Sarndbox Docker #2455
    Sean Robinson
    Participant

    @hulaboop It looks like the Docker container does not have permission to show application windows on your screen. Have you given “docker permissions in your X server” with xhost +local:docker?

    You’ll need to run the xhost command every time you restart the host. I recommend adding it to your login scripts or to scripts you use to start the sandbox apps.


    @marcocspc

    You’re welcome. sarndbox-docker is an interesting idea and I’d like to see how much it can help bridge the increasing gap between AR Sandbox’s expected environment and current distributions.

    Do you think it makes sense to add a launch script? Maybe a sarndbox-run BASH script that automates running the various Vrui, etc. commands in the container.

    in reply to: Sarndbox Docker #2452
    Sean Robinson
    Participant

    I think the problem here is that Docker is trying to include BoxLayout.txt in the container, but BoxLayout.txt has not been created, yet. You’re on “Software Installation” Step 6 and BoxLayout.txt is not created until Step 8.

    A possible way to get past this is to run touch /home/alan/sarndbox-docker/SARndbox-2.8/BoxLayout.txt to create an empty BoxLayout.txt. I suspect (not tested) this will let you do Step 6.

    in reply to: Skewed Projection #2451
    Sean Robinson
    Participant

    Could you also share a photo of your sandbox with room lighting on?

    What I find odd is the gentleness of the slope at your box edges, our sandbox has vertical “cliffs” at the sand edges and this is reflected in tight contour lines.

    in reply to: VRUI Error when compiling #2450
    Sean Robinson
    Participant

    Could you post the output of lsb_release -dc? The output will tell me what OS version you are using.

    I have not seen this particular error with Vrui. I expect it means the
    libdbus-1-dev (Ubuntu) or dbus-devel (Fedora) package is not installed, but it should have been installed as part of the AR Sandbox build script.

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

    I think the “water” (in lava mode) you are calling a “shader” is part of the “color map” in the sandbox software, it describes the sand elevation using different colors. The default color map is blue below sea level and a rainbow of colors above sea level.

    You can tell the running sandbox to use a new color map file:

    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 steps 1 and 2.

    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.fifo to change to the lava color map. Run echo "colorMap HeightColorMap.cpt" > SARndbox.fifo to change to the default color map.

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

    6) Ask questions if you run into problems.

    in reply to: Troubleshooting #2441
    Sean Robinson
    Participant

    Hi Peter,

    If you mold the sand into a distinctive shape (e.g. a tall hill next to a deep valley) before starting the sandbox, do the proper contour lines get drawn on the initial shape?

    I’d like to determine if the Kinect is ever getting a good measurement or if the contour readings are stuck on some measurement internal to the Kinect.

    in reply to: Sarndbox Docker #2440
    Sean Robinson
    Participant

    It looks like the simpler fix (if you’ve “done the permissions changes”) is to use ‘$ make build’ rather than ‘$ make’.

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

    @Cormac Congratulations on changing the texture. Another sandbox gets enhanced!

    When the textures change the shaders stay the same however.

    I apologize, but I don’t understand what you mean. Could you give a concrete example?

    Sean Robinson
    Participant

    Did you run RawKinectViewer with sudo? sudo is needed because the calibration file will be written to a “system” (vs “home”) directory.

    What do you get when you run ls -l /usr/local/etc/Vrui-8.0/Kinect-3.10/ in a terminal window? This should list files and permissions in the same directory RawKinectViewer wants to write the calibration.

    in reply to: Troubleshooting #2432
    Sean Robinson
    Participant

    I have not run across a troubleshooting guide anywhere. That would be a nice resource.

    Are you sure the green light used to remain solid? The LED on our Kinect V1 begins to flash once it is connected to USB and continues to flash when the sandbox software runs.

    What is your sandbox doing incorrectly?

    in reply to: Sarndbox Docker #2431
    Sean Robinson
    Participant

    Thank you for posting about your project. I don’t have much experience with Docker and none with desktop applications in Docker.

    Could you give a non-technical explanation of sarndbox-docker?

    My own confusion can be seen in two areas:

    Is this for building a package? Or will the container run the sandbox software, too?

    If I run an Ubuntu 18.04 container, do I need to update and manager software for two systems? One in the container and one on the host?

    in reply to: stopped at an error #2425
    Sean Robinson
    Participant

    No worries. I just wanted to know the OS version to try to point you in the right direction.

    The errors you see are because some things in the compiler changed after LM19 and Vrui has not been updated to handle those changes. If hardware support is an issue, I recommend LM21 over LM20.

    See the VRUI – “Unable to locate package” thread for a probable fix.

    in reply to: stopped at an error #2421
    Sean Robinson
    Participant

    I suspect you are not using Linux Mint 19, the recommended OS for AR Sandbox. It’s possible to use other OSes, but some changes may be needed for the build process.

    Could you post the output of lsb_release -dc? The output will tell me what OS version you are using.

    in reply to: Adding dynamic objects (e.g. fish) #2420
    Sean Robinson
    Participant

    There is a fork of an earlier version of SARndbox called Magic Sand that added plant and animal animations. I have not seen more than demo videos.

    https://github.com/thomwolf/Magic-Sand

    If you do add fish, please post about it here. I would love to try it out.

Viewing 15 posts - 76 through 90 (of 173 total)