Logo
Explore Help
Register Sign In
Team2890/allwpilib
4
0
Fork 0
You've already forked allwpilib
mirror of https://github.com/wpilibsuite/allwpilib synced 2026-06-23 01:21:42 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
6dde2c2b4c803278fa17de00fa0e41bfc6c14598
allwpilib/simulation/frc_gazebo_plugins/limit_switch/src/switch.h

10 lines
149 B
C
Raw Normal View History

Removed modules from the simulation infrastructure and refactored FRCPlugin. Pneumatics still have CAN modules. The refactored code is now eight plugins for sensors and actuators. There is some code reuse that should be refactored out, but that level of abstraction will wait until we figure out how these plugins are integrating with gazebo proper. Change-Id: I357e695ef05af6dda83a39ba60380686bd57d11a Closes: artf2610, artf2623
2014-06-30 17:32:00 -07:00
#pragma once
class Switch {
public:
virtual ~Switch() {}
/// \brief Returns true when the switch is triggered.
virtual bool Get() = 0;
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 56ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API