Skip to content
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

chore: sync upstream #53

Merged
merged 19 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 35 additions & 23 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,29 +54,41 @@
"ackermann",
"adapi",
"aichallenge",
"argmin",
"astar",
"autocompute",
"autoconnect",
"autodetermine",
"automotiveaichallenge",
"autoware",
"awsim",
"booars",
"brakemap",
"buildtool",
"cind",
"coeffs",
"colcon",
"costmap",
"cuda",
"cyclonedds",
"dallara",
"dcmake",
"decel",
"dind",
"distro",
"downsample",
"downsampling",
"dtheta",
"eguchi",
"freespace",
"gnss",
"gnucxx",
"Golay",
"gtest",
"Iceoryx",
"initialpose",
"ints",
"Kohei",
"lanechange",
"lanefollowing",
"lanelet",
Expand All @@ -86,58 +98,58 @@
"linalg",
"linestring",
"linestrings",
"linkstate",
"lowpass",
"mapfile",
"mathcal",
"mgrs",
"michikuni",
"mppi",
"MPPI",
"mpss",
"multihop",
"ncourse",
"nodename",
"odometry",
"osrf",
"pinv",
"pitstop",
"pointcloud",
"Qdin",
"rclcpp",
"rclpy",
"rcutils",
"reparameting",
"rgba",
"rois",
"rosbag",
"rosdep",
"rosdistro",
"rosout",
"rrtstar",
"rsample",
"rviz",
"satitzky",
"Savitzky",
"schematypens",
"sideshift",
"softplus",
"srvs",
"stddev",
"tempature",
"traj",
"urdf",
"vander",
"Vandermonde",
"velodyne",
"wextra",
"wmctrl",
"wpedantic",
"xacro",
"xclip",
"xyzrpy",
"zcvf",
"mppi",
"Qdin",
"Kohei",
"MPPI",
"Savitzky",
"satitzky",
"Golay",
"Vandermonde",
"michikuni",
"eguchi",
"vander",
"pinv",
"dtheta",
"cind",
"dind",
"ncourse",
"argmin",
"reparameting",
"tempature",
"rsample",
"coeffs",
"softplus",
"mpss"
"zenoh",
"zenohd"
]
}
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ RUN apt-get -y install ros-humble-rqt-graph
ENV XDG_RUNTIME_DIR=/tmp/xdg
ENV ROS_LOCALHOST_ONLY=0
ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ENV ROS_DOMAIN_ID=71
ENV CYCLONEDDS_URI=file:///opt/autoware/cyclonedds.xml

COPY cyclonedds.xml /opt/autoware/cyclonedds.xml
COPY vehicle/cyclonedds.xml /opt/autoware/cyclonedds.xml

FROM common AS dev

Expand Down
22 changes: 21 additions & 1 deletion aichallenge/run_autoware.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
#!/bin/bash

mode=${1}

case "${mode}" in
"awsim")
opts="simulation:=true use_sim_time:=true run_rviz:=true"
;;
"vehicle")
opts="simulation:=false use_sim_time:=false run_rviz:=false"
;;
"rosbag")
opts="simulation:=false use_sim_time:=true run_rviz:=true"
;;
*)
echo "invalid argument (use 'awsim' or 'vehicle' or 'rosbag')"
exit 1
;;
esac

# shellcheck disable=SC1091
source /aichallenge/workspace/install/setup.bash
sudo ip link set multicast on lo
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml

# shellcheck disable=SC2086
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml ${opts}
2 changes: 1 addition & 1 deletion aichallenge/run_evaluation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sleep 20

# Start Autoware
echo "Start Autoware"
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml >autoware.log 2>&1 &
ros2 launch aichallenge_system_launch aichallenge_system.launch.xml simulation:=true use_sim_time:=true run_rviz:=true >autoware.log 2>&1 &
PID_AUTOWARE=$!
sleep 10

Expand Down
5 changes: 0 additions & 5 deletions aichallenge/workspace/run_aichallenge_launch_replay_rosbag.sh

This file was deleted.

5 changes: 0 additions & 5 deletions aichallenge/workspace/run_aichallenge_launch_run_vehicle.sh

This file was deleted.

5 changes: 0 additions & 5 deletions aichallenge/workspace/run_aichallenge_launch_simulation.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<launch>
<!-- Essential parameters -->
<arg name="vehicle_id" default="$(env VEHICLE_ID default)" description="vehicle specific ID"/>
<arg name="use_sim_time" default="false"/>
<arg name="simulation" description="used for sensor kit param"/>
<arg name="use_sim_time"/>
<arg name="map_path" default="$(find-pkg-share aichallenge_submit_launch)/map"/>
<arg name="vehicle_model" default="racing_kart" description="vehicle model name"/>
<arg name="sensor_model" default="racing_kart_sensor_kit" description="sensor model name"/>
<arg name="simulation" description="used for sensor kit param"/>
<!-- Optional parameters -->
<!-- Map -->
<arg name="lanelet2_map_file" default="lanelet2_map.osm" description="lanelet2 map file name"/>
Expand Down
Loading