Using USB API (MTP) with libghoto2 and Python bindings on MacOS, Raspberry Pi, Linux, ROS

Maybe the problem is that the lib that can be installed with apt is not updated to the latest version of git yet, and it works fine if you install it from the git source.
So I’m going to change the process to the following

  1. Try it with a lib you got with apt (it’s expected to not work properly. Continue with the test in 4)
  2. Try it with a lib you got with git (it’s expected to not work properly.)
  3. Try with a modified lib in a clean environment. (It is expected to work properly.)
  4. Uninstall the apt lib introduced in step 1, and try the modified lib. (Same as above.)