Skip to content

Odrivetool issues while running on Python 2.7 for ROS #26

@haquebd

Description

@haquebd

Receiving lots of errors. Like Name is not defined and these. My HW version is 3.6, fw version is 0.5.3, sdk is 0.4.4 (isntalled from neomanic)

In [4]: odrv0.save_configuration()
Oh no odrv0 disappeared

ChannelBrokenException Traceback (most recent call last)
----> 1 odrv0.save_configuration()

/usr/local/lib/python2.7/dist-packages/fibre/remote_object.pyc in call(self, *args)
160 for i in range(len(args)):
161 self._inputs[i].set_value(args[i])
--> 162 self._parent.channel.remote_endpoint_operation(self._trigger_id, None, True, 0)
163 if len(self._outputs) > 0:
164 return self._outputs[0].get_value()

/usr/local/lib/python2.7/dist-packages/fibre/protocol.pyc in remote_endpoint_operation(self, endpoint_id, input, expect_ack, output_length)
308 if wait_any(self._resend_timeout, ack_event, self._channel_broken) != 0:
--> 309 raise ChannelBrokenException()
310 except TimeoutError:
311 attempt += 1

ChannelBrokenException:


In [15]: dump_errors(odrv0, True)

NameError Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/fibre/shell.pyc in ()
----> 1 dump_errors(odrv0, True)

NameError: name 'dump_errors' is not defined

In [19]: odrv0.axis0.requested_state = AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRAT
...: ION

NameError Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/fibre/shell.pyc in ()
----> 1 odrv0.axis0.requested_state = AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRATION

NameError: name 'AXIS_STATE_ENCODER_HALL_POLARITY_CALIBRATION' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions