Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roslaunch bebop_launch.launch #50

Closed
liangyongjue opened this issue Nov 23, 2022 · 2 comments
Closed

roslaunch bebop_launch.launch #50

liangyongjue opened this issue Nov 23, 2022 · 2 comments

Comments

@liangyongjue
Copy link

liangyongjue commented Nov 23, 2022

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":

<node pkg="nodelet" type="nodelet" name="bebop_nodelet"
          args="load bebop_driver/BebopDriverNodelet bebop_nodelet_manager">

How can I solve this problem?

@antonilo
Copy link

You should try to open a new terminal and source the environment again!

@liangyongjue
Copy link
Author

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants