Giter Club home page Giter Club logo

ssl-vision's Introduction

CircleCI

RoboCup Small Size League Shared Vision System

In the past, RoboCup Small Size League rules allowed every team to set up their own global vision system as a primary sensor. This option beared several organizational limitations and costs for the teams, thus impairing the league's progress. Additionally, most teams had converged on similar solutions and produced few significant research results to this global vision problem over the last years.

In 2009, the league committees decided to migrate to a shared vision system (including hardware) that could be used by all teams. This system - named SSL-Vision - is currently developed by volunteers from participating teams.

To find more in-depth and up-to-date information about SSL-Vision (including installation and configuration), please visit the Wiki Documentation Page.

Software Requirements

Following dependencies are required to build the software:

  • g++
  • QT >= 4.3 with opengl and networking support
  • cmake
  • Eigen3
  • Google protocol buffers (protoc)
  • OpenGL
  • GLU
  • libjpeg
  • libpng
  • OpenCV >= 3
  • libdc1394 Version >= 2.0
  • video for linux 2 (v4l)

To get all of these packages in (k)ubuntu, run the InstallPackagesUbuntu.sh script.

Or, in archlinux, run the InstallPackagesArch.sh script.

Test data

If you do not have a camera available and want to test or improve ssl-vision, you can use the CaptureFromFile capture module to play back images. To install some test data, run: make install_test_data. It will download several test images to test-data. The default configuration of ssl-vision will peak this up automatically.

Supported cameras

Multiple cameras are supported:

To enable support for one or more of those cameras, install the corresponding SDK (linked above and described in more details below) first. Then build with the corresponding option:

  • -DUSE_DC1394=true
  • -DUSE_SPINNAKER=true
  • -DUSE_mvIMPACT=true
  • -DUSE_PYLON=true
  • -DUSE_FLYCAP=true
  • -DUSE_V4L=true

Example for a release build: cmake -B build -DUSE_SPINNAKER=true. As these are cached cmake options, you only need to run this once and can build with make afterwards.

Virtual Splitter cameras

In addition to the physical cameras, you can activate virtual cameras with -DUSE_SPLITTER=true. There will be an additional 'Distributor Thread' that captures from a single physical camera (or from file). The capture mode of the normal camera threads can be set to 'splitter'. That way, a part of the original image from the distributor thread is used as input. This may speedup processing time for cameras with large resolutions, but at the trait-of of multiple cameras with the same camera center, which may not work well with some consumers.

Matrix-Vision cameras

USB 2.0 BlueFox MLC and USB 3.0 BlueFox3-2 cameras are supported. Please note, that they require different SDKs. The SDK look very similar, but are not compatible. They get installed into the same directory by default.

Tested cameras:

  • mvBlueFOX-MLC200wC
  • mvBlueFOX3-2089

The SDK can be downloaded from the driver page. Go to Linux => mvBlueFOX (USB2.0) or mvBlueFOX3 (USB3.0). Download the install_mvBlueFOX.sh script and the correct .tgz file for your machine. Open a terminal and navigate to your download folder. For a quick installation run:

sh install_mvBlueFOX.sh -u

Basler cameras

Basler cameras are supported via the Pylon Software Suite. This link should directly download the current supported version, 7.2.1. Installation instructions are contained in the download.

Tested with Basler ace acA1300-75gc.

FLIR cameras

USB 3.0 cameras are currently supported.

Tested cameras:

Download and install the SDK and build ssl-vision with -DUSE_SPINNAKER=true.

Compilation

Build the code by running:

make

If you need to pass extra parameters to cmake, you need to run cmake directly:

cmake -B build -DUSE_WHAT_SO_EVER=true
make

The USE_* parameters are cached, so they do not have to be passed in each time.

Running

Depending on your OS, you might need to ensure that you have full access to the firewire devices /dev/fw*. This might require logging in as root or adding your user to a certain group.

Run the software using the following command:

./bin/vision

You can automatically start capturing with the -s option.

If all . turn into , in robocup-ssl-teams.xml, you can change this by running

export LC_NUMERIC=en_US.UTF-8

before running vision. This is not required, though.

Starting to Capture and Setting Parameters

Once the software is running, you should see some empty capture frames on the right, and a data-tree structure on the left. In this data-structure you can setup your camera parameters, such as resolution, capture mode, etc.

A quick hint: The text-field below the data-tree allows for fast search through the data-tree.

See the section of DC1394 parameters below to get an idea of what the parameters do.

Once you have them set up, you can start capturing by clicking "Image Capture/Capture Control/Start" in the data-tree.

DC1394 Parameters

  • If you expand the tree then the capture parameters are in "Image Capture/DC1394/Capture Settings"

  • Furthermore, conversion settings are in "Image Capture/DC1394/Conversion Settings"

  • "convert to mode" should currently be "yuv422" for best performance, "capture mode" should also be "yuv422", but can also be a different format such as "yuv411" or "rgb"

  • Alternatively, if you desire, you can do de-bayering in software, but this will take extra CPU cycles. To do so, you would set the capture mode to e.g. "raw8" and the convert mode to "rgb". Finally, you will need to set "de-bayer" to true, and select the correct de-bayer pattern and desired method.

  • Capturing supports both DCAM native modes and Format7 modes. This is selected in the "capture format" field. Leaving it on "auto" will attempt native mode first, then format7_0.

  • By default, ISO800 support is disabled. To enable it, mark the field "use ISO800" as true.

ONLINE PARAMETERS
  • Once you start capturing, you should see the realtime video image on the right. Furthermore, in the data tree, you should be able to go to the "Camera Parameters" node which will then be expandable and show all of your DCAM parameters.

  • You can adjust all of these parameters in real-time.

  • Note that the read-out of these parameters from the camera only happens automatically if "auto refresh params" in the Capture Control is set to true. Otherwise, you can use the "re-read params" "Refresh" button to refresh them manually. For performance reasons, it might make sense to set auto refresh to false, so the bus is not being flooded with too much control data and has full bandwidth available for the video streaming.

Storage of Settings and Parameters

  • When you quit the application normally parameters will be saved automatically, but on a system crash, they won't. Make sure to regularly save the settings manually by click on the Save Settings button immediately under the main Vision System node.

  • All settings will be automatically restored during the next program start.

  • In case the files should ever become corrupted, or the program refuses to start completely when parsing the XML files (this should normally never occur) then simply delete all XML files and restart. The program will restore its default settings.

ssl-vision's People

Contributors

a-andreyev avatar akito914 avatar bobismijnnaam avatar emielsteerneman avatar ezavesky avatar g3force avatar garethellis0 avatar jgkamat avatar jgurzoni avatar joydeep-b avatar jpspm avatar kenshin33 avatar kylevedder avatar lhcavalcanti avatar lixfel avatar mahi97 avatar mamiksik avatar masa-ito4github avatar michaeleischer avatar mizukinonoyama avatar nabeya11 avatar rhololkeolke avatar rolfvdhulst avatar rttwente avatar sdlane avatar szi avatar takatohorii avatar tobiasheineken avatar tolgaty avatar tosainu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ssl-vision's Issues

USB-Cameras

I would like to know if you work on configrung the SSL_Vision software so that 
it works with USB-cameras.

Original issue reported on code.google.com by [email protected] on 6 Aug 2010 at 10:28

Failed to allocate iso bandwidth

What steps will reproduce the problem?
1. Start capture
2.
3.

What is the expected output? What do you see instead?
Run the capture in both cameras. Errors. 


What version of the product are you using? On what operating system?

SSL-Vision-r194  Ubuntu 

Please provide any additional information below.

When I start the capture ocurred this errors

CaptureDC1394vc Info: got iso channel: 9
CaptureDC1394v2 Info: using 1394B
CaptureDC1394v2 Info: running at ISO_SPEED_800!
CaptureDC1394v2 Info: Previous Packet Size: 6680
CaptureDC1394v2 Info: Recommended Packet Size: 6680
CaptureDC1394v2 Info: Final Packet Size: 6680
libdc1394 error: Error: Failed to allocate iso bandwidth
libdc1394 error: Error: Failed to setup DMA capture
CaptureDC1394v2 Error: unable to setup capture. Maybe selected combination
of Format/Resolution is not supported?

I use AVTStingray F046C and AVTStingray F033C Cameras and Pci Express Host
Firewire adapter (Two Ports)

help me please.

Regards





Original issue reported on code.google.com by [email protected] on 3 Jun 2010 at 4:45

netraw.cpp: Else in setHost ()

What steps will reproduce the problem?
1. Try to open sockets connection

What is the expected output? What do you see instead?
Should correctly open connection, but sometimes it will fall on the Else case 
and a stack smash will occur.

What version of the product are you using? On what operating system?
We are using the SSL sockets code to manage our on sockets on RoboPET, which 
runs on Ubuntu.

Please provide any additional information below.
We have found no patterns on when this problem occurs. Sometimes we are unable 
to run our software because of this problem, and we are afraid that it occurs 
on a competition.
Our team website: http://inf.ufrgs.br/pet/robopet

Original issue reported on code.google.com by ninja.dalbem on 20 Jul 2011 at 5:39

Ubuntu 13.10 - LINKER ERROR

Dear all,

This issue was discussed before but i have not found a clear solution, I am 
currently using ubuntu 13.10 and i keep getting this error after 'make':

[ 57%] Built target sslvision
make[3]: Entering directory `/home/ssl-office/Desktop/ssl-vision/build'
make[3]: Leaving directory `/home/ssl-office/Desktop/ssl-vision/build'
make[3]: Entering directory `/home/ssl-office/Desktop/ssl-vision/build'
Linking CXX executable ../bin/client
/usr/bin/ld: cannot find -lcv
/usr/bin/ld: cannot find -lcxcore
/usr/bin/ld: cannot find -lml
collect2: error: ld returned 1 exit status
make[3]: *** [../bin/client] Error 1
make[3]: Leaving directory `/home/ssl-office/Desktop/ssl-vision/build'
make[2]: *** [CMakeFiles/client.dir/all] Error 2
make[2]: Leaving directory `/home/ssl-office/Desktop/ssl-vision/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ssl-office/Desktop/ssl-vision/build'
make: *** [build] Error 2



Please provide me with clear steps of how to fix this issue! The previous 
closed issue#16 did not provide any solution!

Thanks for your concern. 

Original issue reported on code.google.com by [email protected] on 25 Oct 2013 at 11:07

Problems with neural calibaration

What steps will reproduce the problem?
1. Click 'neural calibration' tab on the right
2. Choose some colour. Click on some example points of that colour on the 
camera image.
3. Click on 'train neural network' and then click on 'loal neural to LUT'

What is the expected output? What do you see instead?
The ssl vision aborts.


What version of the product are you using? On what operating system?
Ubuntu 10.04

Please provide any additional information below.
Following is what is displayed at the terminal window when ssl-vision aborts.

OpenCV Error: Image step is wrong () in cvSetData, file 
/build/buildd/opencv-2.1.0/src/cxcore/cxarray.cpp, line 902
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/buildd/opencv-2.1.0/src/cxcore/cxarray.cpp:902: error: (-13)  in function cvSetData

Aborted




Original issue reported on code.google.com by [email protected] on 23 May 2012 at 12:08

Camera Calibration

Hello,

I am trying to calibrate my camera, But I can't positionate the point in the right place to test the calibration, is there any order to put the points to "Do initial calibration"

Ps.: I tryed to put the points at the corners of each quarter, in several orders, but the field image didn't adjust to the field.

captura de tela de 2017-06-02 16-30-31

Thanks!

Glitch when playing teams have different heights

When the two teams have robots with different heights, a workaround is needed 
in order to configure both, given the height comes from the pattern and not 
from the team. The workaround is to add a second 'standard2010' team, which is 
sort of unusual.

Using version r198

Original issue reported on code.google.com by [email protected] on 12 Nov 2011 at 1:43

small DVR'd set of data for calibration and gameplay

a DVR'd set of data for (a) calibration and (b) a few seconds of gameplay would be spectacular. It would be a big technical challenge to introduce test suites for understanding new plugins -- and making sure changes don't break things -- so the next best thing would be some DVR data. I was thinking of these two scenarios, but am interested in others that the community may have for examples.

  • Initial calibration for one or more color patterns
  • A few seconds of gameplay from one or more cameras to visualize and understand what things should look like when they're working correctly.

Extended support for USB3 Vision

Hi all,

I'm currently trying to get the TIS DFK 23UX174 to work nicely with SSL-Vision. I'm running into quite a lot of troubles, however. Sometimes I can get ssl-vision to display the camera image, but it's ofcourse all warped and purple/green because the camera's image is bayer encoded. I tried integrating the debayering code from the firewire capture code into V4L, but now I get segfaults every time (at bool GlobalV4Linstance::getImageRgb(GlobalV4Linstance::yuyv *pSrc, int width, int height, GlobalV4Linstance::rgb **rgbbuf), line 531) I try to show the camera in SSL-Vision so that's not really working out. I'm not sure if this is entirely SSL-Vision's fault because the camera's example programs are not working great either, but ssl-vision does not seems to support cameras like these well enough.

So are there any plans to "extend" usb camera support a bit? Or will it remain a gimmick feature for testing with webcams only? Or are there maybe USB cameras that are known to work well with SSL-Vision?

Making ssl-vision-read-only fails with Errors

What steps will reproduce the problem?
1.I am using Ubuntu.
2. I followed the directions on: 
http://code.google.com/p/ssl-vision/wiki/RequirementsInstallation
2. when I get to this part: "After having checked out the code, the code can be 
built by executing:

make

The project should build without errors or warnings. " t
there are errors.
3. The error is "fatal error: google/protobuf/message.h: No such file or 
directory
compilation terminated."



Original issue reported on code.google.com by [email protected] on 13 Nov 2011 at 11:53

Help! Removing Plugin

Hello, I need help to remove detect_ball plugin, is that possible? I am using 
SSL for another application and I do not need ball detection. Thanks for your 
help


Original issue reported on code.google.com by [email protected] on 3 Aug 2012 at 7:27

Using Development Tool to Code a Plugin

Help!

Using Eclipse to try to edit some code, I received errors in compilation time:
svn/trunk/vartypes/enhanced/TimeVar.h -> #include "TimeIndex.h"
svn/trunk/vartypes/enhanced/TimeLine.h -> #include "ClosedRange.h"

Where are these files (TimeIndex.h and ClosedRange.h, and possible others)?

Coordially,
Willytell.


Note: Eclipse is already working with CDT plugin for C/C++, Qt4 and protocol 
buffer (google's data interchange format).

Original issue reported on code.google.com by [email protected] on 14 Jan 2011 at 2:29

relax hard coded requirements for existing color pallette

While the current set of 9 colors works well in general for pattern detection, it's likely that we can optically optimize them for more lighting robustness. One simple example of this is experimenting for robustness in grayscale such that shadows, various temperatures of indoor lighting, and other effects are minimized.

Below is a living list of modifications that may be required to achieve this robustness:

  • Remove hard-coded of specific colors in team detection (like here and here and here).
  • Allow the geometry and rough region placement of patterns to be precisely mapped to a larger set of colors. Depending on tests, this may require loading and using actual image data in team pattern initialization instead of relying on color space separation alone.
    • Optionally, allow several more colors to be created as candidates during new LUT initialization here

Unable to detect blobs with AVT Guppy Camera


What is the expected output? What do you see instead?

We have compiled and run ssl-vision with AVT Guppy cameras and started to map 
colors to the LUT. We also added a team with an included pattern. After adding 
the main areas (blue and green) of the pattern to the LUT the camera images did 
not change. That means that no thresholded images or blobs were shown.
When we change the configuration to "Read from file", the thresholdes images 
are shown and blobs are detected.
Which configuration can be made additionally so that the detection of blobs 
from camera works?

What version of the product are you using? On what operating system?

We are using the last version downloaded with svn on Ubunut Precise 12.04.2.

Please provide any additional information below.

The system was configured the following way:

Camera X -> Image Capture -> DC1394 -> Conversion Settings 

  convert to mode: rgb
  de-bayer: true
  de-bayer pattern: rggb
  de-bayer method: bilinear
  de-bayer y16 bits: 8

Camera X -> Image Capture -> DC1394 -> Capture Settings

  cam idx: X
  framerate: 60
  width: 640
  height: 480
  capture mode: raw8
  capture format: format7_0
  use 1394B: false
  use ISO800: false
  ringbuffer size: 10

Camera X -> Visualization

  enable: true
  image:  true
  thresholded: true
  blobs: true


Original issue reported on code.google.com by [email protected] on 17 May 2013 at 8:09

Issue in SSL vision installation

Hello,

I tried to install SSL-vision in ubuntu in Virtualbox, but I had problem in this step:
conf2

In my virtual machine, the bin directory does not contain binaries "vision", "client" and "graphicalclient":
conf

Does anybody know if I did anything wrong? or if SSL does not work in Virtual machines?

Thanks!

Installing a USB3.0 camera

I need help installing a usb 3.0 camera. I have a Bassler aca2000-165uc. Any help is highly appreciated.
Thank You.

Missing header file while running manke

What steps will reproduce the problem?
1. running make file.

What version of the product are you using? On what operating system?

I use Ubuntu 12.04 and the downloadable version of ssl-vision.

Please provide any additional information below.

After copying the code of Makefile,CMakeLists.txt and Doxyfile from the 
readonly version, errors about missing libraries -lcv,-lcxcore and -lml do not 
occur anymore.
But the next error that is thrown while running make is that a header file 
"ui_neurowidget.h" is not found.
Is it possible to get the newest version of ssl-vision or is there a workaround?

Original issue reported on code.google.com by [email protected] on 18 Oct 2012 at 8:13

Provide an example of known working hardware

At the committee meeting, it was brought up that it would be helpful if the SSL-Vision documentation included a complete build of known-working hardware (the computer and Firewire card models as well as the cameras) for new teams to look at to get started.

Why can I get the right position of the robot?

What steps will reproduce the problem?
1.only operate as the rules 


What is the expected output? What do you see instead?
I expected an exact position of some robot.
But I get the  projected position of the robot.

What version of the product are you using? On what operating system?
r194 ubuntu 9.10

Please provide any additional information below.

If the position which I get  is exactly the projected position,why does the 
SSL-Vision need a robot Height?
Can The SSL-Vision tell me the var "z" of the struct of SSL_DetectionBall as 
below?

ps:
message SSL_DetectionBall {
  required float  confidence = 1;
  optional uint32 area       = 2;
  required float  x          = 3;
  required float  y          = 4;
  optional float  z          = 5;
  required float  pixel_x    = 6;
  required float  pixel_y    = 7;
}


Original issue reported on code.google.com by [email protected] on 26 Jun 2010 at 6:48

Phantom Balls Detected

What steps will reproduce the problem?
1. Download the recorded frames from
http://www.cs.cmu.edu/~robosoccer/small/movies/ssl-vision-data/PhantomBalls.tar.
gz
2. Extract the archive to some folder
3. Load the folder from the DVR recorder
4. Use the DVR recorder to play back frames from the folder

What is the expected output? What do you see instead?
Espected output: The ball should be reported at a single static location
(from the images and the thresholded data, it seems to be quite obvious)
Output seen: In certain frames (they keep changing), "phantom" balls are
reported at locations which certainly do not have any balls or ball-like
objects. The locations of the phantom balls seem to vary between different
trials.



Original issue reported on code.google.com by [email protected] on 30 Mar 2010 at 5:31

ROS output and input hooks required

With the prevalence of ROS and it's wealth of robotic-friendly community contributions, we seek to bring components of ssl-vision to a ROS environment. This issue is more of a request for information from the ssl-vision community on what it thinks is the best way to do that. The following list iterates the requirements for this implementation and is offered in hopes of attracting guidance.

  • ROS output of detected regions and detected robot codes
    • Proposal: It looks like the easiest way to achieve this is to add ROS output as another plugin.
    • request for information This could be implemented as a conditional in the CMake files so that not all ssl-vision users would need updated dependencies
    • additionally, more for prudence than a perceived functional conflict, the current broadcast/UDP plugin could be conditionally deactivated when the ROS plugin is running
  • ROS input of frames from an alternate source (e.g. a rectified image)
    • Proposal: similar to the point above, adding a new ROS-based image source plugin appears to be the easiest/appropriate way to introduce alternate inputs.
    • Also, because the ROS environment has a means for "bagging messages" messages, the DVR plugin within ssl-vision would be conditionally deactivated when the ROS plugin is running
  • minimization of running interactive (Qt) components such that a "head-less" environment is possible within a standard ROS node
    • Proposal: this is the most complicated modification proposed, which needs the most guidance. Some community-based postings for this topic have been found and give some hope to just implementing an alternate stack (headless Qt GPU, claims that alternate client can be created, claims of using a fake X server)
    • As a very aggressive alternative, an alternate stack could be written that directly uses the underlying cmvision2 core vision and pattern libraries. However, since the VarType objects are so deeply embedded in the libraries this may not be achievable.

Camera parameters

We are going to buy AVT Guppy F-036C Cameras and I have questions concerning 
the lenses and the camera:
Which are the fitting parameters for the lenses (focal length and f-stop)?
In which height do you mount the cameras?

Thanks in advance!

Original issue reported on code.google.com by [email protected] on 22 Mar 2013 at 12:02

Compile Error on Linux Mint 16

Hi, so I was following a tutorial which showed installation of SSL-vision on 
Ubuntu, but as I have Linux Mint on my laptop, I thought to try on ti first.

When I type in make at terminal, I get the following error

zaid@zp ~/ssl-vision-read-only $ make
cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
Qt QTOPENGL library not found.
-- Build Type: Release
-- Arch: x86_64
-- CC Flags: -DNDEBUG -O3 -march=native -Wl,--no-as-needed
-- Custom CC Flags: 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/zaid/ssl-vision-read-only/build
make -C build
make[1]: Entering directory `/home/zaid/ssl-vision-read-only/build'
make[2]: Entering directory `/home/zaid/ssl-vision-read-only/build'
make[3]: Entering directory `/home/zaid/ssl-vision-read-only/build'
make[3]: Leaving directory `/home/zaid/ssl-vision-read-only/build'
[  2%] Built target GenerateProto
make[3]: Entering directory `/home/zaid/ssl-vision-read-only/build'
make[3]: Leaving directory `/home/zaid/ssl-vision-read-only/build'
make[3]: Entering directory `/home/zaid/ssl-vision-read-only/build'
[  2%] Building CXX object CMakeFiles/sslvision.dir/src/shared/gl/glcamera.cpp.o
In file included from 
/home/zaid/ssl-vision-read-only/src/shared/gl/glcamera.cpp:22:0:
/home/zaid/ssl-vision-read-only/src/shared/gl/glcamera.h:24:19: fatal error: 
GL/gl.h: No such file or directory
 #include "GL/gl.h"
                   ^
compilation terminated.
make[3]: *** [CMakeFiles/sslvision.dir/src/shared/gl/glcamera.cpp.o] Error 1
make[3]: Leaving directory `/home/zaid/ssl-vision-read-only/build'
make[2]: *** [CMakeFiles/sslvision.dir/all] Error 2
make[2]: Leaving directory `/home/zaid/ssl-vision-read-only/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/zaid/ssl-vision-read-only/build'
make: *** [build] Error 2
[2]zaid@zp ~/ssl-vision-read-only $ 



The tutorial I followed is this: 
http://robosprint.com/RoboSprint2014/Ubuntu_SSL_grSim_Manual.pdf

Original issue reported on code.google.com by [email protected] on 23 Oct 2014 at 4:40

Error to compile program to export SSL data

Hello everybody

I tested a simple program to export localization data from SSL,
follows the program:

exemplo.txt

But when I try to compile the program in terminal this error appears:

ubuntu@ubuntu:~/Documents/test$ g++ exemplo.cpp
exemplo.cpp:9:46: fatal error: messages_robocup_ssl_geometry.pb.h: Arquivo ou diretório não encontrado (No input files)
compilation terminated.

Could you please help me to find what is the problem ?

Installation in Windows

What version of the product are you using? On what operating system?

SSL Vision 184

Windows XP


Hello everyone

I'm trying to install ssl vision in windows XP. I really appreaciate if you
have a workaround to install the software in windows computers.

Regards!!!

Original issue reported on code.google.com by [email protected] on 19 Mar 2010 at 2:03

Problem detecting patterns

Hi!
Because of the room size, we made a field 5 times smaller, we also had to scale down the robot sizes. Long story short, we detect robots, but we can't recognize the single patterns from a team.

When "Load image files" is not selected, this is what I see:
image
It gives exactly the position of every robot and its team color, but we cannot tell which robot specifically it is. In that matter, we needed to load the pattern in order to identify the robots.

This is how we have configured the blue team (when telling it to tell load image file):
image
As You can see, in terminal it printed that it couldn't load the image file, I don't know why.

And when it's configured as said previously, this is what I see in graphicalClient:
image

In the pattern directory, there's the file blue.png and blue.svg containing the patterns of the blue team (and there's one for the yellow team too).

Any suggestions on that? I have set that the camera height is 5 meters, because the camera is at about 1 meter from the field. By the way, we currently use a Stingray F046C.

Linker Errors on Ubuntu 11.10

Hi All,

I've experienced some strange behaviors while trying to compile r198 on Ubuntu 
11.10. 

After upgrading to Ubuntu 11.10 from 11.04, I faced to many linker errors while 
trying to compile SSL-Vision. I found out that the $QT_LIBRARIES variable in 
the CMakeList.txt points to wrong place, /usr/lib instead of currect 
/usr/lib/i386-linux-gnu/. This seems like a upgrade problem/bug.

I started again with a fresh install of Ubuntu 11.10 with all SSL-Vision 
required libraries installed. This time the $QT_LIBRARIES pointed to the 
correct place, however I receive this strange error while doing `make`:

[ 60%] Building CXX object CMakeFiles/client.dir/src/client/main.cpp.o
Linking CXX executable bin/client
libsslvision.a(robocup_ssl_client.cpp.o): In function 
`RoboCupSSLClient::RoboCupSSLClient(int, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)':
robocup_ssl_client.cpp:(.text+0x27): undefined reference to 
`QMutex::QMutex(QMutex::RecursionMode)'
robocup_ssl_client.cpp:(.text+0xc3): undefined reference to `QMutex::~QMutex()'
libsslvision.a(robocup_ssl_client.cpp.o): In function 
`RoboCupSSLClient::~RoboCupSSLClient()':
robocup_ssl_client.cpp:(.text+0x127): undefined reference to `QMutex::~QMutex()'
robocup_ssl_client.cpp:(.text+0x15d): undefined reference to `QMutex::~QMutex()'
collect2: ld returned 1 exit status
make[2]: *** [bin/client] Error 1
make[1]: *** [CMakeFiles/client.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by [email protected] on 14 Oct 2011 at 11:25

My robot do not appears in graphicalclient

Hello, I already calibrate YUV, and configurate a team inside of vision, but when I open the graphicalClient, my robot do not appears, is there any setting that need to be changed before open graphicalClient?

captura de tela de 2017-06-12 17-51-37

captura de tela de 2017-06-12 17-17-01

Ability to edit Firewire packet size

SSL-Vision currently always sets the Firewire packet size to the "recommended" 
packet size provided by DC1394. For one of our cameras, this breaks in YUV411 
mode (a slightly smaller packet size is needed for reliable transmission). The 
attached patch allows the user to edit the Firewire packet size in the 
configuration tree, with zero meaning the recommended size.

Original issue reported on code.google.com by [email protected] on 19 Aug 2011 at 12:15

Attachments:

USB Camera / OpenCV Support Integration

Hi,

So, we are working with USB cameras, specifically the Playstation 3 EYE Camera, and in order to use that we need USB Camera and OpenCV Support, which we have from an OLD fork of ssl-vision which is here
https://github.com/xuyuan/ssl-vision

Can someone help me, or guide me a bit on how I can integrate the OpenCV support in the current version of ssl-vision, i.e. this repo.

Running vision system with AVT Guppy Camera

What is the expected output? What do you see instead?
We have been modifying the (format/resolution/framerate) parameters to fit the 
camera's 
specification, but we have never been able to run the program using the DC1394 
capture setting. 
We were able however to get parameters and values selecting the "Read from 
file" capture 
setting.

What version of the product are you using? On what operating system?
We are using ubuntu 10.04 LTS, an AVT Guppy camera. According to the camera 
datasheet the 
camera supports a set of settings included in the vision program.

Please provide any additional information below.
Here's the latest entries to my Scrapbook, which includes the issues concerning 
our request:
...
• Capture Settings Parameters: Capture format :auto // use 1394B = true // 
use ISO800 true. 
OUTPUT:
    CaptureDC1394vc Info: got iso channel: 7
    CaptureDC1394     Error: unable to set operation mode. Resuming nevertheless
    CaptureDC1394 Info: using legacy 1394A
    libdc1394   Error: An ISO speed bigger than 400Mbps was requested while the
        camera is in LEGACY mode. Please set the operation mode to
        OPERATION_MODE_1394B before asking for 1394b ISO speeds
    CaptureDC1394v2 Error: unable to set ISO speed!

• Paramteros: Capture format :auto // use 1394B = false // use ISO800 false. 
Errores:
      libdc1394 error: Error: Failed to allocate iso bandwith
      libdc1394 error: Error: Failed to setup DMA capture
      CaptureDC1394v2 Error: unable to setup capture. Maybe selected combination of 
Format/Resolution is not supported?
• Testing Format/Resolution Settings:
∘ Capture format= format7_1(2,3,...,7) produces the OUTPUT: 
     Selected mode (format/resolution/framerate) is not supported by camera




Original issue reported on code.google.com by [email protected] on 7 May 2010 at 9:15

Colour Tunning

Is there any sophiscated and easy way to do the colour tunning?

Yusuf


Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 4:27

having trouble in detecting pattern

Hi, I'am having trouble detecting the patterns and tweaking the marker settings but I can detect the ball just fine. I've done every instructions needed but then got stuck on the tweaking part. I'm using v4l for the stream. I detected the blob just fine but couldn't get it to show on the graphical client. Sorry, I'm new to this and need some directions. thank you.

screenshot from 2016-12-21 21 14 27

Setup for half field?

Is it still possible to setup ssl-vision with 2 cameras for a half-size field? And if so, is there any documentation on how to do this? I'm a little confused on what camera indices to use and how to setup the control points.

graphicalClient often crashes & invalid pointer in vartypes

1)graphicalClient often crashes from unknown reason (segmentation fault).
Sometimes the old ball isn't cleared from the window (the real one + the
old one that isn't exist in the packet).

2)Vartypes generates an invalid xml file from using an pointer to local object.
It causes no problem in Linux (I don't know why), the problem happens in
Windows when I tried to build an example project (vartypes).
The detail described in vartypes project.

This is not an issue when running sslvison but I think it should be fixed.
This issue may occurs in the competition :P.

Original issue reported on code.google.com by [email protected] on 28 Jul 2009 at 3:17

request for installable packge that could be seeded into deb/rpm repos

Request for a packaged binary version that correctly enumerates (and installs) required libraries. With the availability of modern CI services and other resources, it would be great if ssl-vision could be built and distributed through a common deb package. There appear to be some control files in the tree already, but it's not clear how and when they are used. Below are proposed acceptance criterion for this issue.

  • a packaged deb file for at least Ubuntu 12.X and Ubuntu 14.X
    • both of these Ubuntu images are available as CI environments within travis
    • proposed solution: utilization of the CPack functionality available in CMake (current build driver)
  • a stable build indicator (and integrator) for new development PR's and commits so that the burden on the project maintainer is reduced (and acceptance time is minimized)
    • proposed solution: Introduction of a .travis.yml file and update of CMake utilities to use the packaging utilities already available
    • typically with modern CI's, this functionality will come for free, but it does require a few github authorizations from the project manager

QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus

What steps will reproduce the problem?
1. /ssl-vision-read-only/bin# ./vision
2.
3.

What is the expected output? What do you see instead?
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 

What version of the product are you using? On what operating system?
ssl-vision-read-only on ubuntu 10.4

Please provide any additional information below.
I have an avt stingray connected and I am trying to run the ss-vision. The GUI 
displays but I cant get a video. Please any help will be appreciated. 

Original issue reported on code.google.com by [email protected] on 12 Jul 2010 at 10:43

Graphical Client Issue

Hello everyone This is Antonio from the robobulls team I am having a bit of an 
issue. I am transferring our stuff from windows to Linux we managed to get 
everything set up vision system works and so does the graphical client.
I am trying to enhance the graphical client by adding some extra buttons but to 
even consider tackling that I first need to open and compile the graphical 
client in Qt I believe I found the correct source and after a couple of changes 
I got through a few minor details, the thing holding me back now is an error I 
do not know how to fix or get around I tried search engines but there was 
literally no results for my type of error I am hoping someone may have familiar 
knowledge of the situation or Qt the error is CentralWindow.cpp:119: error: 
'UnicodeUTF8' is not a member of 'QApplication' I have looked at the encoder 
and it is set to UTF8 that was one of the suggestions I found online aside from 
that I am stumped hope someone can assist. 

I am using QtCreator 2.62 and Qt 5.01
I have attached the file in question as well it is all files from the GClient 
provided in the SSL download package  

Original issue reported on code.google.com by [email protected] on 27 Mar 2013 at 6:01

Attachments:

does not build in latest ubuntu

When trying to build using the latest ubuntu (Jaunty). I have problems
compiling. It says that Cholesky does not exist in Eigen. I have tried
setting 'EIGEN_EXTERN_INSTANTIATIONS' but that just leads to more problems.
Is there a specific version of eigen that should be used in the 2.0 line?

Original issue reported on code.google.com by [email protected] on 12 Apr 2009 at 6:12

How to access the packet after click in Publish

Hello,

My robot appears in graphicalClient, and as I read here, the next step to get the localization of the robot, is Publish the packet with the information, right?
But how can I check this packet? after I ¨Publish¨, where can I check the robot information?

Thank you all in advance

captura de tela de 2017-08-09 15-08-43

4 Camera development support

Creation n of an experimental branch for the 4 camera SSL-Vision and 
development towards the solution.
As requested by Tigers Mannheimm and the TC for RoboCup 2013

Original issue reported on code.google.com by [email protected] on 15 Apr 2013 at 11:50

Can't find GL/gl.h

What steps will reproduce the problem?
1. the latest version of ssl, Ubuntu 10.04.3 LTS 
2. install all required software in README
3. make 

What is the expected output? What do you see instead?
:expected output is make without errors and warnnings,but there are some errors 
about "cannot find GL/gl.h"

What version of the product are you using? On what operating system?
: r198      ubuntu10.04.3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Aug 2011 at 5:59

V4L Code, VarTree CLeanup

The V4L drivers are sorely in need of a cleanup. Dead code needs to be removed, additional cmaera settings need to be added, and the associated VarTree structure needs to be pared down. #53

Save settings in SSL

Hello,

I want to know if only are having this problem, I couldn't save anything I changed in SSL vision.
Example: I calibrated the field and YUV colors Thresholding, but even I click in "Save settings" and after click in "X" to close the program, when I open again the calibration had been lost,
Could anyone help me about this, please?

Preview window does not render an image

The preview window does not render an image unless it is flipped 
vertically XOR horizontally. This is because backface culling is enabled. 
Backface culling is totally pointless when the only thing OpenGL is being 
used for is to draw a single 2D image into a viewport (for that matter, 
why is OpenGL even used here?)

Also, again since the only thing being rendered is a single 2D image, 
there is no point enabling alpha testing, blending, or stencil testing. 
These are just an utter waste of potential performance.

The attached patch disables everything except multisampling (multisampling 
could potentially improve graphical quality), thus fixing the bug and also 
potentially improving performance, especially for people using lower-end 
graphics hardware.

Original issue reported on code.google.com by [email protected] on 5 May 2009 at 6:40

Attachments:

4-camera setup not documented well

It was brought up at the committee meeting that the new four-camera SSL-Vision is not documented very well—things like what names should be used for control points to be “standard” are not listed anywhere.

Begginer's Doubt about SSL vision and Robot Strategy

Hello everybody,

I have a doubt basic doubt and Excuse my ignorance in SSL vision, but could anyone help to explain about,
Is possible to put the game strategy in SSL vision, and SSL vision sends commands to the robot?
ssl - robot

Or SSL vision only receives the image and provides the image information to the program Strategy that sends commands to robots?
ssl - program - robot

Thank you all

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.