Forum Replies Created
-
AuthorPosts
-
Sean RobinsonParticipant
Welcome to the forum.
Yes, SARndbox 2.8 is the recommended version.
In “I can’t make it rain”, you mention “1” and “2” keys. Did you assign these through the configuration file or the on-screen pop-ups? I recommend the on-screen assignment as a way to get immediate feedback whether the key assignment worked. Try adding “3” and “4” as more rain/drain keys through the on-screen assignment.
Once you have the keyboard rain/drain working, the rain hand is a matter of using the right hand shape.
Let me know if this works for you. There are other things to try.
Sean RobinsonParticipant@MHanSandbox Welcome to the forum.
unable to locate “libdc1394-22-dev” I read elsewhere that this is because it is obsolete or has been replaced by something else.
This looks like you are using a newer version of Linux Mint (LM) than the AR Sandbox installer supports. Your two options are to install LM 19 or customize the AR Sandbox installer.
Yes, LM 19 is not the latest version, but it is the currently recommended OS for the AR Sandbox. As long as your hardware is not too new, LM 19 will likely work for you.
@solanic has lead a way to install Vrui, Kinect, and SARndbox on LM 21. Either my post with instructions or @solanic’s link to an LM forum post can be used.Good luck. Feel free to open a new topic if you run into more problems with installation or calibration.
Sean RobinsonParticipant@viagoito4 My first guess is that you are editing a different file than the sandbox is reading. How many files does the
locate SurfaceAddWaterColor.fs
command show you?I don’t know the details of your configuration, but I assume the file read by your sandbox software has a path like “/home/viagoito4/src/SARndbox-2.8.1/share/SARndbox-2.8.1/Shaders/SurfaceAddWaterColor.fs”.
Sean RobinsonParticipantSorry, the patch I posted has a mistake. (The dangers of hand-editing a patch.) The following should cleanly apply.
--- a/Sandbox.cpp +++ b/Sandbox.cpp @@ -1335,6 +1335,9 @@ void Sandbox::frame(void) { } else { std::cerr << "Wrong number of arguments for rainStrength control pipe command" << std::endl; } + } else if (isToken(tokens[0], "pauseUpdates")) { + pauseUpdates = !pauseUpdates; + pauseUpdatesToggle->setToggle(pauseUpdates); } else { std::cerr << "Unrecognized control pipe command " << tokens[0] << std::endl; }
Sean RobinsonParticipantWe switch between full-color and white maps for the same reason, using the control pipe. This Switch texture water to lava post describes how to change colors. For white, create a .cpt file with the following values.
-25.00 255 255 255
25.0 255 255 255AFAICT, “Pause Topography” is not available for assignment to a key via the configuration files, but I could be wrong. If you are comfortable patching C++ source, the following diff will add a “pauseUpdates” control pipe command. This will toggle screen updates using the same algortihm the assigned key uses.
--- a/Config.h +++ b/Config.h @@ -1335,6 +1337,9 @@ void Sandbox::frame(void) { } else { std::cerr << "Wrong number of arguments for rainStrength control pipe command" << std::endl; } + } else if (isToken(tokens[0], "pauseUpdates")) { + pauseUpdates = !pauseUpdates; + pauseUpdatesToggle->setToggle(pauseUpdates); } else { std::cerr << "Unrecognized control pipe command " << tokens[0] << std::endl; }
- This reply was modified 1 year, 7 months ago by Sean Robinson. Reason: fix link to colormap help
Sean RobinsonParticipantMy longer reply won’t post. Two brief hints: check keyboard is connected and mouse wheel zooms.
Sean RobinsonParticipantI suspect the problem is with your Kinect power supply/USB adapter. Your output from lsusb shows one Kinect device: “Motor”.
Bus 003 Device 019: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubThere should be two more USB endpoints for the Kinect. Our development v.1414 has the following three devices connected via USB.
Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
Bus 001 Device 008: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubSean RobinsonParticipantSounds like you’ve done a good job trouble-shooting. I hope a little more information will hint at possible fixes.
Could you post the output of
lsb_release -dc
? The output will tell me what OS version you are using.Please also post the output of
lsusb
. This should show how the Kinect is connected.I don’t have projector, yet so I haven’t connected that, but I can’t imagine that would be the cause.
I agree this is probably not the cause of the Kinect problem.
I’m probably just doing something dumb, but I can’t figure it out.
Getting the many pieces to work together is a complex task that can take several tries. Don’t give up.
Sean RobinsonParticipantThe error you see with cd ~/src means you probably need to start from Step 3. The src directory is created by Build-Ubuntu.sh.
When I do “make” it says no such file or directory
This is also because the output from Step 3 cannot be found.
Details:
Ubuntu 18.04.6LTS
NVIDI GeForceRTX2060/PCIe/SSE2Did you get back to Ubuntu 18.04.6LTS after the update? Or is that what you expect to still be installed?
This is important because the “Software Installation” instructions do not work with later versions of Ubuntu.
Sean RobinsonParticipantThis AR Sandbox, from the KeckCAVES group at UC Davis, uses the Vrui VR Toolkit and not Unity.
You are probably looking for the SensiLab AR Sandbox at Monash University.
Sean RobinsonParticipantI suspect there is a problem with the keybinding. You should have two keys: “Capture” (measure disc) and “Capture Background” (reset sand heights). After selecting “Capture”, a window will pop up; press a different key to bind that second key to “Capture Background”.
Sean RobinsonParticipantI also have an unofficial method using the SARndbox control pipe. My own method is to make the “-evr” function available via the control pipe. With this patch, the evaporation rate can be changed from an external program.
5/5
Sean RobinsonParticipantThe “and a half” method is that water flows out of the sandbox at its edges. Shaping the sand so that the box edges are low points in the topography will let the water escape the sandbox.
4/5
Sean RobinsonParticipantThe “Manage Water” tool can be bound to keyboard keys (or USB buttons) to globally add and remove water. Step 15 has an example of binding this tool.
3/5
Sean RobinsonParticipantQuoting from the help output: “-evr <evaporation rate> Water evaporation rate in cm/s”. This can set a constant evaporation rate to remove water over time, but is fixed during the run of SARndbox.
2/5
-
AuthorPosts