Skip to content

Commit 880fd1a

Browse files
committed
add CHANGELOG
1 parent 3c407e6 commit 880fd1a

File tree

2 files changed

+38
-27
lines changed

2 files changed

+38
-27
lines changed

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ Unreleased
1111
----------
1212

1313
**Changed**
14+
* Changed example for loading PosConCM (includes parity argument, differs from PosCon3D)
15+
* Changed/cleaned documentation style
16+
* Changed tasks.py to run ``invoke test``
17+
1418

1519
**Added**
1620

21+
* Added ``compas_fab.sensors.baumer.PosCon3D.reset()``
22+
* Added ``compas_fab.sensors.baumer.PosConCM.reset()``
23+
* Added checks for Python 2 and 3
24+
25+
1726
**Removed**
1827

28+
* Removed ``compas_fab.sensors.baumer.PosConCM.set_flex_mount()``
29+
* Removed ``compas_fab.sensors.baumer.PosConCM.get_live_monitor_data()``
1930

2031
0.6.0
2132
----------

src/compas_fab/sensors/baumer.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -596,33 +596,33 @@ def adjust_to_dark_object(self, is_dark_object):
596596
result = self.send_command(self.address, 'W032', data)
597597
return map(float, result)
598598

599-
def set_flex_mount(self, angle, distance):
600-
"""Sets the FLEX Mount feature to a specific angle and distance."""
601-
# result = self.send_command(self.address, 'W036', ('{:.2f}'.format(angle), '{:.2f}'.format(distance)))
602-
# return map(float, result)
603-
# data = ('{:.2f}'.format(angle), '{:.2f}'.format(distance))
604-
data=('{:.2f}'.format(angle),'{:.2f}'.format(angle))
605-
result = self.send_command(self.address, 'W036', data)
606-
return map(float, result)
607-
608-
def get_live_monitor_data(self):
609-
"""Retrieves the distance to the surface in the center of the laser beam and the
610-
angle at which it's found.
611-
612-
Returns:
613-
`list`
614-
angle and distance to the reference surface.
615-
616-
Note
617-
----
618-
This function is designed to aid in the installation of the sensor at an angle.
619-
"""
620-
result = self.send_command(self.address, 'R051')
621-
622-
if len(result) != 2:
623-
raise ProtocolError('Unexpected result: ' + str(result))
624-
625-
return map(float, result[0])
599+
# def set_flex_mount(self, angle, distance):
600+
# """Sets the FLEX Mount feature to a specific angle and distance."""
601+
# # result = self.send_command(self.address, 'W036', ('{:.2f}'.format(angle), '{:.2f}'.format(distance)))
602+
# # return map(float, result)
603+
# # data = ('{:.2f}'.format(angle), '{:.2f}'.format(distance))
604+
# data=('{:.2f}'.format(angle),'{:.2f}'.format(angle))
605+
# result = self.send_command(self.address, 'W036', data)
606+
# return map(float, result)
607+
608+
# def get_live_monitor_data(self):
609+
# """Retrieves the distance to the surface in the center of the laser beam and the
610+
# angle at which it's found.
611+
612+
# Returns:
613+
# `list`
614+
# angle and distance to the reference surface.
615+
616+
# Note
617+
# ----
618+
# This function is designed to aid in the installation of the sensor at an angle.
619+
# """
620+
# result = self.send_command(self.address, 'R051')
621+
622+
# if len(result) != 2:
623+
# raise ProtocolError('Unexpected result: ' + str(result))
624+
625+
# return map(float, result[0])
626626

627627
def reset(self):
628628
"""Resets the sensor to factory settings."""

0 commit comments

Comments
 (0)