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

[TechnosoftIpos] Unable to set velocity mode at first try #127

Closed
PeterBowman opened this issue Aug 8, 2017 · 2 comments
Closed

[TechnosoftIpos] Unable to set velocity mode at first try #127

PeterBowman opened this issue Aug 8, 2017 · 2 comments

Comments

@PeterBowman
Copy link
Member

I've noticed that mode change RPC commands fail for velocity control even if a [ok] acknowledge vocab is returned. It usually takes several tries to successfully switch modes, which doesn't take so long e.g. on position or position direct.

Useful commands:

  • setter (single joint): set icmd cmod 0 vel
  • getter (multiple joints): get icmd cmds

Tested on ASIBOT.

@PeterBowman PeterBowman added the bug label Aug 8, 2017
@PeterBowman
Copy link
Member Author

First mode change command call sets bit 12 (Speed is 0) of Status word (object 6041h). Remark from section 11.1.2 Status word in profile velocity mode:

In order to set / reset bit 12 (speed), the object 606Fh , velocity threshold is used. If the actual velocity of the drive / motor is below the velocity threshold, then bit 12 will be set, else it will be reset.

The mode actually changes on the second try (Modes of operation display = 0x03).

@PeterBowman PeterBowman self-assigned this Dec 13, 2017
@PeterBowman PeterBowman added invalid and removed bug labels Dec 13, 2017
@PeterBowman
Copy link
Member Author

Can't replicate this anymore. Anyway, previous tests were run with EasySetup/EasyMotionStudio along with a RPC connection via terminal. I can only guess that this circumstance introduced delays that either prevented the CAN wrapper from successfully retrieving current mode, or made us see obsolete data on our end (while velocity mode was correctly set under the hood).

We could investigate the effect of lines like these on the overall performance (and correctness) of uploaded data (driver->client app). However, I'd deem it not urgent by now.

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

No branches or pull requests

2 participants