-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
msg: remove gencpp and genmsg submodules; remove gencpp imports #13572
Conversation
Sounds good to me. Goodbye submodules! |
For this to build correctly, we are going to need to update the base bionic and xenial containers to install |
Tested on macOS, built fine after |
Great stuff! Let's make sure we update the containers accordingly! @MaEtUgR can you do something about AppVeyor? |
@dagar are you able to update the MacOS side on CI? For now, |
Containers to be updated in PX4/PX4-containers#213. |
9a367f3
to
b281c9b
Compare
I keep bumping into the same error as in #12809: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3356: ordinal not in range(128) @julianoes do you know what might be causing this? I can't reproduce it locally (and I have the same Python version). Quickly looking for the cause, this might be an encoding issue. |
b51a0fb
to
29db151
Compare
We might have to setup these on the base containers. As soon as I get a chance I will test it locally on the containers. |
@MaEtUgR is it possible for you to update the Windows CI here for the python genmsg dependency? |
Can you improve the error outputs? I'm getting
Whereas |
Yes absolutely. |
eea8756
to
0786bc5
Compare
PX4/PX4-containers#214 brings the fix for the decoding issues. Tested locally and on Jenkins. Just needs a container update now. |
0786bc5
to
ccfc4b7
Compare
aefe830
to
d4b3425
Compare
This should ignore compiler warnings from the includes.
9e23424
to
662edeb
Compare
662edeb
to
e1b239b
Compare
ebc206e
to
ed253b9
Compare
ed253b9
to
413d3b9
Compare
@julianoes success!! Finally :D |
|
||
On MacOS please run: | ||
sudo pip install empy catkin_pkg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have the docs been updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. We'll check them.
Let's bring this in and update the docs where needed. |
Describe problem solved by this pull request
After some verification, I noticed:
gencpp
for anything (!) - there was probably a reason it was added some years ago, but now it's just there, occupying space as an unused dependency and submodule;genmsg
andgencpp
from source because of lack of compatibility with other OS's, after some search I found that we do have genmsg available by pip: https://pypi.org/project/pyros-genmsg/. It just needs to be tested in other platforms, like Windows and MacOS.Describe your solution
Completely remove the
genmsg
andgencpp
submodules and all the places wheregencpp
was being imported (since it wasn't really being used).