├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── assets ├── README.md ├── objects │ ├── README.md │ ├── actuators │ │ ├── WheelMotor.cpp │ │ └── WheelMotor.h │ ├── bodies │ │ ├── SimpleBotBody.cpp │ │ └── SimpleBotBody.h │ ├── playgrounds │ │ ├── Dohyo.cpp │ │ ├── Dohyo.h │ │ ├── LineFollowerPath.cpp │ │ └── LineFollowerPath.h │ ├── robots │ │ ├── BaseBot.cpp │ │ ├── BaseBot.h │ │ ├── LineFollower.cpp │ │ ├── LineFollower.h │ │ ├── PhysicsBot.cpp │ │ ├── PhysicsBot.h │ │ ├── Sumobot.cpp │ │ └── Sumobot.h │ ├── sensors │ │ ├── LineDetectorObject.cpp │ │ ├── LineDetectorObject.h │ │ ├── RangeSensorObject.cpp │ │ └── RangeSensorObject.h │ └── shapes │ │ ├── CircleObject.cpp │ │ ├── CircleObject.h │ │ ├── LineObject.cpp │ │ ├── LineObject.h │ │ ├── QuadObject.cpp │ │ ├── QuadObject.h │ │ ├── RectObject.cpp │ │ └── RectObject.h └── textures │ ├── AnimationTestSpriteSheet.png │ ├── dohyo_scratched.png │ ├── line_follower_plated.png │ ├── scalebar10cm.png │ ├── scalebar1m.png │ ├── scalebar25cm.png │ ├── scalebar2m.png │ ├── scalebar4m.png │ ├── scalebar50cm.png │ ├── sumobot_body_circuited.png │ ├── sumobot_body_plated.png │ ├── sumobot_body_round_black.png │ ├── sumobot_body_round_red.png │ ├── wheel_sprite_left_green.png │ ├── wheel_sprite_left_orange.png │ ├── wheel_sprite_left_red.png │ ├── wheel_sprite_right_green.png │ ├── wheel_sprite_right_orange.png │ └── wheel_sprite_right_red.png ├── docs ├── Doxyfile ├── README.md └── images │ ├── line_follower_feature.png │ └── sumobot_feature.gif ├── external └── README.md ├── nsumoapp ├── CMakeLists.txt ├── NsumoApp.cpp ├── NsumoApp.h ├── controllers │ └── NsumoController │ │ ├── NsumoMicrocontroller.cpp │ │ ├── NsumoMicrocontroller.h │ │ ├── main.c │ │ ├── main_function.h │ │ ├── nsumo_simulated │ │ ├── assert_handler.c │ │ ├── ir_remote.c │ │ ├── qre1113.c │ │ ├── tb6612fng.c │ │ ├── trace.c │ │ └── vl53l0x.c │ │ └── voltage_lines.h ├── main.cpp └── scenes │ ├── NsumoScene.cpp │ └── NsumoScene.h ├── src ├── README.md ├── controllers │ └── components │ │ ├── CMicrocontroller.cpp │ │ ├── CMicrocontroller.h │ │ ├── ControllerComponent.h │ │ ├── KeyboardController.h │ │ ├── Microcontroller.cpp │ │ ├── Microcontroller.h │ │ ├── microcontroller_c_bindings.c │ │ ├── microcontroller_c_bindings.h │ │ └── microcontroller_c_setup.h ├── core │ ├── Application.cpp │ ├── Application.h │ ├── Component.h │ ├── Event.cpp │ └── Event.h ├── physics │ ├── Body2DUserData.h │ ├── ContactListener.cpp │ ├── ContactListener.h │ ├── PhysicsWorld.cpp │ ├── PhysicsWorld.h │ └── components │ │ ├── Body2D.cpp │ │ ├── Body2D.h │ │ ├── LineDetector.cpp │ │ ├── LineDetector.h │ │ ├── PhysicsComponent.h │ │ ├── RangeSensor.cpp │ │ └── RangeSensor.h ├── renderer │ ├── AssetsHelper.cpp │ ├── AssetsHelper.h │ ├── Camera.cpp │ ├── Camera.h │ ├── GLError.cpp │ ├── GLError.h │ ├── ImGuiMenu.cpp │ ├── ImGuiMenu.h │ ├── ImGuiOverlay.cpp │ ├── ImGuiOverlay.h │ ├── IndexBuffer.cpp │ ├── IndexBuffer.h │ ├── QuadCoords.h │ ├── Renderer.cpp │ ├── Renderer.h │ ├── Scalebar.cpp │ ├── Scalebar.h │ ├── Shader.cpp │ ├── Shader.h │ ├── SpriteAnimation.cpp │ ├── SpriteAnimation.h │ ├── TexCoords.h │ ├── Texture.cpp │ ├── Texture.h │ ├── VertexArray.cpp │ ├── VertexArray.h │ ├── VertexBuffer.cpp │ ├── VertexBuffer.h │ ├── VertexBufferLayout.h │ ├── components │ │ ├── CircleComponent.h │ │ ├── HollowCircleComponent.h │ │ ├── LineComponent.h │ │ ├── QuadComponent.cpp │ │ ├── QuadComponent.h │ │ ├── RectComponent.cpp │ │ ├── RectComponent.h │ │ └── RenderableComponent.h │ └── stb_image.cpp ├── scene │ ├── Scene.cpp │ ├── Scene.h │ ├── SceneMenu.cpp │ ├── SceneMenu.h │ ├── SceneObject.cpp │ └── SceneObject.h └── transforms │ └── components │ └── Transforms.h ├── testapp ├── Bots2DTestApp.cpp ├── Bots2DTestApp.h ├── CMakeLists.txt ├── README.md ├── controllers │ └── NsumoController │ │ ├── NsumoMicrocontroller.cpp │ │ ├── NsumoMicrocontroller.h │ │ ├── README.md │ │ ├── main.c │ │ ├── main_function.h │ │ ├── motor.c │ │ └── voltage_lines.h ├── main.cpp └── scenes │ ├── DrawTestScene.cpp │ ├── DrawTestScene.h │ ├── LineFollowerTestScene.cpp │ ├── LineFollowerTestScene.h │ ├── PhysicsBotTestScene.cpp │ ├── PhysicsBotTestScene.h │ ├── PhysicsTestScene.cpp │ ├── PhysicsTestScene.h │ ├── SpriteAnimationTestScene.cpp │ ├── SpriteAnimationTestScene.h │ ├── SumobotTestScene.cpp │ ├── SumobotTestScene.h │ ├── WheelMotorTestScene.cpp │ └── WheelMotorTestScene.h └── tools ├── README.md └── dc_motor_plot.py /.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | build/ 3 | tools/*svg 4 | docs/doxygen 5 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/README.md -------------------------------------------------------------------------------- /assets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/README.md -------------------------------------------------------------------------------- /assets/objects/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/README.md -------------------------------------------------------------------------------- /assets/objects/actuators/WheelMotor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/actuators/WheelMotor.cpp -------------------------------------------------------------------------------- /assets/objects/actuators/WheelMotor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/actuators/WheelMotor.h -------------------------------------------------------------------------------- /assets/objects/bodies/SimpleBotBody.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/bodies/SimpleBotBody.cpp -------------------------------------------------------------------------------- /assets/objects/bodies/SimpleBotBody.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/bodies/SimpleBotBody.h -------------------------------------------------------------------------------- /assets/objects/playgrounds/Dohyo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/playgrounds/Dohyo.cpp -------------------------------------------------------------------------------- /assets/objects/playgrounds/Dohyo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/playgrounds/Dohyo.h -------------------------------------------------------------------------------- /assets/objects/playgrounds/LineFollowerPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/playgrounds/LineFollowerPath.cpp -------------------------------------------------------------------------------- /assets/objects/playgrounds/LineFollowerPath.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/playgrounds/LineFollowerPath.h -------------------------------------------------------------------------------- /assets/objects/robots/BaseBot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/BaseBot.cpp -------------------------------------------------------------------------------- /assets/objects/robots/BaseBot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/BaseBot.h -------------------------------------------------------------------------------- /assets/objects/robots/LineFollower.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/LineFollower.cpp -------------------------------------------------------------------------------- /assets/objects/robots/LineFollower.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/LineFollower.h -------------------------------------------------------------------------------- /assets/objects/robots/PhysicsBot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/PhysicsBot.cpp -------------------------------------------------------------------------------- /assets/objects/robots/PhysicsBot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/PhysicsBot.h -------------------------------------------------------------------------------- /assets/objects/robots/Sumobot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/Sumobot.cpp -------------------------------------------------------------------------------- /assets/objects/robots/Sumobot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/robots/Sumobot.h -------------------------------------------------------------------------------- /assets/objects/sensors/LineDetectorObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/sensors/LineDetectorObject.cpp -------------------------------------------------------------------------------- /assets/objects/sensors/LineDetectorObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/sensors/LineDetectorObject.h -------------------------------------------------------------------------------- /assets/objects/sensors/RangeSensorObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/sensors/RangeSensorObject.cpp -------------------------------------------------------------------------------- /assets/objects/sensors/RangeSensorObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/sensors/RangeSensorObject.h -------------------------------------------------------------------------------- /assets/objects/shapes/CircleObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/CircleObject.cpp -------------------------------------------------------------------------------- /assets/objects/shapes/CircleObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/CircleObject.h -------------------------------------------------------------------------------- /assets/objects/shapes/LineObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/LineObject.cpp -------------------------------------------------------------------------------- /assets/objects/shapes/LineObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/LineObject.h -------------------------------------------------------------------------------- /assets/objects/shapes/QuadObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/QuadObject.cpp -------------------------------------------------------------------------------- /assets/objects/shapes/QuadObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/QuadObject.h -------------------------------------------------------------------------------- /assets/objects/shapes/RectObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/RectObject.cpp -------------------------------------------------------------------------------- /assets/objects/shapes/RectObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/objects/shapes/RectObject.h -------------------------------------------------------------------------------- /assets/textures/AnimationTestSpriteSheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/AnimationTestSpriteSheet.png -------------------------------------------------------------------------------- /assets/textures/dohyo_scratched.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/dohyo_scratched.png -------------------------------------------------------------------------------- /assets/textures/line_follower_plated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/line_follower_plated.png -------------------------------------------------------------------------------- /assets/textures/scalebar10cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar10cm.png -------------------------------------------------------------------------------- /assets/textures/scalebar1m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar1m.png -------------------------------------------------------------------------------- /assets/textures/scalebar25cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar25cm.png -------------------------------------------------------------------------------- /assets/textures/scalebar2m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar2m.png -------------------------------------------------------------------------------- /assets/textures/scalebar4m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar4m.png -------------------------------------------------------------------------------- /assets/textures/scalebar50cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/scalebar50cm.png -------------------------------------------------------------------------------- /assets/textures/sumobot_body_circuited.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/sumobot_body_circuited.png -------------------------------------------------------------------------------- /assets/textures/sumobot_body_plated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/sumobot_body_plated.png -------------------------------------------------------------------------------- /assets/textures/sumobot_body_round_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/sumobot_body_round_black.png -------------------------------------------------------------------------------- /assets/textures/sumobot_body_round_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/sumobot_body_round_red.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_left_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_left_green.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_left_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_left_orange.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_left_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_left_red.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_right_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_right_green.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_right_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_right_orange.png -------------------------------------------------------------------------------- /assets/textures/wheel_sprite_right_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/assets/textures/wheel_sprite_right_red.png -------------------------------------------------------------------------------- /docs/Doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/docs/Doxyfile -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/images/line_follower_feature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/docs/images/line_follower_feature.png -------------------------------------------------------------------------------- /docs/images/sumobot_feature.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/docs/images/sumobot_feature.gif -------------------------------------------------------------------------------- /external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/external/README.md -------------------------------------------------------------------------------- /nsumoapp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/CMakeLists.txt -------------------------------------------------------------------------------- /nsumoapp/NsumoApp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/NsumoApp.cpp -------------------------------------------------------------------------------- /nsumoapp/NsumoApp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/NsumoApp.h -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/NsumoMicrocontroller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/NsumoMicrocontroller.cpp -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/NsumoMicrocontroller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/NsumoMicrocontroller.h -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/main.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/main_function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/main_function.h -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/assert_handler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/assert_handler.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/ir_remote.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/ir_remote.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/qre1113.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/qre1113.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/tb6612fng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/tb6612fng.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/trace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/trace.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/nsumo_simulated/vl53l0x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/nsumo_simulated/vl53l0x.c -------------------------------------------------------------------------------- /nsumoapp/controllers/NsumoController/voltage_lines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/controllers/NsumoController/voltage_lines.h -------------------------------------------------------------------------------- /nsumoapp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/main.cpp -------------------------------------------------------------------------------- /nsumoapp/scenes/NsumoScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/scenes/NsumoScene.cpp -------------------------------------------------------------------------------- /nsumoapp/scenes/NsumoScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/nsumoapp/scenes/NsumoScene.h -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/README.md -------------------------------------------------------------------------------- /src/controllers/components/CMicrocontroller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/CMicrocontroller.cpp -------------------------------------------------------------------------------- /src/controllers/components/CMicrocontroller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/CMicrocontroller.h -------------------------------------------------------------------------------- /src/controllers/components/ControllerComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/ControllerComponent.h -------------------------------------------------------------------------------- /src/controllers/components/KeyboardController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/KeyboardController.h -------------------------------------------------------------------------------- /src/controllers/components/Microcontroller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/Microcontroller.cpp -------------------------------------------------------------------------------- /src/controllers/components/Microcontroller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/Microcontroller.h -------------------------------------------------------------------------------- /src/controllers/components/microcontroller_c_bindings.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/microcontroller_c_bindings.c -------------------------------------------------------------------------------- /src/controllers/components/microcontroller_c_bindings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/microcontroller_c_bindings.h -------------------------------------------------------------------------------- /src/controllers/components/microcontroller_c_setup.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/controllers/components/microcontroller_c_setup.h -------------------------------------------------------------------------------- /src/core/Application.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/core/Application.cpp -------------------------------------------------------------------------------- /src/core/Application.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/core/Application.h -------------------------------------------------------------------------------- /src/core/Component.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/core/Component.h -------------------------------------------------------------------------------- /src/core/Event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/core/Event.cpp -------------------------------------------------------------------------------- /src/core/Event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/core/Event.h -------------------------------------------------------------------------------- /src/physics/Body2DUserData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/Body2DUserData.h -------------------------------------------------------------------------------- /src/physics/ContactListener.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/ContactListener.cpp -------------------------------------------------------------------------------- /src/physics/ContactListener.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/ContactListener.h -------------------------------------------------------------------------------- /src/physics/PhysicsWorld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/PhysicsWorld.cpp -------------------------------------------------------------------------------- /src/physics/PhysicsWorld.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/PhysicsWorld.h -------------------------------------------------------------------------------- /src/physics/components/Body2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/Body2D.cpp -------------------------------------------------------------------------------- /src/physics/components/Body2D.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/Body2D.h -------------------------------------------------------------------------------- /src/physics/components/LineDetector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/LineDetector.cpp -------------------------------------------------------------------------------- /src/physics/components/LineDetector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/LineDetector.h -------------------------------------------------------------------------------- /src/physics/components/PhysicsComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/PhysicsComponent.h -------------------------------------------------------------------------------- /src/physics/components/RangeSensor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/RangeSensor.cpp -------------------------------------------------------------------------------- /src/physics/components/RangeSensor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/physics/components/RangeSensor.h -------------------------------------------------------------------------------- /src/renderer/AssetsHelper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/AssetsHelper.cpp -------------------------------------------------------------------------------- /src/renderer/AssetsHelper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/AssetsHelper.h -------------------------------------------------------------------------------- /src/renderer/Camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Camera.cpp -------------------------------------------------------------------------------- /src/renderer/Camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Camera.h -------------------------------------------------------------------------------- /src/renderer/GLError.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/GLError.cpp -------------------------------------------------------------------------------- /src/renderer/GLError.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/GLError.h -------------------------------------------------------------------------------- /src/renderer/ImGuiMenu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/ImGuiMenu.cpp -------------------------------------------------------------------------------- /src/renderer/ImGuiMenu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/ImGuiMenu.h -------------------------------------------------------------------------------- /src/renderer/ImGuiOverlay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/ImGuiOverlay.cpp -------------------------------------------------------------------------------- /src/renderer/ImGuiOverlay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/ImGuiOverlay.h -------------------------------------------------------------------------------- /src/renderer/IndexBuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/IndexBuffer.cpp -------------------------------------------------------------------------------- /src/renderer/IndexBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/IndexBuffer.h -------------------------------------------------------------------------------- /src/renderer/QuadCoords.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/QuadCoords.h -------------------------------------------------------------------------------- /src/renderer/Renderer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Renderer.cpp -------------------------------------------------------------------------------- /src/renderer/Renderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Renderer.h -------------------------------------------------------------------------------- /src/renderer/Scalebar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Scalebar.cpp -------------------------------------------------------------------------------- /src/renderer/Scalebar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Scalebar.h -------------------------------------------------------------------------------- /src/renderer/Shader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Shader.cpp -------------------------------------------------------------------------------- /src/renderer/Shader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Shader.h -------------------------------------------------------------------------------- /src/renderer/SpriteAnimation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/SpriteAnimation.cpp -------------------------------------------------------------------------------- /src/renderer/SpriteAnimation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/SpriteAnimation.h -------------------------------------------------------------------------------- /src/renderer/TexCoords.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/TexCoords.h -------------------------------------------------------------------------------- /src/renderer/Texture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Texture.cpp -------------------------------------------------------------------------------- /src/renderer/Texture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/Texture.h -------------------------------------------------------------------------------- /src/renderer/VertexArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/VertexArray.cpp -------------------------------------------------------------------------------- /src/renderer/VertexArray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/VertexArray.h -------------------------------------------------------------------------------- /src/renderer/VertexBuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/VertexBuffer.cpp -------------------------------------------------------------------------------- /src/renderer/VertexBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/VertexBuffer.h -------------------------------------------------------------------------------- /src/renderer/VertexBufferLayout.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/VertexBufferLayout.h -------------------------------------------------------------------------------- /src/renderer/components/CircleComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/CircleComponent.h -------------------------------------------------------------------------------- /src/renderer/components/HollowCircleComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/HollowCircleComponent.h -------------------------------------------------------------------------------- /src/renderer/components/LineComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/LineComponent.h -------------------------------------------------------------------------------- /src/renderer/components/QuadComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/QuadComponent.cpp -------------------------------------------------------------------------------- /src/renderer/components/QuadComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/QuadComponent.h -------------------------------------------------------------------------------- /src/renderer/components/RectComponent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/RectComponent.cpp -------------------------------------------------------------------------------- /src/renderer/components/RectComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/RectComponent.h -------------------------------------------------------------------------------- /src/renderer/components/RenderableComponent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/renderer/components/RenderableComponent.h -------------------------------------------------------------------------------- /src/renderer/stb_image.cpp: -------------------------------------------------------------------------------- 1 | #define STB_IMAGE_IMPLEMENTATION 2 | #include "stb_image.h" 3 | -------------------------------------------------------------------------------- /src/scene/Scene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/Scene.cpp -------------------------------------------------------------------------------- /src/scene/Scene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/Scene.h -------------------------------------------------------------------------------- /src/scene/SceneMenu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/SceneMenu.cpp -------------------------------------------------------------------------------- /src/scene/SceneMenu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/SceneMenu.h -------------------------------------------------------------------------------- /src/scene/SceneObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/SceneObject.cpp -------------------------------------------------------------------------------- /src/scene/SceneObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/scene/SceneObject.h -------------------------------------------------------------------------------- /src/transforms/components/Transforms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/src/transforms/components/Transforms.h -------------------------------------------------------------------------------- /testapp/Bots2DTestApp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/Bots2DTestApp.cpp -------------------------------------------------------------------------------- /testapp/Bots2DTestApp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/Bots2DTestApp.h -------------------------------------------------------------------------------- /testapp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/CMakeLists.txt -------------------------------------------------------------------------------- /testapp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/README.md -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/NsumoMicrocontroller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/NsumoMicrocontroller.cpp -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/NsumoMicrocontroller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/NsumoMicrocontroller.h -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/README.md -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/main.c -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/main_function.h: -------------------------------------------------------------------------------- 1 | void _main(); 2 | -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/motor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/motor.c -------------------------------------------------------------------------------- /testapp/controllers/NsumoController/voltage_lines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/controllers/NsumoController/voltage_lines.h -------------------------------------------------------------------------------- /testapp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/main.cpp -------------------------------------------------------------------------------- /testapp/scenes/DrawTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/DrawTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/DrawTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/DrawTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/LineFollowerTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/LineFollowerTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/LineFollowerTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/LineFollowerTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/PhysicsBotTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/PhysicsBotTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/PhysicsBotTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/PhysicsBotTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/PhysicsTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/PhysicsTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/PhysicsTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/PhysicsTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/SpriteAnimationTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/SpriteAnimationTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/SpriteAnimationTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/SpriteAnimationTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/SumobotTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/SumobotTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/SumobotTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/SumobotTestScene.h -------------------------------------------------------------------------------- /testapp/scenes/WheelMotorTestScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/WheelMotorTestScene.cpp -------------------------------------------------------------------------------- /testapp/scenes/WheelMotorTestScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/testapp/scenes/WheelMotorTestScene.h -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- 1 | This folder contains helper tools/scripts. 2 | -------------------------------------------------------------------------------- /tools/dc_motor_plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artfulbytes/bots2d/HEAD/tools/dc_motor_plot.py --------------------------------------------------------------------------------