alireza787b / mavsdk_drone_show Goto Github PK
View Code? Open in Web Editor NEWAll in one Drone Show and Smart Swarm Solutin for PX4
All in one Drone Show and Smart Swarm Solutin for PX4
An other issue I am encountering with the flask server :
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
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.