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

running_pr_sim check in lidar always fails #1

Open
ConorEB opened this issue Feb 27, 2025 · 1 comment
Open

running_pr_sim check in lidar always fails #1

ConorEB opened this issue Feb 27, 2025 · 1 comment

Comments

@ConorEB
Copy link

ConorEB commented Feb 27, 2025

Team JARVIS has been working to set up the DUST environment for testing and is happy to report that we've got all commands to work.

After debugging, it appears that line 277 in server.c (handling the command 167 for sending lidar) will always fail the backend->running_pr_sim > 0 check. From my understanding, running_pr_sim is -1 when not running, and set to 0 when it is running.

After we changed the check to backend->running_pr_sim >= 0, we successfully received lidar data as expected.

@ConorEB
Copy link
Author

ConorEB commented Mar 2, 2025

@benwenometecs - pinging you in case you can help resolve this

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

1 participant