Closed SteveMacenski closed 12 months ago
^ You can see this in action in the Nav2 draft PR linked
13:30:18 === src/ros2/yaml_cpp_vendor (git) ===
13:30:18 Cloning into '.'...
13:30:18 <== '. ../venv/bin/activate && "/home/jenkins-agent/workspace/ci_linux/venv/bin/python" "/home/jenkins-agent/workspace/ci_linux/venv/bin/vcs" import "src" --force --retry 5 --input 00-ros2.repos' exited with return code '1'
13:30:19 Build step 'Execute shell' marked build as failure
Wow, the build farm is having alot of timeout issues in internet connection, huh? That seems odd that this comes up so much
@ahcorde can we retrigger?
Passing now!
Thanks!!
This exposes the TF2 Listener subscriber callback so that a user can override it to perform a slightly altered operation. This is in efforts to a new
BaseFootprintPublisher
I'm adding tonav2_util
which looks at incoming TF messages and checks if they're updating the transform ofbase_link
. If so, then I want to automatically publish abase_footprint
transform with the Z, Pitch, Roll removed to be flat on the surface 2D.Initially, I had made a
TF2MsgCallback
which the user could register on TF2 Listener construction to be called within the subscription callback, but I ran into issues since there are so many default constructor arguments, selecting the order of where to place it to (1) not disrupt users and (2) not have to specify a massive number of QoS settings or options.So instead, I opted for making the subscription itself overridable so I can call
TransformListener::subscription_callback(msg, is_static);
internally and then do my thing with that data, e.g.Thus, this seems like the best trade off to be (1) not disruptive to other users and (2) get what I need to get done on an event-basis instead of polling or manually listening into the TF topic. In general, it seems useful to be able to override this method for custom logic or introspection.