Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

fix: perception launcher syntax error #160

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Dec 20, 2021

PR Type

  • Bug Fix

Related Links

Description

fix following error:

Task exception was never retrieved                                                                                                                                                                             
future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/galactic/lib/python3.8/site-packages/launch/launch_service.py:226> exception=TypeError('map() must have
 at least two arguments.')>                                                                                                                                                                                    
Traceback (most recent call last):                                                                                                                                                                             
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/launch_service.py", line 228, in _process_one_event                                                                                               
    await self.__process_event(next_event)                                                                                                                                                                     
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/launch_service.py", line 248, in __process_event                                                                                                  
    visit_all_entities_and_collect_futures(entity, self.__context))                                                                                                                                            
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures                                     
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)                                                                                                                           
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures                                     
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)                                                                                                                           
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 45, in visit_all_entities_and_collect_futures                                     
    futures_to_return += visit_all_entities_and_collect_futures(sub_entity, context)                                                                                                                           
  [Previous line repeated 8 more times]                                                                                                                                                                        
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/utilities/visit_all_entities_and_collect_futures_impl.py", line 38, in visit_all_entities_and_collect_futures                                     
    sub_entities = entity.visit(context)                                                                                                                                                                       
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/action.py", line 108, in visit                                                                                                                    
    return self.execute(context)                                                                                                                                                                               
  File "/opt/ros/galactic/lib/python3.8/site-packages/launch/actions/opaque_function.py", line 75, in execute                                                                                                  
    return self.__function(context, *self.__args, **self.__kwargs)                                                                                                                                             
  File "/home/satoshi/autoware.proj.gsm8/install/perception_launch/share/perception_launch/launch/obstacle_segmentation/ground_segmentation/ground_segmentation.launch.py", line 462, in launch_setup          
    pipeline.create_single_frame_obstacle_segmentation_components(                                                                                                                                             
  File "/home/satoshi/autoware.proj.gsm8/install/perception_launch/share/perception_launch/launch/obstacle_segmentation/ground_segmentation/ground_segmentation.launch.py", line 268, in create_single_frame_ob
stacle_segmentation_components                                                                                                                                                                                 
    + list(map(lambda x: f"{x}/pointcloud"), additional_lidars),                                                                                                                                               
TypeError: map() must have at least two arguments.

Review Procedure

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • Code follows coding guidelines
  • (Optional) Unit tests have been written for new behavior
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets
  • Write release notes

CI Checks

  • Build and test for PR: Required to pass before the merge.
  • Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@satoshi-ota satoshi-ota merged commit b641063 into tier4/universe Dec 20, 2021
@satoshi-ota satoshi-ota deleted the fix/syntax-error-perception-launch branch December 20, 2021 02:29
j4tfwm6z pushed a commit that referenced this pull request Feb 1, 2022
kazuki527 pushed a commit to kazuki527/autoware_launch that referenced this pull request Apr 25, 2022
takayuki5168 pushed a commit that referenced this pull request May 26, 2022
kosuke55 pushed a commit that referenced this pull request Jan 17, 2023
… expanding the drivable area (#160)

[behavior_path_planner] add types to skip in drivable_area_expansion

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants