Skip to content

Commit

Permalink
better documentation for setting GENTL variable
Browse files Browse the repository at this point in the history
  • Loading branch information
berndpfrommer committed Oct 8, 2024
1 parent 30c8e0c commit 5ea9446
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions spinnaker_camera_driver/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,7 @@ your machine.

.. code::
export
SPINNAKER_GENTL64_CTI=/opt/ros/${ROS_DISTRO}/lib/spinnaker-gentl/Spinnaker_GenTL.cti
export SPINNAKER_GENTL64_CTI=/opt/ros/${ROS_DISTRO}/lib/spinnaker-gentl/Spinnaker_GenTL.cti
2) Add the “flirimaging” group and make yourself a member of it

Expand Down
7 changes: 6 additions & 1 deletion spinnaker_camera_driver/scripts/linux_setup_flir
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ echo ""
echo -e "\e[32mStarting spinnaker_camera_driver setup script\e[0m"
echo ""


while true; do
read -p "Add the flirimaging group? (y/n)? " yn
case $yn in
Expand Down Expand Up @@ -66,4 +67,8 @@ done
echo ""
echo -e "\e[32mDone: spinnaker_camera_driver setup script\e[0m"
echo "Please reboot the device to ensure changes have taken full effect"
echo ""
echo ""

echo "Don't forget to add this line to your .bashrc: "
echo ""
echo "export SPINNAKER_GENTL64_CTI=/opt/ros/\${ROS_DISTRO}/lib/spinnaker-gentl/Spinnaker_GenTL.cti"

0 comments on commit 5ea9446

Please sign in to comment.