Comments (5)
Hi @Felix00643298, well PylonInitialize() ist loading the complete pylon runtime environment for the given application and should be called ideally only once.
For more information you may also refer to: https://docs.baslerweb.com/pylonapi/cpp/pylon_programmingguide#initializationuninitialization-of-the-pylon-runtime-library
from pylon-ros-camera.
Hi @Felix00643298, well PylonInitialize() ist loading the complete pylon runtime environment for the given application and should be called ideally only once. For more information you may also refer to: https://docs.baslerweb.com/pylonapi/cpp/pylon_programmingguide#initializationuninitialization-of-the-pylon-runtime-library
In my ROS system, there are multiple Basler cameras, and I initialize each camera sequentially using ROS plugins. This is a multi-threaded system, and currently, I call PylonInitialize once in the constructor of each Basler class. However, it seems to make the program very unstable, and I'm unsure if what I'm doing is incorrect.
basler::basler()
{
PylonInitialize();
}
basler::~basler()
{
PylonTerminate();
}
from pylon-ros-camera.
Hello @Felix00643298
Do you use at all the ROS Basler driver in your setup? You can call one driver instance per camera.
from pylon-ros-camera.
Hello @Felix00643298 Do you use at all the ROS Basler driver in your setup? You can call one driver instance per camera.
Thanks for replying me.
Do you mean using one dirver instance to init all basler camera and make sure PylonInitialize is only called once?
from pylon-ros-camera.
Hello @Felix00643298
You are posting here an issue that should be related to the ROS pylon driver: https://github.com/basler/pylon-ros-camera
Are you using this driver to operate your cameras? Otherwise, you need to contact Basler support I guess.
Looking at your issue, it should not be a problem to call in several instances PylonInitialize. Can you explain a bit more what you are trying to do ? and eventually provide with code examples so that your issue can be reproduced ? You are writing that your program is very unstable, can you be more specific and provide with error messages ?
from pylon-ros-camera.
Related Issues (20)
- pylon_camera fps not reaching set frame_rate HOT 8
- Camera Config help for short range imaging HOT 2
- Connection multiple cameras ROS2 and publish images HOT 2
- ACE cameras PTP synchronization (acA_1920-40gc) HOT 2
- No available camera. Keep waiting and trying... HOT 2
- Synchronization error with image timestamp
- [Humble] Don't waste time on blocking image data readout HOT 4
- How to extract the different intensities from the polar camera rostopic /image_raw HOT 3
- Merge PR168_change_setLineMode_behavior into Humble HOT 1
- Cannot connect and get images from Blaze over a router HOT 3
- BUG: Image Encoding Parameter is not read as expected HOT 1
- Blaze depth map encoding HOT 6
- Cannot access ethernet camera from within docker container HOT 1
- Not able to change pins Line2 and Line3 mode with camera Ace2 HOT 3
- GenAPI|ROS image_encodings: [BayerGR8'|NO_ROS_EQUIVALENT']
- Error connecting to Basler A2a2600-20gcPRO REV: 12 through default.yaml HOT 1
- BUG: ROS 1 (master branch) package.xml version is not updated HOT 2
- BUG: Large memory leak for every Blaze image HOT 4
- changes not reflected when launching camera with reverse_x and reverse_y set to true HOT 2
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 pylon-ros-camera.