https://github.com/pera-swarm/swarm-simulator
This repository contains the implementations of a mixed reality-based swarm simulator
https://github.com/pera-swarm/swarm-simulator
nodejs simulation swarm-robotics typescript
Last synced: about 1 year ago
JSON representation
This repository contains the implementations of a mixed reality-based swarm simulator
- Host: GitHub
- URL: https://github.com/pera-swarm/swarm-simulator
- Owner: Pera-Swarm
- License: mit
- Created: 2020-07-10T05:56:38.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T12:09:04.000Z (over 1 year ago)
- Last Synced: 2025-03-30T10:11:18.522Z (about 1 year ago)
- Topics: nodejs, simulation, swarm-robotics, typescript
- Language: JavaScript
- Homepage:
- Size: 832 KB
- Stars: 2
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://opensource.org/licenses/MIT)
# Mixed Reality Simulator
### Requirements
Please install node dependencies as follows:
```
npm install
```
| It is recommended to use Node 16 or newer version
### Environment Variables
Please copy the _sample.env_ file and rename into _.env_ and complete the configurations for HTTP and MQTT
```bash
MQTT_HOST=mqtt://localhost
MQTT_USER=user
MQTT_PASS=password
MQTT_CLIENT=mqtt_server
MQTT_CHANNEL=v1
ARENA_CONFIG="./app/config/arena/{arena_config}.json"
LOG_LEVEL='info'
```
### Run the scripts
Development environment
```
npm run dev
```
Production environment
```
npm start
```
### Documentation
You can find more information about pera-swarm on the [Official Documentation Page](https://pera-swarm.ce.pdn.ac.lk/docs/).
### Read More
- [TypeScript](https://www.typescriptlang.org/)
- [NodeJS](https://nodejs.org/)
- [NPM](https://www.npmjs.com/)
- [MQTT](https://github.com/mqttjs/MQTT.js)
- [Node Cron](https://github.com/merencia/node-cron)