Skip to content

Commit 1d2f770

Browse files
author
Brian Zenowich
committed
Merge branch 'bugfix/enumeration_timeout' into 'devel'
Increased enumeration timeout. Fixes enumeration failure on faster computers. See merge request software/libbarrett!48
2 parents a5f789c + 9fd6e70 commit 1d2f770

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [dev-3.0.1]
6+
7+
- Increased enumeration timeout from 1 ms to 5 ms
8+
59
## [dev-3.0.0]
610

711
- Python3 support
@@ -14,5 +18,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1418
- Improved mutex handling for non-rt operation
1519
- Offered Top10 tactile values from BHand for higher update rates
1620

21+
[dev-3.0.1]: https://git.barrett.com/software/libbarrett/-/tags/dev-3.0.1
1722
[dev-3.0.0]: https://git.barrett.com/software/libbarrett/-/tags/dev-3.0.0
1823

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
33
project(libbarrett)
44
set(libbarrett_VERSION_MAJOR 3)
55
set(libbarrett_VERSION_MINOR 0)
6-
set(libbarrett_VERSION_PATCH 0)
6+
set(libbarrett_VERSION_PATCH 1)
77
set(libbarrett_VERSION "${libbarrett_VERSION_MAJOR}.${libbarrett_VERSION_MINOR}.${libbarrett_VERSION_PATCH}")
88
set(libbarrett_SOVERSION "${libbarrett_VERSION_MAJOR}.${libbarrett_VERSION_MINOR}")
99

Diff for: include/barrett/products/puck.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ class Puck {
115115
template<typename Parser> static void getProperty(
116116
const bus::CommunicationsBus& bus, int id, int propId, typename Parser::result_type* result, bool realtime = false);
117117
static int tryGetProperty(const bus::CommunicationsBus& bus, int id, int propId,
118-
int* result, double timeout_s = 0.001);
118+
int* result, double timeout_s = 0.005);
119119
template<typename Parser> static int tryGetProperty(
120120
const bus::CommunicationsBus& bus, int id, int propId, typename Parser::result_type* result,
121-
double timeout_s = 0.001);
121+
double timeout_s = 0.005);
122122
static void setProperty(const bus::CommunicationsBus& bus, int id, int propId,
123123
int value, bool blocking = false);
124124

0 commit comments

Comments
 (0)