This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Feature: refactor and test team comm#127
Merged
texhnolyze merged 17 commits intomasterfrom Feb 23, 2023
Merged
Conversation
Contributor
Author
|
I'm still doing some testing and there are also still |
f2d8938 to
d867aef
Compare
Flova
reviewed
Jan 20, 2023
Member
Flova
left a comment
There was a problem hiding this comment.
It looks really good! I left some comments addressing hopefully all the TODOs as well as some minor stuff.
humanoid_league_team_communication/humanoid_league_team_communication/communication.py
Outdated
Show resolved
Hide resolved
humanoid_league_team_communication/humanoid_league_team_communication/communication.py
Outdated
Show resolved
Hide resolved
humanoid_league_team_communication/humanoid_league_team_communication/communication.py
Outdated
Show resolved
Hide resolved
humanoid_league_team_communication/humanoid_league_team_communication/communication.py
Outdated
Show resolved
Hide resolved
humanoid_league_team_communication/humanoid_league_team_communication/communication.py
Show resolved
Hide resolved
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Outdated
Show resolved
Hide resolved
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Show resolved
Hide resolved
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Show resolved
Hide resolved
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Outdated
Show resolved
Hide resolved
texhnolyze
commented
Jan 31, 2023
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Outdated
Show resolved
Hide resolved
..._team_communication/humanoid_league_team_communication/humanoid_league_team_communication.py
Show resolved
Hide resolved
humanoid_league_team_communication/scripts/tmux_testing_setup.sh
Outdated
Show resolved
Hide resolved
d867aef to
1dd18b3
Compare
1dd18b3 to
cfab407
Compare
Member
But semantically it should still be the map frame. Maybe prefixed by a robot name or something like that. |
as timestamps from headers now need to be converted as the times in messages are not `rclpy.time.Time` classes
for conversion between ros state <-> protobuf <-> team data
opening multiple panes and launching the TeamComm, while also listening and showing messages from other robots
topic, instead of ObstaclRelativeArray on `obstacles_relative` topic, where we do not publish any msgs. Currently the vision produces RobotArray msgs on `robots_in_image`, which are then transformed relative to the `base_footprint` map frame to have relative coordinates based on the running robot's location. This is done in the ipm (inverse projection mapping), which in turn publishes `robots_relative`. For now we totally humans and other obstacles, which could be handled with ObstaclRelative msgs. Currently the TeamData msgs also still contains an ObstaclRelativeArray, because change it would most likely also require changes in the behavior module. This will be done at a later stage. Fixes: #125
intoducing handling of truncated messages if a protobuf message should be larger than 1024 bytes, we then double the buffer size for the next iteration
and other smaller fixes
49e6154 to
ce0894b
Compare
This was referenced Jan 23, 2024
6755953 to
798dfdb
Compare
and improve error messages for transform errors
798dfdb to
a5f3cf8
Compare
Flova
approved these changes
Feb 21, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Major refactoring of team communication including the following:
pytestandsyrupyRobotArraymsgs on the/robots_relativetopic, as we never publishObstacleRelativeArrayRelated issues
Necessary checks
colcon build