[ERROR] [1588286007.343230]: Current /drone/down_camera/image_raw not ready yet, retrying for getting down_camera_rgb_image_raw
I am using a script (appended to the end of this post) to setup my workspace on my Ubuntu18.04. After setting everything up I ran the following lines:
Terminal 1: roslaunch my_parrotdrone_openai_example start_training_v2.launch
Terminal 2: rosrun sjtu_drone start_gui
However I'm receiving the error:
[ERROR] [1588286007.343230]: Current /drone/down_camera/image_raw not ready yet, retrying for getting down_camera_rgb_image_raw
When doing a rostopic list, I only have the following /drone related topics available:
/drone/down_camera/image_raw
/drone/gt_acc
/drone/gt_pose
/drone/gt_vel
/drone/imu
/drone/land
/drone/posctrl
/drone/reset
/drone/sonar
/drone/takeoff
/drone/vel_mode
When looking at the source code, it appears there are a lot of missing camera topics.
When I run different non-openai launch file, i.e., roslaunch sjtu_drone contest.launch
, all topics are available.
How do I fix the missing-topic issue?
Setup Script:
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Get Base Packages
mkdir -p ~/simulation_ws/src
cd ~/simulation_ws/src
git clone -b version2 https://bitbucket.org/theconstructcore/openai_ros.git
git clone -b version2 https://bitbucket.org/theconstructcore/openai_examples_projects.git
git clone -b kinetic-gazebo9 https://bitbucket.org/theconstructcore/parrot_ardrone.git
sed -i "s/user/$USER/g" ~/simulation_ws/src/openai_examples_projects/my_parrotdrone_openai_example/config/*v2.yaml
# Install Dependencies
# sudo rosdep init # run this line if first time running
rosdep update
rosdep install --from-paths . -i
# Build
cd ~/simulation_ws
catkin_make
source devel/setup.bash
rospack profile
cd $DIR
I would really suggest you post an issue on the
theconstructcore
repositories, as it would appear almost all packages you use come from there.The chances their devs/maintainers/instructors see you post here are rather slim.
If you do end up posting on their issue trackers, please post a comment here with a link to your issue, so we can keep things connected.
Just posted. Here's the link