Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024

Original comment by [email protected] on 13 Jan 2013 at 9:38

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from team-100-wildhats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Someone pointed out that AxisCamera is a singleton, so we can only instantiate 
one at a time in the robot:
http://www.chiefdelphi.com/forums/showthread.php?t=111524

If we're toggling or bypassing the robot, maybe that's not a problem. Just FYI.

Other camera issues:
* Remember we'll want crosshairs or a box overlaid on the image while shooting, 
but probably not while climbing.
* Talk to the mechanics people about where we might mount the 2nd camera in 
order to get a good view of the pyramid and climbing apparatus.

Original comment by [email protected] on 19 Jan 2013 at 7:56

from team-100-wildhats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
The camera extension uses WPICamera:
http://firstforge.wpi.edu/integration/viewcvs/viewcvs.cgi/trunk/WPIJavaCV/src/ed
u/wpi/first/wpijavacv/WPICamera.java?root=smart_dashboard&system=exsy1002&view=m
arkup

which extends WPIFFmpegVideo:
http://firstforge.wpi.edu/integration/viewcvs/viewcvs.cgi/trunk/WPIJavaCV/src/ed
u/wpi/first/wpijavacv/WPIFFmpegVideo.java?root=smart_dashboard&system=exsy1002&v
iew=markup

which extends WPIDisposable:
http://firstforge.wpi.edu/integration/viewcvs/viewcvs.cgi/trunk/WPIJavaCV/src/ed
u/wpi/first/wpijavacv/WPIDisposable.java?root=smart_dashboard&system=exsy1002&vi
ew=markup

and uses FFmpegFrameGrabber:
http://code.google.com/p/javacv/source/browse/src/main/java/com/googlecode/javac
v/FFmpegFrameGrabber.java

The camera looks like it's set up to send jpeg images in server-push mode. Even 
if we're not reading the images, it may still be trying to send them, until the 
socket backs up, since we're not actually closing the connection. Closing the 
connection appears to be the mechanism to tell the server to stop.  If we want 
this to happen, it looks like we should call cam.dispose(), set cam = null, and 
recreate the camera when we next need it.


Original comment by [email protected] on 21 Jan 2013 at 3:30

from team-100-wildhats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
The AXIS http protocol is described here:
http://home.arcor.de/basys/web/CAM/AxisCamera_HTTP_API.htm

We could request a video stream for a bounded amount of time:
"http://" + ip + "/axis-cgi/mjpg/video.cgi?duration=" + duration_seconds

We could also set framerate and other settings that way.

The URL currently being invoked relies on default camera settings:
"http://" + ip + "/mjpg/video.mjpg"

We'd just need to replace WPICamera with our own class that allows the URL to 
be specified.

Original comment by [email protected] on 21 Jan 2013 at 3:55

from team-100-wildhats.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
The widget has been completed.

Original comment by [email protected] on 26 Jan 2013 at 9:20

  • Changed state: Done

from team-100-wildhats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.