Skip to content

Instantly share code, notes, and snippets.

View AmitGupta7580's full-sized avatar
😴
sleeping

Amit Gupta AmitGupta7580

😴
sleeping
View GitHub Profile
  1. Create Python Module.
  2. Make desired changes in setup.py that you want to reflect on Pypi website.
  3. Building your Project python setup.py sdist bdist_wheel
  4. Check on builded files twine check dist/*
  5. Test Publish twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  6. Version Publish twine upload dist/*

Complete Tutorial : Link

ORB-SLAM2 Setup

Clone Github Repository

Main Repo : Link OpenCV4 Repo : Link

Install Eigen3

Install Eigen 3.1 from Link

Linux Setup

Proxy-Settings

Set System Proxy IP and PORT

IP : 172.31.102.29 PORT : 3128

Upgrade ~/.bashrc

#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
drone = System()
await drone.connect(system_address="udp://:14540")
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
drone = System()
await drone.connect(system_address="udp://:14540")
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
print("Code Initialized---")
drone = System()
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def print_flight_mode():
drone = System()
await drone.connect(system_address="serial:///dev/ttyUSB1")
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
print("Code Initialized---")
drone = System()
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
print("Code Initialized---")
drone = System()
#!/usr/bin/env python3
import asyncio
from mavsdk import System
async def run():
drone = System()
await drone.connect(system_address="serial:///dev/ttyUSB0")
print("Waiting for drone to connect...")