Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - landshark

Pages: [1]
1
Hi,
In the app "Output," certain things get a response such as toggling output on/off. This works without errors.
Others print errors to the terminal such as these and do not effect the running system:

(output:3622): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(output:3622): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

For example, my setup just uses a green laser. So in default the image is only on 1/3 of the time as it is set to cycle colors. When I try to change the laser to only G through selecting that option, or de-selecting the boxes for the R and B lasers, I'm getting these errors.

I wondered if it might be a hardware error but I fired up the simulator, and wasn't able to get the image to stay on in the simulator either.

Any clue what's going on?

Thank you!


2
OpenLase Discussion / Tuning galvos in openlase?
« on: April 22, 2014, 06:06:13 AM »
Hey ./sajmple the last few days which has been a total blast. (Only the pods for size, servo/gain, overshot & undershot damping, start them all at zero except overshot turned a few times.) But I'd elly like to use the ilda test to get it sharper. Is there any way openlase can play that? I tried playilda and it said it was playing and resampled it but unfortunately it looks like a multiple frame thing. Is there another way to tune my galvos? Thanks!
Finley

3
Hi, I'm not sure if I need to change openlase or the lasershark or what, but when I was messing around with playilda I really corrupted my packages and linux. After trying to reinstall linux about 8 times I finally have a version of mint, except this time I am booting up from something that's like /vmlinuz (the only install of linux i could get to work this time was using ubiquity -b to install)   and I don't know if this has to do with that either.

But I've tried compiling the forks by marcan & kamal and for both of them the lines of my laserprojector are extremely wobbly and far apart.

The projector is covering a much bigger area than before, and I think the galvos are louder than before. Do I need to reset something? I've spent days just trying to reinstall to get to this point and I need to be able to demonstrate this tomorrow to get the safety ok from my school. Thanks!


4
*update:
I'm still trying to figure out what this means, but the problem is referenced either here in the install directions, or it's impossible because I found a changelog by Kamal that said he modified the install to work if libavresample is not available.

The following are needed to allow everything to compile.. hmm looks like the cmake scripts should be updated to look for these dependencies:

sudo apt-get install libavformat-dev libavdevice-dev

*




Hi, I know I've been coming here a lot but thanks for your help.
I'd like to get playvid running, and when I perform 'cmake ..' in the build directory of openlase, I'm told it won't compile because of something about libavresample being unknown. I'll attach the terminal output.
Code: [Select]
-- Found FFMPEG: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libavdevice.so /usr/include
CMake Warning at CMakeLists.txt:36 (find_package):
  By not providing "Findlibavresample.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "libavresample", but CMake did not find one.

  Could not find a package configuration file provided by "libavresample"
  with any of the following names:

    libavresampleConfig.cmake
    libavresample-config.cmake

  Add the installation prefix of "libavresample" to CMAKE_PREFIX_PATH or set
  "libavresample_DIR" to a directory containing one of the above files.  If
  "libavresample" provides a separate development package or SDK, be sure it
  has been installed.


-- Will build tracer (SSE2 version)
-- Will NOT build playvid (FFmpeg or libavresample or tracer missing)
-- Will NOT build qplayvid (Qt4 or FFmpeg or libavresample or tracer missing)
I don't know if it's related but there's a thread about libavresample in the comments here-
"I see now that once ‘libavresample-dev’ is installed, other packages are then marked for update. Doing an update, either through the Update Manager or by ‘aptitude dist-upgrade’, etc., will then insist on uninstalling ‘libavresample-dev’ because of dependency issues. Ouch"
http://blog.linuxmint.com/?p=2571

I did my software updates and searched the synaptic package manager for libav and installed everything that looked relevant. Then I downloaded version of libav 9.12 from the web and dragged a folder from there called libavresample to /usr/include (this is a place where some folders with libav in them are) and tried that but nothing worked. I removed the folder when it didn't work.

also is there any easy reference for to replicate the tunnels marcan used towards the end of his demo?

Thanks!
Finley

5
OpenLase Discussion / Trouble working with playilda
« on: April 04, 2014, 01:44:31 AM »
Hi, I've tried a lot of things but can't get playilda to play .ild files.
-In the usage the the argument sent to resample really important?

I noticed the .c file makes references to some plugs in Jack I don't have, for example "out_z" and "out_w." I tried /* */ them out of the code but that didn't help, and I noticed that naturally there's a single line commented out with // in the playilda at the kamal fork, and I deleted the comments but that didn't help. I also added the missing plugs into jack and tried that but to no avail.

When I run it my terminal gives some text and then nothing happens. I get this:
"./playilda  /home/finley/Desktop/American_Flag_Float.ild
Playing back at 30000 pps
Got 3D frame, 1635 points
Resampling 30000 -> 30000
the maximum buffer size is now 640"

and I looked in the code that calls that last print message, it's inside
int bufsize (nframes_t nframes, void *arg){ ...}

And since there is only one other 'bufsize' in code, I know where it's getting called, which is this call:
   jack_set_buffer_size_callback (client, bufsize, 0);

and immediately after that is this line:
   jack_set_sample_rate_callback (client, srate, 0);

Which means that srate should be called, the way bufsize was, but I never see the text that is inside srate:

int srate (nframes_t nframes, void *arg)
{
   rate = nframes;
   printf ("Playing back at %u pps\n", rate / divider);
   return 0;
}

I've also tried a few different ilda's. If I download an .ild
and change it's name to one used in marcan's demo and put it in that folder, it shows up though. But not on playilda. I've tried passing arguments so things are re-sampled at random numbers, and I can start and stop ./simple in another terminal without effecting the nothing going on in the playilda one. Do you happen to know how to fix this or what might be wrong? Thanks. I'm sorry this is such a long question.


(I get this message (with no errors) when I run playilda in jack 
22:32:41.563 JACK connection graph change.
22:32:41.650 JACK active patchbay scan...
22:32:41.652 save patchbay: output:out_x -> lasershark:in_x checked.
22:32:41.654 save patchbay: output:out_y -> lasershark:in_y checked.
22:32:41.655 save patchbay: output:out_r -> lasershark:in_g checked.
22:32:41.658 save patchbay: output:out_g -> lasershark:in_r checked.
22:32:41.660 save patchbay: output:out_b -> lasershark:in_b checked.
22:32:41.662 JACK connection change.
22:32:41.864 JACK active patchbay scan...
22:32:41.868 save patchbay: output:out_x -> lasershark:in_x checked.
22:32:41.870 save patchbay: output:out_y -> lasershark:in_y checked.
22:32:41.872 save patchbay: output:out_r -> lasershark:in_g checked.
22:32:41.874 save patchbay: output:out_g -> lasershark:in_r checked.
22:32:41.876 save patchbay: output:out_b -> lasershark:in_b checked.
Thu Apr  3 22:32:41 2014: New client 'playilda' with PID 7906
)

6
Hi. I've been trying to find out how to load a song into jack so that it shows up in the circlescope example. Is there a simple way to do this or to run all system audio through jack?

Also, I'm sorry if this repetitive, but did marcan release any of these examples in his demo, like the stars or the tunnel?
https://www.youtube.com/watch?v=m_CHXwXvWvs

Lastly, I don't think Linux Mint runs on ARM, but would openlase run on a distro of linux supported by Raspberry Pi?

Thanks!
-f

7
Hi,
I'm planning on putting this laser projector in a school art show, and to do so I will have to convince faculty that's it's very safe. Right now I have it against a space heater because the metals panels behind the mesh outside are kind of reflective, they were made to reflect heat and the lasers look really great there behind the image. There's also two quartz tubes there that the heater uses. Is this safe?

I've been looking at laser safety at laserpointerforums.com. But is there any literature I could show the school that shows my laser projector is safe as long as nobody looks into the projector? I would guess there's not an easy way to measure the reflection off the space heater but are there safety guidelines out there that would permit a 532nm 5mw-75mw laser? I'm using a 6 volt power adapter, if I used more would that make the laser brighter/ more dangerous?

Thanks,
Finley

8
OpenLase Discussion / more examples
« on: March 25, 2014, 07:06:42 AM »
Are there more examples like ./simple out there? Thanks.

9
OpenLase Discussion / TTYL vs Analog
« on: March 23, 2014, 09:57:06 PM »
Are there real benefits to using a laser via Analog rather than TTYL?

10
It's very informal and rushed so far but...

11
LaserShark Support / Questions using lasershark
« on: March 23, 2014, 08:51:42 PM »
Hi. Can openlase run multiple laser sharks doing their own thing at the same time? At what power does a laser need to be worried about for eye damage? It's ok to draw with lasers on the body? Thanks!

12
LaserShark Discussion / Galvo Chips Hot?
« on: March 23, 2014, 07:53:41 PM »
I got the lasershark to work! This is really cool. I'm noticing the chips that power the galvos are getting really hot. Is it possible I should be using a fan with them? They have heat sinks / metal blocks at the ends of them too.

13
OpenLase Discussion / Using OpenLase to Create Text Events
« on: February 09, 2014, 05:50:01 AM »
Hi there,

If you see this, thanks Jeff for all the help you've given as I set up Linux and troubleshoot an OpenLase install. I was wondering if you or anybody else could help me with this question:

I'd like to be able to program words to appear in different places, edges, corners, middle, etc, on the surface projected on, at different times. From running examples, I understand at least that open lace can, as it were, load programs, and run them. Mostly, I'm interested in words and text at different places, times, different areas of scrolling on the total surface, and those kinds of things.

Do I need to learn a specific language to do this? Aside from the language and maybe framework I should learn, how would I then turn that code into something OpenLase could load?

Thanks so much.

Best,
Finley

Pages: [1]