I'm trying to run the script using Foxy - Ubuntu 20.04 Setup. It seems that to be able to run the script one must have python3-rospkg package. Even if I source my foxy setup.bash file,
ROSDISTRO="$(rosversion -d)"
doesn't work. Instead we can use
ROSDISTRO="$(printenv ROS_DISTRO)"
for deciding the ROSDISTRO variable, since in the instructions it says we should source the correct setup.bash beforehand.
In addition to that
if [ LASER_SENSOR=="-" ]
then
LASER_SENSOR=""
fi
if [ DEPTH_SENSOR=="-" ]
then
DEPTH_SENSOR=""
fi
part is eliminating every sensor thats given. Please take a look at this part, I fixed those parts by changing it to
if [ -z "$LASER_SENSOR" ]
then
LASER_SENSOR=""
fi
if [ -z "$DEPTH_SENSOR" ]
then
DEPTH_SENSOR=""
fi
Hi,
I'm trying to run the script using Foxy - Ubuntu 20.04 Setup. It seems that to be able to run the script one must have python3-rospkg package. Even if I source my foxy setup.bash file,
doesn't work. Instead we can use
for deciding the ROSDISTRO variable, since in the instructions it says we should source the correct setup.bash beforehand.
In addition to that
part is eliminating every sensor thats given. Please take a look at this part, I fixed those parts by changing it to