feat: Introduce end to end simulator support#87
Open
DNedic wants to merge 1 commit into
Open
Conversation
filipembedded
left a comment
Contributor
There was a problem hiding this comment.
Looks good, just a few suggestions but I will not block
Comment on lines
+56
to
+58
| // Skeleton step: no estimator or controller yet, just a slow sine sweep on | ||
| // the first four outputs so prop motion is visible in the simulator without | ||
| // the vehicle taking off. |
Contributor
There was a problem hiding this comment.
We should consider doxygen function comments
6f3b74d to
b6b4a97
Compare
This wires up jMavSim and QGroundControl with the efc core code with new plumbing and enables us to start development on estimation and control.
b6b4a97 to
790499a
Compare
nikolaptr
approved these changes
Jul 5, 2026
Comment on lines
-18
to
-30
| #include "mavlink_custom.h" | ||
| #ifndef HIL_LINK_H | ||
| #define HIL_LINK_H | ||
|
|
||
| /* Global status and buffer instances for each channel */ | ||
| static mavlink_status_t chan_statuses[MAVLINK_COMM_NUM_BUFFERS]; | ||
| static mavlink_message_t chan_buffers[MAVLINK_COMM_NUM_BUFFERS]; | ||
| #include <stdbool.h> | ||
| #include <stdint.h> | ||
|
|
||
| mavlink_status_t *mavlink_get_channel_status(uint8_t chan) { | ||
| return &chan_statuses[chan]; | ||
| } | ||
| #include <uv.h> | ||
|
|
||
| mavlink_message_t *mavlink_get_channel_buffer(uint8_t chan) { | ||
| return &chan_buffers[chan]; | ||
| } |
Member
There was a problem hiding this comment.
why did you chose to git mv this file instead of deleting?
|
|
||
| #define SENSOR_HEALTH_MASK \ | ||
| (MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL | \ | ||
| MAV_SYS_STATUS_SENSOR_3D_MAG | MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE | \ |
Member
There was a problem hiding this comment.
Nitpick: IIRC we don't record data from mag, so should we set it in health mask?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This wires up jMavSim and QGroundControl with the efc core code with new plumbing and enables us to start development on estimation and control.
Design choices
autopilotlibuvand a standalone linux binary is kept, however we should explorenative_simZephyr use.