File tree Expand file tree Collapse file tree 6 files changed +12
-18
lines changed Expand file tree Collapse file tree 6 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,14 @@ binutils-dev
2
2
libgflags-dev
3
3
libgz-cmake4-dev
4
4
libgz-common6-dev
5
- libgz-fuel-tools10-dev
6
5
libgz-sim9-dev
7
6
libgz-gui9-dev
8
7
libgz-math8-dev
9
8
libgz-math8-eigen3-dev
10
9
libgz-msgs11-dev
11
- libgz-physics8-dev
12
10
libgz-plugin3-dev
13
- libgz-rendering9-dev
14
- libgz-sensors9-dev
15
11
libgz-tools2-dev
16
12
libgz-transport14-dev
17
- libsdformat15-dev
18
13
libtinyxml2-dev
19
14
libwebsockets-dev
20
15
libxi-dev
Original file line number Diff line number Diff line change @@ -133,10 +133,8 @@ gz_create_docs(
133
133
TAGFILES
134
134
"${GZ-MATH_DOXYGEN_TAGFILE} = ${GZ-MATH_API_URL}"
135
135
"${GZ-MSGS_DOXYGEN_TAGFILE} = ${GZ-MSGS_API_URL}"
136
- "${GZ-PHYSICS_DOXYGEN_TAGFILE} = ${GZ-PHYSICS_API_URL}"
137
136
"${GZ-PLUGIN_DOXYGEN_TAGFILE} = ${GZ-PLUGIN_API_URL}"
138
137
"${GZ-TRANSPORT_DOXYGEN_TAGFILE} = ${GZ-TRANSPORT_API_URL}"
139
- "${GZ-SENSORS_DOXYGEN_TAGFILE} = ${GZ-SENSORS_API_URL}"
140
138
"${GZ-COMMON_DOXYGEN_TAGFILE} = ${GZ-COMMON_API_URL}"
141
139
"${GZ-SIM_DOXYGEN_TAGFILE} = ${GZ-SIM_API_URL}"
142
140
"${GZ-GUI_DOXYGEN_TAGFILE} = ${GZ-GUI_API_URL}"
Original file line number Diff line number Diff line change 13
13
<depend >binutils</depend >
14
14
<depend >gz-cmake4</depend >
15
15
<depend >gz-common6</depend >
16
- <depend >gz-fuel-tools9</depend >
17
16
<depend >gz-gui9</depend >
18
17
<depend >gz-math8</depend >
19
18
<depend >gz-msgs11</depend >
20
- <depend >gz-physics7</depend >
21
19
<depend >gz-plugin3</depend >
22
- <depend >gz-rendering8</depend >
23
- <depend >gz-sensors8</depend >
24
20
<depend >gz-sim9</depend >
25
21
<depend >gz-tools2</depend >
26
22
<depend >gz-transport14</depend >
29
25
<depend >libxi-dev</depend >
30
26
<depend >libxmu-dev</depend >
31
27
<depend >libyaml-dev</depend >
32
- <depend >sdformat14</depend >
33
28
<depend >tinyxml2</depend >
34
29
<depend >uuid</depend >
35
30
Original file line number Diff line number Diff line change 22
22
#endif
23
23
24
24
#include < string>
25
+ #include < vector>
25
26
26
27
#include < gz/msgs/joy.pb.h>
27
28
#include < gz/msgs/twist.pb.h>
Original file line number Diff line number Diff line change @@ -624,9 +624,14 @@ void WebsocketServer::Run()
624
624
625
625
while (this ->run )
626
626
{
627
- // The second parameter is a timeout that is no longer used by
628
- // libwebsockets.
629
- lws_service (this ->context , 0 );
627
+ // The second parameter is used to control lws's event wait time.
628
+ // A -1 does not wait for an event, and 0 causes lws to wait
629
+ // for an event. When shutting down the websocket server, the
630
+ // wait time could be over 30 seconds if 0 is used.
631
+ //
632
+ // We are running lws in a separate thread with out our own
633
+ // condition variable. So, we will not use lws's event wait.
634
+ lws_service (this ->context , -1 );
630
635
631
636
// Wait for (1/60) seconds or an event.
632
637
std::unique_lock<std::mutex> lock (this ->runMutex );
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
+ require 'pathname'
17
18
# Constants.
18
19
LIBRARY_VERSION = '@PROJECT_VERSION_FULL@'
19
20
COMMANDS = {
@@ -28,9 +29,8 @@ class Cmd
28
29
command = args [ 0 ]
29
30
exe_name = COMMANDS [ command ]
30
31
31
- if exe_name [ 0 ] == '/'
32
- # If the first character is a slash, we'll assume that we've been given an
33
- # absolute path to the executable. This is only used during test mode.
32
+ if Pathname . new ( exe_name ) . absolute?
33
+ # The exe_name can be absolute path during test. We'll leave it unchanged
34
34
else
35
35
# We're assuming that the library path is relative to the current
36
36
# location of this script.
You can’t perform that action at this time.
0 commit comments