GithubHelp home page GithubHelp logo

Comments (13)

julianoes avatar julianoes commented on July 28, 2024

@eric1221bday Thanks for the elaborate feedback. This is appreciated.

@vilhjalmur89 you also ran into this issue with the redundant gazebo copies. Can you comment?

@eric1221bday it would be great if you can file a pull request for the things which are obviously wrong and we should try to fix the confusion about the build of sitl_gazebo.

from px4-devguide.

oceanusxiv avatar oceanusxiv commented on July 28, 2024

@julianoes so just as a warning large parts of that page is basically invalid, the "what's happening behind the scenes" section is pretty much completely obsolete. I guess what I'm trying to say that the page would probably need an overhaul, the only section that as it stand works is probably just the top section, launch mavros to interface with no gazebo plugins

this first pull request would probably just be focussed on correcting the versioning on installing gazebo, I'll leave modifying the launch procedure for gazebo wrappers up for further discussion

from px4-devguide.

oceanusxiv avatar oceanusxiv commented on July 28, 2024

@julianoes pull request created

from px4-devguide.

vilhjalmur89 avatar vilhjalmur89 commented on July 28, 2024

@eric1221bday Thanks for the feedback.

You are right about having to run make posix_sitl_default gazebo.

The sitl_gazebo issue is because of the line
source Tools/setup_gazebo.bash $(pwd) build_posix_sitl_default,
which should be
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build_posix_sitl_default

from px4-devguide.

julianoes avatar julianoes commented on July 28, 2024

@vilhjalmur89 can you please review the PR, thanks.

from px4-devguide.

oceanusxiv avatar oceanusxiv commented on July 28, 2024

@vilhjalmur89 you are correct, I am able to run SITL now using the corrected version of the instructions, however I would also advise removing

source ~/catkin_ws/devel/setup.bash

since having a catkin workspace is unnecessary to running this SITL, only if the user has some external packages he or she needs to run, that would be up to them, this line just causes confusion.

from px4-devguide.

vilhjalmur89 avatar vilhjalmur89 commented on July 28, 2024

@eric1221bday You might need that line for the Mavros example, but it wouldn't hurt to make it explicit

from px4-devguide.

oceanusxiv avatar oceanusxiv commented on July 28, 2024

@vilhjalmur89 actually since there are debian packages of mavros, if you didn't build mavros from source you actually wouldn't need that line at all

from px4-devguide.

vilhjalmur89 avatar vilhjalmur89 commented on July 28, 2024

@eric1221bday Yes, but in the guide it is recommended to build it from source.

But you're right, it is unnecessarily confusing

from px4-devguide.

oceanusxiv avatar oceanusxiv commented on July 28, 2024

@vilhjalmur89 alright then on second pass I'll leave it in but leave a note on the fact that it's optional

from px4-devguide.

LorenzMeier avatar LorenzMeier commented on July 28, 2024

@vilhjalmur89 Can you review and close or fix? Thanks!

from px4-devguide.

rahulkalliadan avatar rahulkalliadan commented on July 28, 2024

Hello,

I have tried working on the code you provided.
When I tried Catkin Build, only 1 of 3 packages got succeeded.

screenshot from 2018-06-25 12 48 11

from px4-devguide.

julianoes avatar julianoes commented on July 28, 2024

@rahulkalliadan this is an older issues, please create a new issue for your problem and copy&paste the error message instead of a screenshot.

from px4-devguide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.