Giter Site home page Giter Site logo

Comments (16)

chrismcclurg avatar chrismcclurg commented on July 18, 2024 6

@Serafadam @sloretz Was there a workaround for this issue?

from depthai-ros.

ZenoRobotics avatar ZenoRobotics commented on July 18, 2024 1

I wasted a lot of time this weekend trying to figure out why ros-noetic-depthia-ros disappeared and why I was getting such a strange error after reflashing my microSD card and reloaded depthai ros. Chased a lot of red herrings along the way, then repeating the reflash/rebuild process several times. It would be nice if this information wasn't buried here, but was somehow sent to the user. You need to change your instruction page at: https://docs.luxonis.com/software/ros/depthai-ros/ . This issue rendered my use of the Oak camera useless, so I then went back to my RS D435i. Ugh!!!

from depthai-ros.

tetov avatar tetov commented on July 18, 2024 1

Until new ros-noetic-depthai and ros-noetic-depthai-ros makes its way to the stable ros apt repo you can just change

deb http://packages.ros.org/ros/ubuntu focal main

in /etc/apt/sources.list.d/ros-latest.list to

#deb http://packages.ros.org/ros/ubuntu focal main
deb http://packages.ros.org/ros-testing/ubuntu focal main

After that you can run:

sudo apt update && sudo apt install ros-noetic-depthai-ros

from depthai-ros.

sloretz avatar sloretz commented on July 18, 2024 1

depthai packages are back in ROS Noetic

from depthai-ros.

Serafadam avatar Serafadam commented on July 18, 2024

@sloretz Thanks for the report, it seems a small change has been omitted which removed arg for building shared libs (although shouldn't buildfarm set it by default anyway?).
To fix that, should I create a new tag under the same name, or bump the release version?

from depthai-ros.

sloretz avatar sloretz commented on July 18, 2024

To fix that, should I create a new tag under the same name, or bump the release version?

Please bump the release version.

from depthai-ros.

Serafadam avatar Serafadam commented on July 18, 2024

New version of depthai with correct flags has been pushed to rosdistro.

from depthai-ros.

gongbingyu avatar gongbingyu commented on July 18, 2024

New version of depthai with correct flags has been committed to rosdistro.

How do I find it?

from depthai-ros.

CharithReddy101 avatar CharithReddy101 commented on July 18, 2024

New version of depthai with correct flags has been committed to rosdistro.

How do I find it?

Waiting for the same!!

from depthai-ros.

anshu3012 avatar anshu3012 commented on July 18, 2024

@gongbingyu @CharithReddy101 @chrismcclurg @sloretz

I was able to build the package by installing v2.24 for depthai-core. Not ideal but seems to work. I will outline the steps hoping it helps while the issue is resolved.

  1. Instead of running the dependency script from the website, make a local script with the following:
set -e

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
cd /tmp
git clone --recursive https://github.com/luxonis/depthai-core.git --branch v2.24.0
cmake -Hdepthai-core -Bdepthai-core/build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build depthai-core/build --target install
cd /tmp
rm -r depthai-core
  1. clone v2.9 of depthai-ros
  2. catkin build

from depthai-ros.

gongbingyu avatar gongbingyu commented on July 18, 2024

@gongbingyu @CharithReddy101 @chrismcclurg @sloretz

I was able to build the package by installing v2.24 for depthai-core. Not ideal but seems to work. I will outline the steps hoping it helps while the issue is resolved.

  1. Instead of running the dependency script from the website, make a local script with the following:
set -e

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
cd /tmp
git clone --recursive https://github.com/luxonis/depthai-core.git --branch v2.24.0
cmake -Hdepthai-core -Bdepthai-core/build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build depthai-core/build --target install
cd /tmp
rm -r depthai-core
  1. clone v2.9 of depthai-ros
  2. catkin build

Do I need to remove my previous installation of depthai-core. If so, how.

from depthai-ros.

tetov avatar tetov commented on July 18, 2024

@anshu3012

Do I need to remove my previous installation of depthai-core. If so, how.

sudo dpkg -r --force-depends ros-noetic-depthai

You can remove it with this.

rosdep will reinstall it though, but you can get away from that using

rosdep install --from-paths src --ignore-src -y --skip-keys=depthai

from depthai-ros.

Serafadam avatar Serafadam commented on July 18, 2024

@ZenoRobotics @tetov @gongbingyu @anshu3012 We apologize for the issues caused by this bug. To get the pre-release packages you can update your apt sources to use ros-testing repository, similarly to how it works here

from depthai-ros.

tetov avatar tetov commented on July 18, 2024

The bug was fixed here: ros/rosdistro#41594

Now it needs to make it's way through the ROS release pipeline from testing to stable.

@Serafadam: Thanks for the quick response! Next time, please give a hint which project's CMake file to fix ;).

from depthai-ros.

gongbingyu avatar gongbingyu commented on July 18, 2024

Will there be any intention to release ros-noetic-depthai-ros?

from depthai-ros.

gongbingyu avatar gongbingyu commented on July 18, 2024

I also specifically agree with his proposal (@ZenoRobotics) to update the instructions in the documentation. It is also suggested to add a specific step for removing the depthai-core installer (both source builds, binary builds, and scripted builds), which would be especially helpful for beginners.

from depthai-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.