Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61490411
mainwindow.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 7, 00:20
Size
567 B
Mime Type
text/x-c++
Expires
Thu, May 9, 00:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17519103
Attached To
R2671 HHRI-software
mainwindow.h
View Options
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTimer>
#include "hriboard.h"
#include "syncvar.h"
namespace
Ui
{
class
MainWindow
;
}
class
MainWindow
:
public
QMainWindow
{
Q_OBJECT
public:
explicit
MainWindow
(
QWidget
*
parent
=
0
);
~
MainWindow
();
public
slots
:
void
onVarsListReceived
(
const
QList
<
SyncVar
>
&
syncVars
);
void
onVarsUpdated
();
void
setMotorTorque
();
private:
Ui
::
MainWindow
*
ui
;
QTimer
updateTimer
;
HriBoard
hriBoard
;
SyncVarPointer
<
float
>
hallVoltage
,
motorTorque
;
};
#endif
Event Timeline
Log In to Comment