-
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
dev environment setup scripts update #11768
Conversation
dagar
commented
Apr 2, 2019
- Ubuntu install NuttX toolchain, gazebo, and switch to python3
- OSX switch to python3
@dagar My interest in this is as a replacement for the ubuntu Devguide scripts. I have run the script in Ubuntu 16.04 (only) from the Firmware root using
More generally
|
For Ubuntu 16.04 the problem (at least the first one) is the python dependencies. This is probably bad form, but I'm tempted to just install them all for both python2 and python3 until we can cleanly transition to python3 entirely.
Nice to have, but not currently needed. Skipped for now because I wanted to look for clean packages.
Conflicts no, but it's currently more packages than we put into the base container (to keep the size down). Now that I think of it again I suppose we'll need to make the Nuttx and gazebo portions optionally so that the script can be used by PX4/containers directly.
Avoiding the ROS version discussion for now, plus the actual ROS install is straightforward copy paste from their site. |
Works for me. Let me know when you want retest, as long as it is tomorrow :-) All the extra bits should ideally be conditional from an end user point of view too - and in that case including FastRTPS also makes sense as an option. But it can be a "later" option.
ROS "vanilla" setup is indeed simple, but ROS and PX4 is a hell of a lot more difficult than that, in particular to get the ROS2 stuff working nicely. @TSC21 has some scripts we could leverage. Currently in discussion about what is really needed: PX4/PX4-Devguide#764 |
Tools/setup/ubuntu.sh
Outdated
libncurses-dev \ | ||
libtool \ | ||
pkg-config \ | ||
vim-common \ |
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.
Can't we put which xxd || sudo apt install xxd -y || sudo apt-get install vim-common --no-install-recommends -y
from https://github.com/PX4/Devguide/pull/719/files#diff-57e9a9559326143dea03f6c6031f24d2R25 instead of vim-common?
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.
Looks like xxd is a package in Ubuntu 18.04, but I don't recall seeing it in 16.04. We could expand the conditionals near the top for Ubuntu version differences.
Cool, that's the way to go. I can do some VM testing later on. |
35b72ef
to
d946a41
Compare
- Ubuntu install NuttX toolchain, gazebo, and switch to python3 - OSX switch to python3
d946a41
to
2cd75ff
Compare