|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This project forked from drton/jmavsim
Simple multirotor simulator with MAVLink protocol support. Fixed, modified and enhanced fork of the original. Supports AutoQuad HILS.
License: BSD 3-Clause "New" or "Revised" License
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
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
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.