Giter VIP home page Giter VIP logo

Comments (12)

pablo-quilez avatar pablo-quilez commented on July 20, 2024 2

Hello,

it may be related to software triggering. This software triggering may reduce the framerate to 50%. This topic is something which we will address together with the other similar open issues.

Thanks!

from pylon-ros-camera.

claudiofantacci avatar claudiofantacci commented on July 20, 2024

May be related to #28 and/or #29.

from pylon-ros-camera.

arunavanag591 avatar arunavanag591 commented on July 20, 2024

Is there a test branch or PR that has contains those changes in #28 and #29 ?

from pylon-ros-camera.

claudiofantacci avatar claudiofantacci commented on July 20, 2024

Hey @arunavanag591! Unfortunately I have no code available, but you can easily test it by just hardcoding fixed timeouts and by passing a non default first argument to the camera constructor.

from pylon-ros-camera.

arunavanag591 avatar arunavanag591 commented on July 20, 2024

Does the enum TriggerModeEnums as worked around here needs to be implemented?

try
{
int timeout = 5000; // ms
// WaitForFrameTriggerReady to prevent trigger signal to get lost
// this could happen, if 2xExecuteSoftwareTrigger() is only followed by 1xgrabResult()
// -> 2nd trigger might get lost
if ((cam_->TriggerMode.GetValue() == TriggerModeEnums::TriggerMode_On))
{
if ( cam_->WaitForFrameTriggerReady(timeout, Pylon::TimeoutHandling_ThrowException) )
{
cam_->ExecuteSoftwareTrigger();
}
else
{
ROS_ERROR("Error WaitForFrameTriggerReady() timed out, impossible to ExecuteSoftwareTrigger()");
return false;
}
}
cam_->RetrieveResult(grab_timeout_, grab_result, Pylon::TimeoutHandling_ThrowException);
}

from pylon-ros-camera.

claudiofantacci avatar claudiofantacci commented on July 20, 2024

I didn’t change that specifically. Just reduced the timeout and no buffermode on camera

from pylon-ros-camera.

arunavanag591 avatar arunavanag591 commented on July 20, 2024

I tried all the recommended values in the issues but they did not work ! I am capped at 75 fps. The values maybe specific to the model of the camera.
My model is : Basler acA1300-200uc

from pylon-ros-camera.

claudiofantacci avatar claudiofantacci commented on July 20, 2024

Yes, most probably. Just out of curiosity: are you losing/dropping a lot of frames?

from pylon-ros-camera.

arunavanag591 avatar arunavanag591 commented on July 20, 2024

@pablo-quilez is there a PR or issue I can follow ?

from pylon-ros-camera.

pablo-quilez avatar pablo-quilez commented on July 20, 2024

@arunavanag591 not yet, sorry, but I will keep you informed.

from pylon-ros-camera.

pablo-quilez avatar pablo-quilez commented on July 20, 2024

Hello @arunavanag591,

I hope the last update we did in devel branch will solve this issue. I keep the issue open for a while until someone else can verify the correct behavior. Thanks!

Cheers

from pylon-ros-camera.

FrancoisPicardDTI avatar FrancoisPicardDTI commented on July 20, 2024

Closing the issue here as it seems that the update from December 15th, 2020 solved the problem.

from pylon-ros-camera.

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.