Skip to content

Commit

Permalink
Merge branch 'release/0.9.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
jara001 committed Oct 17, 2023
2 parents db91a88 + aac671e commit 578be78
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).

## Unreleased
## 0.9.5 - 2023-10-17
### Fixed
- `uninode`
- `Time.now()` is now properly set in Python 3.

## 0.9.4 - 2023-10-11
### Added
- `uninode`:
Expand Down
7 changes: 6 additions & 1 deletion autopsy/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ def __init__(self, name):
super(Node, self).__init__(name)

# Workaround for Time.now()
self.Time.now = super(Node, self).get_clock().now
try:
# Python 2
self.Time.now = super(Node, self).get_clock().now
except:
# Python 3
self.Time.__func__.now = super(Node, self).get_clock().now


def Publisher(self, name, data_class, subscriber_listener=None, tcp_nodelay=False, latch=False, headers=None, queue_size=None):
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>autopsy</name>
<version>0.9.4</version>
<version>0.9.5</version>
<description>A set of Python utils for F1Tenth project.</description>

<maintainer email="[email protected]">Jaroslav Klapálek</maintainer>
Expand Down

0 comments on commit 578be78

Please sign in to comment.