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

如何生成odrive_endpoints.h #41

Open
lbyyyq opened this issue Apr 24, 2024 · 0 comments
Open

如何生成odrive_endpoints.h #41

lbyyyq opened this issue Apr 24, 2024 · 0 comments

Comments

@lbyyyq
Copy link

lbyyyq commented Apr 24, 2024

你好大神,请问下 odrive_hardware_interface/odrive_endpoints.hpp 这个文件是如何生成的? 我发现humble0.5.3版本这个文件里的enum值与我编译odrive0.5.3版本生成的endpoint.hpp里的值不一致,导致与odrive通讯出现问题跑不通。例如odrive_endpoints.hpp 里定义的AXIS_CONTROLLER__INTPUT_VEL = 253, 但是endpoint.hpp里253是get_input_torque,252才是get_input_vel。

odrive0.5.3版本发布有说明:
Changed
Removed odrivetool generate-code. This feature was broken in 0.5.2. Use interface_generator.py instead (see Tupfile.lua for examples).

但是我参考Tupfile.lua的样例还是没生成正确的odrive_endpoints.hpp。希望得到您的帮助,谢谢!

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