Comments (5)
Original comment by [email protected]
on 13 Jan 2013 at 9:38
- Added labels: Priority-High
- Removed labels: Priority-Medium
from team-100-wildhats.
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.
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.
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.
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)
- Move I/O ports HOT 1
- Investigate SFX Playback HOT 1
- Update Internal Site HOT 2
- Debug Elex Board HOT 2
- Make Fields Private HOT 1
- Test Rangefinding on Practice Bot HOT 1
- Test LineReading Code on Practice Bot HOT 1
- Solder and wire another mb1220 ultrasonic rangefinder HOT 3
- Make AT LEAST three new PWM M-F extension cables of medium length HOT 5
- Wire and test the new sharp IR rangefinder HOT 1
- Test Rangefinding on Competition Bot HOT 1
- New preference txt HOT 2
- Test Auto Modes HOT 2
- Test Auto Modes HOT 1
- Find Optimum Shooting Angles and Pullback HOT 1
- Fix Calibrate Shooter Command HOT 1
- Debug Gyro HOT 1
- Bootcamp Presentations HOT 1
- Clean Up Sensor Page on Internal Site
- Software Review Challenges HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from team-100-wildhats.