![]() |
Inverted Pendulum
v1.0.0
C++ Simulator of Dynamics
|
A C++ simulator that implements PID control for an inverted pendulum system. It provides a simulation environment where the user can test and evaluate different PID controller parameters to stabilize the inverted pendulum.
The simulator also includes an HTTP server component that allows external control and monitoring of the simulation parameters via frontend requests. This enables users to interact with the simulation in real-time through a web-based interface.
To install the simulator, follow these steps:
Clone the repository to your local machine:
Navigate to the project directory:
Create a build and libs directory in the project directory
Navigate to the build directory:
Configure the project with CMake:
Linux:
Windows:
If you encounter any issues during the build process, please check the dependencies and ensure that they are correctly installed and configured. Make sure CMakeLists.txt is correctly configured to include the required libraries.
To use the simulator, follow these steps:
Navigate to the build directory where the project was built:
Run the simulator binary:
Alternatively, you can run the simulator with the frontend server locally to control and monitor the simulation via a web interface:
serve in powsershell may require the following command to be run firsthttp://localhost:3000).By following these steps, you can run the simulator and control it using the web interface provided by the frontend server.
Code documentation can be found at eslab1doc