Forum Replies Created
-
AuthorPosts
-
Sean RobinsonParticipant
Did a software update occur between calibrations?
Sean RobinsonParticipant@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.
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.Sean RobinsonParticipantI 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.Sean RobinsonParticipantCould 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.
Sean RobinsonParticipantCould 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) ordbus-devel
(Fedora) package is not installed, but it should have been installed as part of the AR Sandbox build script.Sean RobinsonParticipantI 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. Runecho "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.
Sean RobinsonParticipantHi 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.
Sean RobinsonParticipantIt looks like the simpler fix (if you’ve “done the permissions changes”) is to use ‘$ make build’ rather than ‘$ make’.
Sean RobinsonParticipant@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?
January 19, 2023 at 6:59 am in reply to: Problem with Step 6a (Optional): Calculate Per-pixel Depth Correction #2434Sean RobinsonParticipantDid 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.Sean RobinsonParticipantI 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?
Sean RobinsonParticipantThank 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?
Sean RobinsonParticipantNo 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.
Sean RobinsonParticipantI 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.Sean RobinsonParticipantThere 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.
-
AuthorPosts