Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
46b4c65d
Commit
46b4c65d
authored
Aug 18, 2020
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RosBridgeClient imporved
parent
25095ced
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
200 additions
and
105 deletions
+200
-105
RosBridgeClient.cpp
src/comm/ros_bridge/include/RosBridgeClient.cpp
+197
-94
RosBridgeClient.h
src/comm/ros_bridge/include/RosBridgeClient.h
+3
-11
No files found.
src/comm/ros_bridge/include/RosBridgeClient.cpp
View file @
46b4c65d
This diff is collapsed.
Click to expand it.
src/comm/ros_bridge/include/RosBridgeClient.h
View file @
46b4c65d
...
...
@@ -44,26 +44,18 @@ class RosbridgeWsClient
ServiceTopicName
=
1
,
ClientName
=
2
,
WPClient
=
3
};
struct
Task
;
};
const
std
::
string
server_port_path
;
std
::
unordered_map
<
std
::
string
/*client name*/
,
std
::
shared_ptr
<
WsClient
>
/*client*/
>
client_map
;
std
::
deque
<
EntryData
>
service_topic_list
;
std
::
mutex
mutex
;
std
::
shared_ptr
<
std
::
atomic_bool
>
hasConnection
;
std
::
shared_ptr
<
std
::
atomic_bool
>
isConnected
;
std
::
shared_ptr
<
std
::
atomic_bool
>
stopped
;
std
::
shared_ptr
<
std
::
thread
>
pPoll_thread
;
std
::
string
available_topics
;
std
::
string
available_services
;
std
::
shared_ptr
<
std
::
thread
>
pWorker_thread
;
std
::
list
<
std
::
shared_ptr
<
Task
>>
to_do_list
;
std
::
mutex
task_mutex
;
std
::
shared_ptr
<
std
::
thread
>
periodic_thread
;
...
...
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