Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ fi

mode="${1}"
if [ "${mode}" = "gstreamer" ]; then
ros-with-env ros2 run depthai_ctrl gstreamer_node \
--ros-args \
--remap __ns:=/$DRONE_DEVICE_ID \
-p address:=$RTSP_SERVER_ADDRESS/$DRONE_DEVICE_ID &
echo "this mode no longer supported."
exit 1
else
ros-with-env ros2 launch depthai_ctrl depthai_launch.py ${ROS_FLAGS}&
fi
Expand Down