Compiling the SpireCV-ROS Interface
1. First, install the SpireCV SDK.
1 min read · English documentation-
First, install the SpireCV SDK.
-
Install ROS. ROS is already installed if you installed Prometheus first.
-
Run the following commands.
git clone -b prometheus_gazebo https://gitee.com/amovlab1/spirecvkitros.git
# Rename the downloaded spirecvkitros folder to spirecv-ros.
cd spirecv-ros
chmod +x build.sh
./build.sh
# Add it to the startup commands.
echo "source ~/spirecv-ros/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
Its location should be similar to the following:
source /opt/ros/noetic/setup.bash
source /home/amov/prometheus_mavros/devel/setup.bash
source ~/Prometheus/devel/setup.bash
source ~/spirecv-ros/devel/setup.bash
export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:~/Prometheus/devel/lib
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/Prometheus/Simulator/gazebo_simulator/gazebo_models/uav_models
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/Prometheus/Simulator/gazebo_simulator/gazebo_models/ugv_models
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/Prometheus/Simulator/gazebo_simulator/gazebo_models/sensor_models
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/Prometheus/Simulator/gazebo_simulator/gazebo_models/scene_models
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/Prometheus/Simulator/gazebo_simulator/gazebo_models/texture
