apollo
apollo copied to clipboard
> apollo version:9.x_alpha device: jetson orin, jetpack r35.1 I successfully built apollo on orin,but when I launch prediction module some errors occur like this:
Failed to pull docker image : apolloauto/apollo:map_volume-apollo_virutal_map-aarch64-latest. When I execute bash docker/scripts/dev_start.sh. sh, this error was reported, but I couldn't find this image on the dockerhub at all,who can help me?
If you do not need map_volume-apollo_virutal_map-aarch64-latest, you can delete it by modify dev_start.sh. like this:
DEFAULT_MAPS=(
sunnyvale_big_loop
sunnyvale_loop
sunnyvale_with_two_offices
san_mateo
#apollo_virutal_map
)
sorry,What I mean is, the image Apollo is trying to pull cannot be found in the dockerHub. What should I do? I am planning to deploy Apollo on orin nx by executing dev_ start.sh?
There are many arm64 images in dev_start.sh that cannot be found. What should I do
Could you please explain the general steps to me
I don't understand why the map is divided into aarch64 and x86. You can try del aarch64 branch and have a try.
https://github.com/ApolloAuto/apollo/blob/a3c851fc5844e0684b9c5108231fcc2c15cebb8e/docker/scripts/dev_start.sh#L289-L293
I am currently executing dev_start.sh on the arm architectur. ErrorFailed to pull docker image : apolloauto/apollo:map_volume-apollo_virutal_map-aarch64-latest. How should I solve it?
I can't find this image on DockerHub
In the 9.x_dev branch, the map image should be forced to be set to use the x86 version (since the map is just data, the architecture doesn't affect map reading), so there will be no operation to create a volume using a map image with the aarch64 architectureIn 9.x_alpha branch, the map image should be forced.
function restart_map_volume_if_needed() {
local map_name="$1"
local map_version="$2"
local map_volume="apollo_map_volume-${map_name}_${USER}"
local map_path="/apollo/modules/map/data/${map_name}"
# some map image does not support aarch64, force to use image of x86_64
local TARGET_ARCH="x86_64"
if [[ ${MAP_VOLUMES_CONF} == *"${map_volume}"* ]]; then
info "Map ${map_name} has already been included."
else
local map_image=
if [ "${TARGET_ARCH}" = "aarch64" ]; then
map_image="${DOCKER_REPO}:map_volume-${map_name}-${TARGET_ARCH}-${map_version}"
else
map_image="${DOCKER_REPO}:map_volume-${map_name}-${map_version}"
fi
info "Load map ${map_name} from image: ${map_image}"
docker_restart_volume "${map_volume}" "${map_image}" "${map_path}"
MAP_VOLUMES_CONF="${MAP_VOLUMES_CONF} --volume ${map_volume}:${map_path}"
fi
}
Which branch of code are you using? Currently only the 9.x_alpha branch supports the arm architecture