Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qjs-wrapper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
qjs-wrapper
Commits
38c9977c
Commit
38c9977c
authored
Sep 24, 2024
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pipes to store pubsub messages
parent
4e0e3fa2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
114 additions
and
109 deletions
+114
-109
include/pubsub.h
include/pubsub.h
+3
-12
qjs_wrapper.c
qjs_wrapper.c
+111
-97
No files found.
include/pubsub.h
View file @
38c9977c
...
...
@@ -17,27 +17,18 @@
#define MAX_STR_SIZE 1024
struct
strNode
{
char
*
str
;
struct
strNode
*
next
;
};
typedef
struct
{
struct
strNode
*
head
;
struct
strNode
*
tail
;
}
StrQueue
;
typedef
struct
{
UA_UInt16
id
;
UA_Double
latitude
;
UA_Double
longitude
;
UA_Double
altitudeAbs
;
UA_Double
altitudeRel
;
UA_Int64
timestamp
;
UA_Int64
timestamp
;
UA_Float
yaw
;
UA_Float
speed
;
UA_Float
climbRate
;
StrQueue
receiveMessageQueue
;
StrQueue
receiveLogQueue
;
int
receiveMessagePipefds
[
2
]
;
int
receiveLogPipefds
[
2
]
;
}
JSDroneData
;
typedef
struct
{
...
...
qjs_wrapper.c
View file @
38c9977c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment