lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
184 stars 90 forks source link

Assistance with Installing vision_visp in ROS Humble #136

Open m11112089 opened 7 months ago

m11112089 commented 7 months ago

Hello,

Here are the steps to address some common installation challenges with the vision_visp package:

  1. Install camera-calibration-parsers

    $ sudo apt install ros-humble-camera-calibration-parsers

error_1

  1. Install image_proc

    $ sudo apt install ros-humble-image-proc

error_2

  1. Install rosbags

$ pip install rosbags

error_3

if Python's pip is not installed.

$ sudo apt install python3-pip

Screenshot from 2024-04-15 11-17-57

If rosbags-convert is still not found, add the local bin directory to your PATH:

$ export PATH=$PATH:~/.local/bin

error_3_1

  1. 'rosbags parameter error'

$ pip install rosbags==0.9.22

If you're experiencing parameter errors with rosbags, it might be due to updates in the package. Here are the relevant versions:

Screenshot from 2024-04-15 11-23-45

  1. ViSP Version Changes The vpMeSite class has undergone changes in member variables from ViSP 3.5.0 to ViSP 3.6.0:

    • ifloat -> m_ifloat
    • jfloat -> m_jfloat

    If you have downloaded ViSP 3.6.0, please update your code from ifloat to m_ifloat and from jfloat to m_jfloat. Alternatively, you can try the pre-fixed version from my repository:

    $ cd your/workspace/src $ git clone https://github.com/m11112089/vision_visp.git -b fix_build_bug

Screenshot from 2024-04-15 13-07-28

@fspindle, given the recent challenges faced by some users, including myself, I wonder if it might be possible to review and potentially update the parameters for rosbags and refine the README.md to enhance clarity and ease of installation. I understand these changes might require some time and effort, and I'm more than willing to assist or even handle the updates through a PR if that would be helpful.

mandzsub commented 7 months ago

Hello @m11112089 , I find your summary very useful, however I have encountered another issue when trying to build vision_visp. Could you please take a look at it, what might be causing the problem? image