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

Unable to run the simulation following the steps provided #1

Open
lucky5456 opened this issue Sep 16, 2024 · 10 comments
Open

Unable to run the simulation following the steps provided #1

lucky5456 opened this issue Sep 16, 2024 · 10 comments

Comments

@lucky5456
Copy link

Hello, I am trying to replicate the simulation codes using ROS2 humble but drone doesn't starts when I run trajectorytracker and obstacle avoidance.py.
Could you please help me with that?
I am not using docker.

@NustAirworks2022
Copy link

Do you Arm the drone after starting the simulation?

@lucky5456
Copy link
Author

Yes

@lucky5456
Copy link
Author

When should I arm the drone whether before running python script or after running python script?

@NustAirworks2022
Copy link

First change to offboard mode. Then run the script and arm the drone.

@lucky5456
Copy link
Author

It did not work that way also. After arming the drone, it takeoff and don't follow the path.

@lucky5456
Copy link
Author

{C4EB3030-B107-4E8A-94F7-FB8D04C54132}

@NustAirworks2022
Copy link

https://github.com/user-attachments/assets/59716637-8147-4046-a323-127cacf524fa
Try running the code in assignment1 folder.
and If you are still struck first try to run this example.
https://github.com/Jaeyoung-Lim/px4-offboard.git

@theunknowninfinite
Copy link
Owner

theunknowninfinite commented Sep 17, 2024

Hello ,
I have only tried running it in a docker container. Sorry about that .
Can you try arming the drone and flying it a bit off the ground and try starting the python scripts ?
It should work then.

@theunknowninfinite
Copy link
Owner

Were you able to run it ?

@lucky5456
Copy link
Author

lucky5456 commented Oct 12, 2024 via email

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

3 participants