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

sample launch file drone not follow the set trajectory in sample #18

Open
aluminium8 opened this issue Feb 28, 2023 · 1 comment
Open

Comments

@aluminium8
Copy link

os: ubuntu 20.04
ros version: noetic

what i did

  1. clone https://github.com/Jaeyoung-Lim/mavros_humantracking and https://github.com/Jaeyoung-Lim/mavros_controllers in ~/catkin_mavros/src and build them in ~/catkin_mavros.
  2. source below bash script in ~/px4/PX4-Autopilot
source /opt/ros/noetic/setup.bash
DONT_RUN=1 make px4_sitl_default gazebo-classic
source ~/catkin_mavros/devel/setup.bash 
source Tools/simulation/gazebo-classic/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/simulation/gazebo-classic/sitl_gazebo-classic
  1. launch sample file

but spawnd drone Flying a messed up trajectory.

roslaunch humantracking_controller sitl_humantrack_circle.launch
one

roslaunch humantracking_controller multi_sitl_humantrack_circle.launch
multi

Am I doing something wrong with the procedure?

@aluminium8
Copy link
Author

Please forgive me I should avoid topics that are not related to this issue.
I had trouble controlling the gimbals of multiple drones and wanted to try this because it was introduced as a sample in this
issue [https://github.com/PX4/PX4-SITL_gazebo-classic/issues/540].

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

1 participant