ardupilot/APMrover2/Rover.cpp

36 lines
1.0 KiB
C++
Raw Normal View History

2015-05-12 04:00:25 -03:00
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
main Rover class, containing all vehicle specific state
*/
2015-05-13 00:16:45 -03:00
#include "Rover.h"
#define FORCE_VERSION_H_INCLUDE
#include "version.h"
#undef FORCE_VERSION_H_INCLUDE
2015-05-13 00:16:45 -03:00
2015-05-12 04:00:25 -03:00
Rover::Rover(void) :
param_loader(var_info),
2016-10-28 13:57:14 -03:00
channel_steer(nullptr),
channel_throttle(nullptr),
channel_lateral(nullptr),
logger{g.log_bitmask},
2015-05-12 04:00:25 -03:00
modes(&g.mode1),
2017-07-18 23:19:08 -03:00
control_mode(&mode_initializing),
2019-01-06 14:21:57 -04:00
G_Dt(0.02f)
2015-05-12 04:00:25 -03:00
{
}