-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add glog_component
to aip_xx1_launch
#184
Conversation
Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Shin-kyoto <[email protected]>
Any plans for introducing this into https://github.com/autowarefoundation/sample_sensor_kit_launch/blob/main/sample_sensor_kit_launch/launch/pointcloud_preprocessor.launch.py as well? |
Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Shin-kyoto <[email protected]>
Signed-off-by: Shin-kyoto <[email protected]>
I want to add glog to sample_sensor_kit_launch, later. |
Can you review this PR? |
@badai-nguyen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't get a stack trace to show up. Are there any additional settings?
@Shin-kyoto as @.miursh I can't get any stack trace show up. |
# set container to run all required components in the same process | ||
container = ComposableNodeContainer( | ||
name=LaunchConfiguration("container_name"), | ||
namespace="", | ||
package="rclcpp_components", | ||
executable=LaunchConfiguration("container_executable"), | ||
composable_node_descriptions=[], | ||
composable_node_descriptions=[glog_component], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that the container including glog_component
wasn't executed.
The reason is theLaunchConfiguration("use_pointcloud_container")=True
so only concat_loader
will be executed. I think you should add glog_component
into concat_loader
instead.
# load concat or passthrough filter
concat_loader = LoadComposableNodes(
composable_node_descriptions=[glog_component, concat_component],
target_container=target_container,
condition=IfCondition(LaunchConfiguration("use_concat_filter")),
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I add glog_component to concat_loader 🙇
By the way, since the
so for adding |
As @badai-nguyen says, when I added 'glog_component' to 'concat_loader,' a stack trace was displayed.
|
Signed-off-by: Shin-kyoto <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
detail
glog_component
toaip_xx1_launch
.test
XX1
glog_component
inaip_xx1_launch
works correctly.Procedure
sed -i -z 's|void PointCloudConcatenateDataSynchronizerComponent::publish()\n{|void PointCloudConcatenateDataSynchronizerComponent::publish()\n{\n throw std::runtime_error("error!!!!!!!!!!!!!!!!!!");|' ./src/autoware/universe/sensing/pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_nodelet.cpp
glog_component
tells you in detail where thew error is occurring.todo