Pylon
lastmod 2021-01-28created 2020-11-185 edits
The pylon camera software suite is a software package consisting of an easy-to-use SDK as well as drivers and tools that let you operate any Basler camera on a PC running the Windows, Linux, or macOS operating system.
Basler camera customers can now use the open-source projects "pypylon" and "pylon camera driver for ROS" to develop prototype applications built with the Python programming language and robot applications for the Robot Operating System (ROS).
How to install
- pylon 6.1.2 Camera Software Suite for macOS
- pylon 6.1.1 Camera Software Suite Linux x86 (64 bit) – Debian Installer Package
Download the package from the "pylon software" section of the official website.
How to Run
GigE Vision
Connect the device and the PC together to equipment such as PoE to keep them on the same network. You must run ipconfigurator to set the device's IP address.
PYLON_ROOT settings
Add to .bashrc:
export PYLON_ROOT=/opt/pylon
export PATH=$PYLON_ROOT/bin:$PATH
source $PYLON_ROOT/bin/pylon-setup-env.sh "$PYLON_ROOT"
Troubleshooting
The /opt/pylon/share/pylon/README file summarizes various troubleshooting methods.
When devices don't appear in ipconfigurator
Check whether a firewall such as ufw is enabled. If it is not a firewall problem, it is most likely a Reverse Path Filtering problem.
If the output shows 1 or 2 as below,
change it to 0.
After that, run the /opt/pylon/bin/ipconfigurator program.
See also
Favorite site
References
-
AW00136802000_Getting_Started_with_pylon5_and_OpenCV.pdf ↩