AccelerationControl
This is a ROS message definition.
Source
# ==============================================================================
# MIT License
#
# Copyright (c) 2023-2024 Institute for Automotive Engineering (ika), RWTH Aachen University
# Copyright (c) 2024 Instituto de Telecomunicações, Universidade de Aveiro
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ==============================================================================
# --- Auto-generated by asn1ToRosMsg.py ----------------------------------------
# --- ASN.1 Definition ---------------------------------------------------------
# AccelerationControl ::= BIT STRING {
# brakePedalEngaged (0),
# gasPedalEngaged (1),
# emergencyBrakeEngaged (2),
# collisionWarningEngaged (3),
# accEngaged (4),
# cruiseControlEngaged (5),
# speedLimiterEngaged (6)
# } (SIZE(7))
# ------------------------------------------------------------------------------
# *
# * This DE indicates the current controlling mechanism for longitudinal movement of the vehicle.
# * The data may be provided via the in-vehicle network. It indicates whether a specific in-vehicle
# * acceleration control system is engaged or not. Currently, this DE includes the information of the
# * vehicle brake pedal, gas pedal, emergency brake system, collision warning system, adaptive cruise
# * control system, cruise control system and speed limiter system.
# *
# * The corresponding bit shall be set to 1 under the following conditions:
# * - 0 - `brakePedalEngaged` - Driver is stepping on the brake pedal,
# * - 1 - `gasPedalEngaged` - Driver is stepping on the gas pedal,
# * - 2 - `emergencyBrakeEngaged` - emergency brake system is engaged,
# * - 3 - `collisionWarningEngaged`- collision warning system is engaged,
# * - 4 - `accEngaged` - ACC is engaged,
# * - 5 - `cruiseControlEngaged` - cruise control is engaged,
# * - 6 - `speedLimiterEngaged` - speed limiter is engaged.
# *
# * Otherwise (for example when the corresponding system is not available due to non equipped system
# * or information is unavailable), the corresponding bit shall be set to 0.
# *
# * @note: The system engagement condition is OEM specific and therefore out of scope of the present document.
# * @category: Vehicle information
# * @revision: V1.3.1
#
uint8[] value
uint8 bits_unused
uint8 SIZE_BITS = 7
uint8 BIT_INDEX_BRAKE_PEDAL_ENGAGED = 0
uint8 BIT_INDEX_GAS_PEDAL_ENGAGED = 1
uint8 BIT_INDEX_EMERGENCY_BRAKE_ENGAGED = 2
uint8 BIT_INDEX_COLLISION_WARNING_ENGAGED = 3
uint8 BIT_INDEX_ACC_ENGAGED = 4
uint8 BIT_INDEX_CRUISE_CONTROL_ENGAGED = 5
uint8 BIT_INDEX_SPEED_LIMITER_ENGAGED = 6