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

JSBSim ERROR[simulator_mavlink]Number of simulated accelerometer out of range :Max:3 #65

Open
YCJ0815 opened this issue Oct 19, 2023 · 1 comment

Comments

@YCJ0815
Copy link

YCJ0815 commented Oct 19, 2023

image
When I try to interface JSBSim with PX4 SITL, it reports an error in this picture. But it does not report error if I try more times. It seems like random appears.
I just use make px4_sitl jsbsim in the terminal. Also I can interface gazebo with PX4 SITL successfully. Anyone has the same problem?And anyone knows how to resolve this.

@Lallie101
Copy link

mavlink_interface.cpp, at around line 273, add the line sensor_msg.id = 0;

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

2 participants