alex-petrenko / sample-factory

High throughput synchronous and asynchronous reinforcement learning
https://samplefactory.dev
MIT License
773 stars 106 forks source link

Integration with F1Tenth Simulator #267

Open gauravkuppa opened 1 year ago

gauravkuppa commented 1 year ago

I want to use sample factory, with this gym environment for a class: https://github.com/f1tenth/f1tenth_gym_ros

How would I integrate this?

alex-petrenko commented 1 year ago

Hi @gauravkuppa ! Integrating a Gym environment into Sample Factory is pretty straightforward. Take a look at this documentation page to get started: https://www.samplefactory.dev/03-customization/custom-environments/#custom-environment-template

We also provide numerous example environment integrations, such as https://www.samplefactory.dev/09-environment-integrations/dmlab and many others. You can find the source code of these examples here: https://github.com/alex-petrenko/sample-factory/tree/master/sf_examples

I'd be happy to answer any specific questions! You're welcome to join our Discord to discuss any problems you might encounter!