JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
gyro_sim.hpp
Go to the documentation of this file.
1// Copyright (c) JSim contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the LGPLv3 license file in the root directory of this project.
4
5#pragma once
6
9
10namespace frcsim {
11
15class GyroSim {
16public:
17 GyroSim() = default;
18 virtual ~GyroSim() = default;
19
24 virtual Quaternion GetOrientation() const = 0;
25
30 virtual Vector3 GetAngularVelocity() const = 0;
31};
32
33} // namespace frcsim
virtual Vector3 GetAngularVelocity() const =0
Gets rotational velocity vector.
virtual ~GyroSim()=default
GyroSim()=default
virtual Quaternion GetOrientation() const =0
Gets simulated angular position (yaw, pitch, roll).
Definition vector.hpp:13
Unit-quaternion rotation representation and rotation algebra helpers.
Definition quaternion.hpp:25
3D vector utility used throughout JSim physics.
Definition vector.hpp:22