GithubHelp home page GithubHelp logo

alireza787b / mavsdk_drone_show Goto Github PK

View Code? Open in Web Editor NEW
69.0 4.0 22.0 47.8 MB

All in one Drone Show and Smart Swarm Solutin for PX4

Python 91.79% Makefile 0.03% Batchfile 0.26% CSS 1.45% Shell 1.00% HTML 0.25% JavaScript 5.22%
drone mavsdk px4 swarm swarm-robotics mavlinkk

mavsdk_drone_show's People

Contributors

alireza787b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mavsdk_drone_show's Issues

mavsdk subprocess

Hello ! Thanks for your work it's genuiely fantastic.
Though, I'm facing this problem on ubuntu virtual machine :
Uploading image.png…

Any idea what I should do to fix that ?

Many thanks

Decoding problem

An other issue I am encountering with the flask server :

image

My config is the following :
hw_id,pos_id,x,y,ip,mavlink_port,debug_port,gcs_ip
1,1,-1.5,-1.5,127.0.0.1,14551,14550,172.17.0.1

What do you think ? I am not sure I am using the right ports. What is the difference between the mavlink port and the debug ? How can I find those in Qgroundcontrol or Jmavsim?

Many thanks.

Arnaud

Connecting to Pixhawk Hardware

Hello, I have followed your instructions on the YouTube tutorial and got the system working in sitl. I am a beginner and want to try out the offload_from_csv.py using square shape. I cannot figure out which lines I have to edit to connect to an actual pixhawk hardware.
I tried the following,
Edited line 76 with system() to connect to serial acm0
Edited line 197 with mavsdk server
But both of them did not give results, any help is greatly appreciated.

Offboard command issue

Hi I am encountering the following issue when I try to use offboard_from_csv.py

Screenshot 2023-10-25 at 15 34 13

Do you have any idea what could be wrong ?

Thank you.

Error with set_position_velocity_acceleration_ned

Hi, first off great job with this project. We have been doing a lot with PX4 over the years and more recently with Crazyflie swarming. I'm interested in learning more about PX4 swarming and stumbled across this repo. Unfortunately I'm running into a problem with some of the examples and errors with set_position_velocity_acceleration_ned:

Waiting for drone to connect...
-- Connected to drone!
Waiting for drone to have a global position estimate...
-- Global position estimate OK
-- Arming
-- Setting initial setpoint
-- Starting offboard
-- Performing trajectory
 Mode number: 10, Description: Initial climbing state
Traceback (most recent call last):
  File "D:\_repos\mavsdk_drone_show\offboard_from_csv.py", line 204, in <module>
    asyncio.run(main())
  File "C:\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
    return future.result()
  File "D:\_repos\mavsdk_drone_show\offboard_from_csv.py", line 196, in main
    await asyncio.gather(*tasks)
  File "D:\_repos\mavsdk_drone_show\offboard_from_csv.py", line 153, in run
    await drone.offboard.set_position_velocity_acceleration_ned(
  File "D:\_repos\mavsdk_drone_show\mavsdk\offboard.py", line 1482, in set_position_velocity_acceleration_ned
    response = await self._stub.SetPositionVelocityAccelerationNed(request)
  File "D:\_repos\mavsdk_drone_show\venv\lib\site-packages\aiogrpc\channel.py", line 40, in __call__
    return await fut
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
        status = StatusCode.UNIMPLEMENTED
        details = ""
        debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"", grpc_status:12, created_time:"2023-08-18T19:31:42.3218676+00:00"}"
>
Exception ignored in: <function System.__del__ at 0x000001F7AC62B520>
Traceback (most recent call last):
  File "D:\_repos\mavsdk_drone_show\mavsdk\system.py", line 86, in __del__
  File "D:\_repos\mavsdk_drone_show\mavsdk\system.py", line 122, in _stop_mavsdk_server
ImportError: sys.meta_path is None, Python is likely shutting down

I'm also seeing the same when running the offboard_position_velocity_ned.py script. My MAVSDK version is 1.4.8. Any guidance would be appreciated. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.