autowarefoundation / autoware_ai

Apache License 2.0
23 stars 8 forks source link

[Fix] waypoint_loader doesn't work from QuickStart #159

Closed kfunaoka closed 6 years ago

kfunaoka commented 6 years ago

Bug

waypoint_loader doesn't work from Quick Start even if my_launch for the moriyama sample is fixed.

Expected Behavior

waypoint is displayed.

Actual Behavior

waypoint is not displayed.

Steps to Reproduce the Problem

  1. Apply patch to the files generated by my_launch.sh

    
    diff --git a/my_detection.launch b/my_detection.launch
    index cf58222..e8fd72d 100644
    --- a/my_detection.launch
    +++ b/my_detection.launch
    @@ -21,37 +21,37 @@
    <node pkg="points2image" type="points2image" name="points2image" />
    
    <!-- car and pedestrian detection -->
    -  <!-- dpm_XXX -->
    -  <include file="$(find cv_tracker)/launch/dpm_ttic.launch">
    +  <!-- dpm_ttic -->
    +  <include file="$(find vision_dpm_ttic_detect)/launch/vision_dpm_ttic_detect.launch">
     <arg name="car" value="$(arg car_detection)" />
     <arg name="pedestrian" value="$(arg pedestrian_detection)" />
     <arg name="use_gpu" value="$(arg is_use_gpu)" />
    </include>
    
    <!-- range_fusion -->
    -  <include file="$(find cv_tracker)/launch/ranging.launch">
    +  <include file="$(find range_fusion)/launch/range_fusion.launch">
     <arg name="car" value="$(arg car_detection)" />
     <arg name="pedestrian" value="$(arg pedestrian_detection)" />
    </include>

diff --git a/my_sensing.launch b/my_sensing.launch index 9cb948f..205b847 100644 --- a/my_sensing.launch +++ b/my_sensing.launch @@ -13,7 +13,7 @@

Specifications

kfunaoka commented 6 years ago

Fixed at Commit 0688f39

7chenko commented 5 years ago

The waypoint loader again doesn't work in QuickStart. I'm following the video here https://www.youtube.com/watch?v=OWwtr_71cqI

Using v1.10, running in docker. All prior processes work, but running the my_mission_planning.launch script, it errors with:

[config_waypoint_loader_rostopic-4] process has died [pid 14291, exit code 1, cmd /opt/ros/kinetic/lib/rostopic/rostopic pub -l /config/waypoint_loader autoware_msgs/ConfigWaypointLoader {multi_lane_csv: /home/autoware/.autoware/data/path/moriyama_path.txt, replanning_mode: false, velocity_max: 20.0, velocity_min: 4.0, accel_limit: 0.98, decel_limit: 0.98, radius_thresh: 20.0, radius_min: 6.0, resample_mode: true, resample_interval: 1.0, velocity_offset: 4, end_point_offset: 5} __name:=config_waypoint_loader_rostopic __log:=/home/autoware/.ros/log/9f0af6d2-358f-11e9-ad77-9cb6d0fc87d3/config_waypoint_loader_rostopic-4.log]. log file: /home/autoware/.ros/log/9f0af6d2-358f-11e9-ad77-9cb6d0fc87d3/config_waypoint_loader_rostopic-4*.log

And the log is empty. The referenced file moriyama_path.txt exists.

Thanks for your help!