Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odrivetool issues while running on Python 2.7 for ROS #26

Open
haquebd opened this issue Jan 19, 2022 · 0 comments
Open

Odrivetool issues while running on Python 2.7 for ROS #26

haquebd opened this issue Jan 19, 2022 · 0 comments

Comments

@haquebd
Copy link

haquebd commented Jan 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant