Help changing map file in f1tenth simulator

129 views
Skip to first unread message

Malik Ali

unread,
Jun 16, 2024, 1:00:06 PM6/16/24
to F1_10
I am trying to change the map from levine to levine_obs to test my gap following algorithm for lab 4. I have placed the levine_obs.yaml and levine_obs.png files in the f1tenth_gym_ros/maps folder and modified the sim.yaml:

# map parameters
    map_path: '/sim_ws/src/f1tenth_gym_ros/maps/levine_obs'
    map_img_ext: '.png'

Unfortunately, after building and relaunching, I am still arriving at the same levine map. I found the build file in log and it showed that it was successfully copying the sim.yaml file and when looking at what was in the sim.yaml file using cat, it shows the correct filepath. Additionally, I can modify the origin for the levine.yaml file and it will work as intended. Does this have something to do with docker? Any help would be greatly appreciated. Thanks,

Malik.

Rahul Mangharam

unread,
Jun 16, 2024, 2:49:09 PM6/16/24
to Malik Ali, F1_10
Malik,
I encourage you to ask these questions on the f1tenth-teams slack. It is a responsive and helpful community


Prof. Rahul Mangharam
Dept. of Electrical and Systems Engineering
School of Engineering and Applied Science
University of Pennsylvania


--
You received this message because you are subscribed to the Google Groups "F1_10" group.
To unsubscribe from this group and stop receiving emails from it, send an email to f1_10+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/f1_10/8354437c-2e72-496e-85b6-d49e5e212015n%40googlegroups.com.
Message has been deleted
Message has been deleted
Message has been deleted

Shivam Jindal

unread,
Nov 30, 2024, 5:12:00 PM11/30/24
to F1_10
I am encountering a similar issue, is someone able to share the slack join link again as it has expired? Thank you!

Malik Ali

unread,
Dec 1, 2024, 12:45:21 PM12/1/24
to F1_10
Shivam,

Go to f1tenth.org and click on forum in the top right and it will redirect you to the slack channel.

As for your question, when you change the map name in the sim.yaml file, make sure to bring down the docker image with 'sudo docker-compose down' , then colcon build your workspace, and when you bring it back up run 'sudo docker-compose up -- build'

Hopefully this helps,

Malik.
Reply all
Reply to author
Forward
0 new messages