MineROS allows the user to fully control a mc bot using ros services and topics, The current version of MineROS is made for ROS2 Foxy and is still in development. The purpose of this project is to give a conducive learning environment for people who want to learn ROS2 and python. Specifically for people who want to learn mavros, as this is what the project attempts to mock.
- ROS2 Foxy
- Python3
- Javascript
- Nodejs version >= 20
- Mineflayer Api
- Minecraft server
pip install javascript
sudo apt install nodejs
sudo apt install npm
Make sure a minecraft server is running on localhost:25565
ros2 run mineros mineros_main
Following is general api information and links to api docs.
IMPORTANT: BLOCKS DO NOT HAVE THE SAME IDS AS ITEMS
Several of the services and topics require knowledge of the minecraft block ids, this can be found here http://prismarinejs.github.io/minecraft-data/?d=blocks
on the boot up of the mineros system all item ids are written to the file docs/items.txt
. Note that blocks dont have the same id as items