Giter Club home page Giter Club logo

jmavsim's Introduction

        

Featured Repositories
Featured Contributions

jmavsim's People

Contributors

bansiesta avatar bidai541 avatar drton avatar gitter-badger avatar julianoes avatar lorenzmeier avatar mcharleb avatar molecule avatar mpaperno avatar stmoon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jmavsim's Issues

Compass rose orientation

Hi Max!

I think the compass rose is off by 90°, the png points to west and not to north. It can be fixed by either rotate the png by -90° or in code:

@@ -851,3 +851,3 @@ public class Visualizer3D extends JFrame {
             dZ = -Math.atan2(m1.getElement(1, 0), m1.getElement(0, 0)) + Math.toRadians(90.0);
-            affTrans.setToRotation(dZ, halfW, halfW);
+            affTrans.setToRotation(dZ + Math.toRadians(-90.0), halfW, halfW);
             drawg2d.setTransform(affTrans);

Cheers,
Heiko

Immediate flipping

Hi Max,

just had some time to check jMAVSim with aqfc-mp-v7.1.1919-hwv8.6-quatos-hils. Everything is working until I try to take off. The copter is not flyable an immediately flips into ground. It looks like there is something wrong with my motor mix, but it's hard to tell whats exactly going wrong. It's the same with Quatos and PID.

I used the params file from the wiki, the only changes I made was to disable the gimbals ports, because I have the ESC's connected to them. Maybe the gimbal outputs should be disabled in gimbalInit() / gimbalUpdate() as you did in motorsSendValues() while in SIM mode. I did not disable the gimbal ports at first and ended up with a spinning motor ;)

Here is my complete params file:
PARAMS-HILS.txt

I would be happy if you can give me a hint what's going wrong.

Cheers,
Heiko

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.