Comments (16)
@Serafadam @sloretz Was there a workaround for this issue?
from depthai-ros.
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.
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.
depthai packages are back in ROS Noetic
- https://repositories.ros.org/status_page/ros_noetic_default.html?q=depthai
- https://discourse.ros.org/t/new-packages-for-noetic-2024-06-20/38278
from depthai-ros.
@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.
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.
New version of depthai
with correct flags has been pushed to rosdistro.
from depthai-ros.
New version of
depthai
with correct flags has been committed to rosdistro.
How do I find it?
from depthai-ros.
New version of
depthai
with correct flags has been committed to rosdistro.How do I find it?
Waiting for the same!!
from depthai-ros.
@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.
- 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
- clone v2.9 of depthai-ros
- catkin build
from depthai-ros.
@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.
- 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
- clone v2.9 of depthai-ros
- catkin build
Do I need to remove my previous installation of depthai-core. If so, how.
from depthai-ros.
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.
@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.
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.
Will there be any intention to release ros-noetic-depthai-ros?
from depthai-ros.
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)
- "/rtabmap: Did not receive data since 5 seconds!" when running `rtabmap.launch` in ROS Noetic. HOT 2
- [BUG] {Unable to get stable 30FPS for RGBD pipeline} HOT 2
- 3d Map generated from rtabmap-ros does not accurate enough to visualize the real environment HOT 7
- [Feature-Request] Respawning composed node in rgbd_plc.launch.py, restarting from failed states. HOT 2
- [BUG] Multiple cameras on same nodelet generate segfault/crash (ROS Noetic) HOT 4
- [question] OAK-D Pro config HOT 1
- [BUG] {Problem with 3D Reconstruction} HOT 6
- Reduce latency ROS HOT 6
- [BUG] Humble ros_bridge does spatial detection missing fields
- [BUG] Missing depthai-ros packages on Noetic HOT 2
- rtabmap_fix_noetic
- [Dockerfile humble] Doesn't build
- Different intrinsic matrix values for rectified left and right lens HOT 2
- Issue with launching depthai_ros_driver camera.launch.py [Oak-D Pro POE camera] HOT 1
- [BUG] Generic ROS2 driver output for spatial yolo is incorrect HOT 3
- [BUG] error failing to build the package for ROS noetic HOT 1
- [BUG] Error when including xacro file in my robot description HOT 7
- [BUG] WLS filtered image all black HOT 4
- rtabmap.launch Did not receive data since 5 seconds!(ROS-noetic)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from depthai-ros.