C++ Simulator

Open-source C++ projects categorized as Simulator

Top 23 C++ Simulator Projects

  • AirSim

    Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research

    Project mention: Modding API for old game: Strategies to ensure it runs on older systems while not losing productivity? | /r/REGames | 2023-05-04
  • Bullet

    Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

    Project mention: Blaze: A High Performance C++ Math library | news.ycombinator.com | 2024-04-17

    For typical game physics engines... not that much. Math libraries like Eigen or Blaze use lots of template metaprogramming techniques under the hood that can help when you're doing large batched matrix multiplications (since it can remove temporary allocations at compile-time and can also fuse operations efficiently, as well as applying various SIMD optimizations), but it doesn't really help when you need lots of small operations (with mat3 / mat4 / vec3 / quat / etc.). Typical game physics engines tend to use iterative algorithms for their solvers (Gauss-Seidel, PBD, etc...) instead of batched "matrix"-oriented ones, so you'll get less benefits out of Eigen / Blaze compared to what you typically see in deep learning / scientific computing workloads.

    The codebases I've seen in many game physics engines seem to all roll their own math libraries for these stuff, or even just use SIMD (SSE / AVX) intrinsics directly. Examples: PhysX (https://github.com/NVIDIA-Omniverse/PhysX), Box2D (https://github.com/erincatto/box2d), Bullet (https://github.com/bulletphysics/bullet3)...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • carla

    Open-source simulator for autonomous driving research.

    Project mention: Tesla braces for its first trial involving Autopilot fatality | news.ycombinator.com | 2023-08-28
  • webots

    Webots Robot Simulator

    Project mention: Robotics Simulation - Bridging the Gap Between Virtual and Real Worlds | dev.to | 2023-09-28

    Open Robotics Resources - Provides guides and documentation for robotics simulation.

  • Ripes

    A graphical processor simulator and assembly editor for the RISC-V ISA

    Project mention: Web GUI for the Ripes RISC-V simulator | news.ycombinator.com | 2023-10-09
  • habitat-sim

    A flexible, high-performance 3D simulator for Embodied AI research.

  • Blender-FLIP-Fluids

    The FLIP Fluids addon is a tool that helps you set up, run, and render high quality liquid fluid effects all within Blender, the free and open source 3D creation suite.

    Project mention: How to stop fluid simulation from exploding? | /r/blenderhelp | 2023-07-09

    If all else fails, you may want to consider a premium addon like FLIP Fluids, which in my experience feels more stable than the default fluid sim, though it may be a bit costly. Consider trying the demo.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • pioneer

    A game of lonely space adventure

    Project mention: SpaceTraders: A multiplayer game built on a free web API | news.ycombinator.com | 2023-05-08

    Not to be confused with Pioneer Spacesim, the remake of Elite 2, a free online game

    https://pioneerspacesim.net/

  • gem5

    The official repository for the gem5 computer-system architecture simulator.

    Project mention: Hot Chips 2023: Arm’s Neoverse V2 | news.ycombinator.com | 2023-09-12

    The idea is to write a C++ model that that produces cycle accurate outputs of the branch predictor, core pipeline, queues, memory latency, cache hierarchy, prefetch behaviour, etc. Transistor level accuracy isn't needed as long as the resulting cycle timings are identical or near identical. The improvement in workload runtime compared to a Verilog simulation is precisely because they aren't trying to model every transistor, but just the important parameters which effect performance.

    Let's take a simple example: Instead of modeling a 64-bit adder in all its gory transistor level detail, you can just have the model return the correct data after 1 "cycle" or whatever your ALU latency is. As long as that cycle latency is the same as the real hardware, you'll get an accurate performance number.

    What's particularly useful about these models is they enable much easier and faster state space exploration to see how a circuit would perform, well before going ahead with the Verilog implementation, which relatively speaking can take circuit designers ages. "How much faster would my CPU be if it had a 20% larger register file" can be answered in a day or two before getting a circuit designer to go try and implement such a thing.

    If you want an open source example, take a look at the gem5 project (https://www.gem5.org). It's not quite as sophisticated as the proprietary models used in industry, but it's a used widely in academia and open source hardware design and is a great place to start.

  • littlenavmap

    Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.

    Project mention: How do you navigate? | /r/MicrosoftFlightSim | 2023-12-09

    There's a wealth of resources on youtube for whatever kind of flight you're planning on doing. I'd personally recommend Jonathan Beckett's channel, where he has videos on GPS flight planning and radionavigation in smaller planes. If you prefer general aviation I'd highly recommend Little Navmap, and as other posters have said sites like Simbrief and Skyvector are available too.

  • rotors_simulator

    RotorS is a UAV gazebo simulator

  • gazebo-classic

    Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim

    Project mention: Unable to render window | /r/swaywm | 2023-06-07

    it is this one: https://github.com/gazebosim/gazebo-classic

  • metroboy

    A repository of gate-level simulators and tools for the original Game Boy.

    Project mention: When would you ever want bubblesort? | news.ycombinator.com | 2023-12-05

    He wrote a game engine, it renders transparent items using the painter's algorithm, which requires the items to be sorted in Z. He has a routine that iterates over all items to render them, and bubble-sorts the items in-place while iterating over the items (all in the same thread). The "compare and swap" in this case is the innermost functionality of bubblesort.

    I assume the author is https://github.com/aappleby but I don't see any obvious candidate for this code. Maybe this? https://github.com/aappleby/metroboy but I can't see why a gate-level emulator woudl need to render transparent items using painter's algorithm.

  • aitrack

    6DoF Head tracking software

    Project mention: How to get ACC head tracking with a webcam in Linux | /r/ACCompetizione | 2023-09-11

    Additionally you can use https://github.com/AIRLegend/aitrack to get good head tracking and you don't need to run it with the same WINE prefix, since it uses UDP to communicate. Just run it casually from your OS (via WINE for example). But OpenTrack still need to run in the same WINE prefix ofc.

  • qpp

    Modern C++ quantum computing library

  • qiskit-aer

    Aer is a high performance simulator for quantum circuits that includes noise models

    Project mention: Keep getting errors while trying to use Aer simulator | /r/QuantumComputing | 2023-06-02

    strange. i never faced this error while using the Aer library. could u perhaps provide the complete error? is it something like the one mentioned here?

  • picsimlab

    PICsimLab - Programmable IC Simulator Laboratory

    Project mention: Release Version 0.9.1 · lcgamboa/picsimlab | /r/PICSimLab | 2023-12-10
  • quackle

    Quackle crossword game artificial intelligence and analysis tool

  • QCSim

    Quantum computing simulator

    Project mention: Which is the best programming language for Quantum Computing? | /r/QuantumComputing | 2023-07-11

    I implemented one myself, just for fun: https://github.com/aromanro/QCSim I intend to extend/improve it further. For somebody that knows C++ maybe it's worth checking out.

  • omnibase

    This repository has a simulator of an omniwheel drive robot.

  • Kite

    Kite: Architecture Simulator for RISC-V Instruction Set (by yonseicasl)

  • HFSimulator

    This project introduces a practical high-performance stand-alone and OS independent Ionospheric Channel Simulator. Full open source documentation is available here.

  • ufc

    Up Front Control panel for flight simulation, with special integration wirh DCS via DCS-BIOS

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-17.

C++ Simulator related posts

Index

What are some of the best open-source Simulator projects in C++? This list will help you:

Project Stars
1 AirSim 15,815
2 Bullet 11,862
3 carla 10,467
4 webots 2,997
5 Ripes 2,355
6 habitat-sim 2,343
7 Blender-FLIP-Fluids 1,602
8 pioneer 1,556
9 gem5 1,404
10 littlenavmap 1,185
11 rotors_simulator 1,156
12 gazebo-classic 1,130
13 metroboy 1,088
14 aitrack 991
15 qpp 505
16 qiskit-aer 436
17 picsimlab 430
18 quackle 154
19 QCSim 24
20 omnibase 21
21 Kite 13
22 HFSimulator 9
23 ufc 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com