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

sitl with gazebo: error opening serial device #11393

Closed
Alaric-F opened this issue Feb 6, 2019 · 5 comments
Closed

sitl with gazebo: error opening serial device #11393

Alaric-F opened this issue Feb 6, 2019 · 5 comments
Assignees

Comments

@Alaric-F
Copy link

Alaric-F commented Feb 6, 2019

Hi.
I switched to stable branch and run "make posix_sitl_default gazebo" but got error message as "error opening serial device".
screenshot from 2019-02-06 11-20-07
And then followed as:
screenshot from 2019-02-06 11-58-10
While the hil simulation with gazebo is working properly.
I have tried connecting my pixhawk then "make posix_sitl_default gazebo" and it worked just like hil mode.
Can anybody help?

@cesar-source
Copy link

Hi @Alaric-F

I'm having the same issue... were you able to resolve your problem?

@julianoes
Copy link
Contributor

Could it be that you still have serialEnabled in your iris.sdf file after HITL?

@cesar-source
Copy link

cesar-source commented May 7, 2021

Ah yes, I missed that. Thanks for that @julianoes !

@hsrfeyzullah
Copy link

How exactly did you solve the problem?@cesar-source

@cesar-source
Copy link

@hsrfeyzullah under the mavlink_interface plugin in the .sdf file, there should be a serialEnabled tag. I set this to 0 and it worked!

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

5 participants