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

Communication boiler #2114

Merged
merged 21 commits into from
Nov 19, 2023
Merged

Communication boiler #2114

merged 21 commits into from
Nov 19, 2023

Conversation

rishiso
Copy link
Contributor

@rishiso rishiso commented Oct 16, 2023

Description

We created a communication generation script (communication_gen.py) that dynamically generates relevant communication files based on ROS messages. Whenever a new ROS message is created in rj_msgs/msg/request or rj_msgs/msg/response, run cd soccer/src/soccer/strategy/agent/communication && python3 communication_gen.py from the main directory. This will automatically update communication.hpp, communication.cpp, and create the corresponding hpp file for the message. The comments associated with the original structs of the ROS messages have been moved to their .msg files.

Associated / Resolved Issue

ClickUp card

Steps to Test

  1. Add .msg file to rj_msgs/msg/request or rj_msgs/msg/response
  2. cd soccer/src/soccer/strategy/agent/communication && python3 communication_gen.py
  3. make perf

Expected result:
Nothing breaks and simulator runs as expected

Key Files to Review

Contents of soccer/src/soccer/strategy/agent/communication

Review Checklist

  • Docstrings: All methods and classes should have the file appropriate docstrings which follow the guidelines in the "Contributing" page of our docs.
  • Remove extra print statements: Any print statements used for debugging should be removed
  • Tag reviewers: Tag some people for review and ping them on Slack

rishiso and others added 16 commits October 1, 2023 19:48
* delete manipulator control node

* delete node

* delete maniuplators vector

* Fix Code Style On delete_maninpulator_node (#2084)

automated style fixes

Co-authored-by: sid-parikh <sid-parikh@users.noreply.github.com>

* Remove mention to removed filed

* Fix Code Style On delete_maninpulator_node (#2090)

automated style fixes

Co-authored-by: Ninjatest321 <Ninjatest321@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: sid-parikh <sid-parikh@users.noreply.github.com>
Co-authored-by: Robojackets <amoghj303@gmail.com>
Co-authored-by: Ninjatest321 <Ninjatest321@users.noreply.github.com>
@Ninjatest321 Ninjatest321 self-requested a review October 30, 2023 00:22
@sid-parikh
Copy link
Contributor

i keep forgetting to test this myself. if someone can just demo it working (or if @Ninjatest321 approves it) you're good to merge

@sid-parikh
Copy link
Contributor

actually i would also like @N8BWert to review when he has time

@sid-parikh
Copy link
Contributor

Also manually confirmed style here. Need to fix that check

@sid-parikh sid-parikh merged commit 368f25e into ros2 Nov 19, 2023
1 of 2 checks passed
@sid-parikh sid-parikh deleted the communication-boiler branch November 19, 2023 19:40
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

Successfully merging this pull request may close these issues.

4 participants