Skip to content

Commit 97396fd

Browse files
committed
Limit zmq buffer to 1 and fix the commit for spdlog
1 parent 21602ed commit 97396fd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deoxys/InstallPackage

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ git clone https://github.com/jbeder/yaml-cpp.git
3535

3636
# download spdlog package
3737
git clone https://github.com/gabime/spdlog.git
38+
cd spdlog
39+
git checkout ac55e60488032b9acde8940a5de099541c4515da
40+
cd ..
3841

3942
# download protobuf
4043
git clone --recursive https://github.com/protocolbuffers/protobuf.git

deoxys/franka-interface/src/utils/zmq_utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ZMQSubscriber::ZMQSubscriber(std::string ip, std::string port,
1919
std::string filter)
2020
: subscriber_socket_(context_, zmqpp::socket_type::subscribe) {
2121
sub_host_ = "tcp://" + ip + ":" + port;
22+
subscriber_socket_.set(zmqpp::socket_option::conflate, 1);
2223
subscriber_socket_.subscribe(filter);
2324
subscriber_socket_.connect(sub_host_);
2425
};

0 commit comments

Comments
 (0)