Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brianlesko/car-sim-ps5

Control a vehicle simulation with a ps5 remote
https://github.com/brianlesko/car-sim-ps5

Last synced: about 20 hours ago
JSON representation

Control a vehicle simulation with a ps5 remote

Awesome Lists containing this project

README

        

# Rendering a robot in a web app
This code implements the physics simulation framework pybullet and renders a robot. This project is written in [Pure Python]() in under 100 lines of code. Created by Brian Lesko for Learning Purposes.

 

 

## Usage

Run the following commands:
```
pip install --upgrade streamlit libusb hidapi matplotlib pybullet numpy
streamlit run https://github.com/BrianLesko/PS5-rbot-sim/blob/main/app.py
```

This will start the local Streamlit server, and you can access the chatbot by opening a web browser and navigating to `http://localhost:8501`.

 

## Repository Structure
```
repository/
├── app.py # the code and UI integrated together live here
├── customize_gui # class for adding gui elements
├── requirements.txt # the python packages needed to run locally
├── .gitignore # includes the local virtual environment named my_env
├── .streamlit/
│ └── config.toml # theme info for the UI
└── docs/
└── preview.png # preview photo for Github
```

 

## Topics

I first discovered pybullet, the simulation engine and rendering tools from a google project called Kubric, which could provide semi realistic videos. Thinking this was cool, I decided to get a small scale pybullet sim viewable from my favorite web app development library, Streamlit

```
Simulation | Pybullet | Physics simulation
Python | Streamlit | Git | Low Code UI | control | real-time | real time control
Mechanical engineer | Robotics engineer
```
 


 

╭━━╮╭━━━┳━━┳━━━┳━╮╱╭╮ ╭╮╱╱╭━━━┳━━━┳╮╭━┳━━━╮
┃╭╮┃┃╭━╮┣┫┣┫╭━╮┃┃╰╮┃┃ ┃┃╱╱┃╭━━┫╭━╮┃┃┃╭┫╭━╮┃
┃╰╯╰┫╰━╯┃┃┃┃┃╱┃┃╭╮╰╯┃ ┃┃╱╱┃╰━━┫╰━━┫╰╯╯┃┃╱┃┃
┃╭━╮┃╭╮╭╯┃┃┃╰━╯┃┃╰╮┃┃ ┃┃╱╭┫╭━━┻━━╮┃╭╮┃┃┃╱┃┃
┃╰━╯┃┃┃╰┳┫┣┫╭━╮┃┃╱┃┃┃ ┃╰━╯┃╰━━┫╰━╯┃┃┃╰┫╰━╯┃
╰━━━┻╯╰━┻━━┻╯╱╰┻╯╱╰━╯ ╰━━━┻━━━┻━━━┻╯╰━┻━━━╯

 

X Logo             GitHub             LinkedIn

follow all of these for a cookie :)