-
Notifications
You must be signed in to change notification settings - Fork 600
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
How to call mavgen? #813
Comments
You mean it does work in that case, right? |
@JonasVautherin yes thanks. Fixed it. |
Or what about adding tools as a package in
|
@peterbarker any opinions on that? FYI @hamishwillee and @auturgy. |
Pretty sure it's there because it's in the It's a wrapper around the |
Yes, it is installed as a script, and if you have e.g. And that's where I believe |
I though we might be able to do something like adding the following to setup.py, but it still doesn't find mavgen (though it builds cleanly).
@peterbarker It really would be better if we could just do |
afaict, there was never a deliberate decision to break |
Closing my PR. This package needs much cleanup from someone who knows it better than me. I think pymavlink has too much technical debt right now to comfortably contribute. Something I noticed is that we're using old-style setup scripts. Switching over to console scripts might fix this (and obviate the nasty hack of adding the parent of the repo root to |
I'd suggest to merge #838. |
I'm confused what the right way should be to call mavgen.
According to various docs, I would assume the canonical way should be to install pymavlink via pip:
And then run it like this:
However, that doesn't seem to work. It does
nwork when pymavlink is in tree, like when in the mavlink repo where pymavlink is a submodule, however, I would challenge whether pymavlink really needs to be a submodule there or whether that could be simplified.@peterbarker any hints? Am I using it wrong?
The text was updated successfully, but these errors were encountered: