Comments (7)
#44 should at least solve your first issue. Can you test it?
from jmavsim.
Looks like @lovettchris already tried this change #41. BTW, the reason GPS is 0,0 because lat and lon fields of HIL_STATE_QATERNION are not set. Also alt is set wrongly to z instead of projected value of z.
from jmavsim.
@kd0aij, @bkueng I think I now understand the purpose of HIL_STATE_QUATERNION . So basically, HIL can be used in two modes: (1) "state-level" mode (2) "sensor-level" mode. In Mode 1, pose estimation is disabled. This mode is useful for high throughput simulation where you don't care about errors from sensors. Mode 2 is normal simulation mode where pose estimation is enabled. Mode 2 should be the default and should be used majority of the times. So basically jMavSim should provide a command line switch to select one of these two modes instead of always sending HIL_STATE_QUATERNION all the time as it is doing now and thus always enforcing Mode 1.
Reference: https://pixhawk.org/dev/hil/start
from jmavsim.
The reference is outdated and I don't think we support state-level HIL anymore. As I wrote in #41 (comment), HIL_STATE_QUATERNION is only used for logging.
from jmavsim.
@bkueng do we still need this for logging? #82 would not be needed then.
from jmavsim.
Yes it is, as it provides the ground-truth.
from jmavsim.
Ah ok.
from jmavsim.
Related Issues (20)
- Port busy when run JmavSim in HITL Mode In cygwin HOT 4
- windCurrent & windDeviation
- px4_task_spawn_cmd: failed to set sched policy HOT 3
- Communication unexpectedly lost in both the terminal and while using QGroundControl
- make px4_sitl jmavsim misbehaving. (OSX)
- Not able to change location
- New PX4 firmware + jMAVSim fails to build on Windows 10 HOT 4
- java.lang.IllegalAccessException when running/building on Ubuntu 20.04 HOT 5
- Proposal: Replacing ExecutorService to achieve more stable timing in the update loop HOT 3
- JMAVSim Failing To Start: java.lang.reflect.InvocationTargetException
- How do I change the environment background in jmavsim? HOT 1
- I had a problem when I was doing multi-machine emulation, and when I opened an instance, I kept getting stuck here
- Unable to launch JMAVSim in Windows - Could not create the Java Virtual Machine
- Can't get jMAVSim to work HOT 8
- "getting required buffer size failed" on jmavsim simulation on Windows 10
- "Can't load library: /home/pi/src/Firmware/Tools/jMAVSim/out/production/libgluegen-rt.so" HOT 17
- Problem with OpenGL version. JMAVSim (from Windows Cygwin Toolchain) on Windows 10
- Yuneec 520: HITL simulator keep crashing into land after takeoff HOT 8
- jMAVsim fails with Java 11 HOT 9
- Forward traffic to UDP port 14540 in HITL mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmavsim.