sas
Modularised monitoring, logging, and control of robots.
Toggle main menu visibility
Loading...
Searching...
No Matches
driver_thruster_mapping.hpp
Go to the documentation of this file.
1
/*
2
# Copyright (c) 2024-2026 Rawan Mohamed Elsayed and Murilo Marques Marinho
3
#
4
# This file is part of sas_robot_driver_brov2.
5
#
6
# sas_robot_driver_brov2 is free software: you can redistribute it and/or modify
7
# it under the terms of the GNU Lesser General Public License as published by
8
# the Free Software Foundation, either version 2.1 of the License, or
9
# (at your option) any later version.
10
#
11
# sas_robot_driver_brov2 is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU Lesser General Public License for more details.
15
#
16
# You should have received a copy of the GNU Lesser General Public License
17
# along with sas_robot_driver_brov2. If not, see <https://www.gnu.org/licenses/>.
18
#
19
# ################################################################
20
#
21
# Author: Rawan M. Elsayed, email: rawan.elsayed@manchester.ac.uk
22
# Co-author: Murilo M. Marinho, email: murilomarinho@ieee.org
23
#
24
# ################################################################*/
25
26
#pragma once
27
32
33
namespace
sas
34
{
42
double
force_to_pwm
(
double
F,
double
min_pwm,
double
max_pwm);
43
}
// namespace sas
sas::force_to_pwm
double force_to_pwm(double F, double min_pwm, double max_pwm)
Convert a thruster force into a PWM command.
Definition
driver_thruster_mapping.cpp:33
src
sas_robot_driver_brov2
include
sas_robot_driver_brov2
driver_thruster_mapping.hpp
Generated by
1.17.0