Code Monkey home page Code Monkey logo

drone-games's People

Contributors

korotkoves avatar maximtar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

drone-games's Issues

Избегание столкновений: Неверно задана высота точек маршрута или уровня моря

Координаты точек маршрута имеют вид:
1.0046790641871626 1.0009882945059274 121.0
1.0050389922015597 1.0007187596801768 131.0
1.004769046190762 1.0003593798252748 115.0
1.0044091181763648 1.000628914659671 105.0
1.0041391721655668 1.000269534843038 115.0
1.004499100179964 1.0 105.0
1.0048590281943612 0.9997304651273407 120.0
1.0045890821835632 0.99937108532305 115.0

Глобальные координаты коптера в точке взлёта выглядят вот так:
Снимок экрана от 2021-11-15 22-24-48
Слева высота из топика global_position/global равна 232. Справа - преобразованная в программе высота равна 216. Я осведомлён, что высота, выдаваемая MAVROS, задана в элипсоиде WGS-84. Я преобразую её в высоту над уровнем моря(AMSL), вычисляя разницу с помощью этой функции, а затем отнимая эту разницу от эллипсоидной высоты. Однако даже после такого преобразования точки маршрута оказываются ниже уровня земли, и дрон при попытке приблизиться к любой точке врезается в землю.

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.