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

fix: Fix issues on control & perception and improvement on handling control message. #2

Merged
merged 6 commits into from
May 23, 2024

Conversation

Kim-mins
Copy link

@Kim-mins Kim-mins commented May 23, 2024

Description

  • Fix oscillation issue that makes oscillation while driving.
  • Fix perception issue that makes the pointcloud range to narrow.

Here's the video for better description:

  • video with issue
    • The vehicle oscillates to left and right.
    • The range of the pointcloud is too narrow, which could make obstacle detection fail.
  • video after this PR
    • The vehicle does not oscillate anymore.
    • The range of the pointcloud is wide enough, that could make obstacle detection as intended.

Tests performed

I respected the environment setting and followed testing steps written here.

Effects on system behavior

This resolves issue on oscillation and pointcloud range during the co-simulation using Carla, as the video above.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@@ -127,7 +127,6 @@ The `carla_ros.py` sets up the CARLA world:
## Tips

- Misalignment might occurs during initialization, pressing `init by gnss` button should fix it.
- Changing the `fixed_delta_seconds` can increase the simulation tick (default 0.05 s), some sensors params in `objects.json` need to be adjusted when it is changed (example: LIDAR rotation frequency have to match the FPS).
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this commit, it seems we should fix the rotation_frequency.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this tip should not be removed from the README.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the comment!
I agree to your point. I won't remove it.

Copy link

@maxime-clem maxime-clem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution. I tested your changes and the control is now perfect.
I have concerns about the performance impact of increasing the channels of the lidar, but we can add some info in the tips about performance in another PR.

@@ -127,7 +127,6 @@ The `carla_ros.py` sets up the CARLA world:
## Tips

- Misalignment might occurs during initialization, pressing `init by gnss` button should fix it.
- Changing the `fixed_delta_seconds` can increase the simulation tick (default 0.05 s), some sensors params in `objects.json` need to be adjusted when it is changed (example: LIDAR rotation frequency have to match the FPS).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this tip should not be removed from the README.

@Kim-mins Kim-mins changed the title Fix issues on control & perception and improvement on handling control message. fix: Fix issues on control & perception and improvement on handling control message. May 23, 2024
@mraditya01 mraditya01 merged commit 3333587 into mraditya01:updated_version May 23, 2024
5 of 7 checks passed
@Kim-mins Kim-mins deleted the updated_version branch May 23, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants