Closed liangyongjue closed 1 year ago
You should try to open a new terminal and source the environment again!
Hi Antonio, I have a new terminal open, and resource the environment:
source devel/setup.bash
But it didn't work. What I want to ask is whether I should modify the various file paths in "bebop_launch.launch", and if so, how should I modify them(I can't find some files):
<?xml version="1.0"?>
<launch>
<arg name="namespace" default="bebop" />
<arg name="ip" default="192.168.42.1" />
<arg name="drone_type" default="bebop2" /> <!-- available drone types: bebop1, bebop2 -->
<arg name="config_file" default="$(find bebop_driver)/config/outdoor.yaml" />
<arg name="camera_info_url" default="package://bebop_driver/data/$(arg drone_type)_camera_calib.yaml" />
<group ns="$(arg namespace)">
<!-- nodelet manager -->
<node pkg="nodelet" type="nodelet" name="bebop_nodelet_manager" args="manager" output="screen"/>
<!-- bebop_nodelet -->
<node pkg="nodelet" type="nodelet" name="bebop_nodelet"
args="load bebop_driver/BebopDriverNodelet bebop_nodelet_manager">
<param name="camera_info_url" value="$(arg camera_info_url)" />
<param name="bebop_ip" value="$(arg ip)" />
<rosparam command="load" file="$(arg config_file)" />
</node>
<include file="$(find bebop_description)/launch/description.launch" />
</group>
</launch>
Hi Antonio,
Thank you @antonilo very much for sharing your great work out.
I installed necessary pieces followed the intructions of "drone_control/dronet" until step 6, but in this step, I encountered some problems.
When I run "roslaunch bebop_launch.launch" for a test, I got some issues: I can't find the cpp file containing these two nodelet nodes in "bebop_launch.launch":
How can I solve this problem?