-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide ros2 services to change sensor modes and configure the sensor
- Loading branch information
Showing
17 changed files
with
667 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright 2021 Apex.AI, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef UMRR_ROS2_DRIVER__CMAKE_SENSOR_PARAM_PATH_H_ | ||
#define UMRR_ROS2_DRIVER__CMAKE_SENSOR_PARAM_PATH_H_ | ||
|
||
namespace smartmicro | ||
{ | ||
namespace drivers | ||
{ | ||
namespace radar | ||
{ | ||
|
||
constexpr auto KSensorParamFilePath ="@SENSOR_PARAM_FILE_PATH@"; | ||
|
||
} // namespace radar | ||
} // namespace drivers | ||
} // namespace smartmicro | ||
|
||
#endif // UMRR_ROS2_DRIVER__CMAKE_SENSOR_PARAM_PATH_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"parameters": [ | ||
{ | ||
"model": "umrr11/umrr96", | ||
"name": "tx_antenna_idx", | ||
"comment": "Index of Transmit Antenna (UMRR11 : 0 and 1 are ACC, 2 is AEB)", | ||
"min": 0, | ||
"max": 2, | ||
"default": 2 | ||
}, | ||
{ | ||
"model": "umrr11/umrr96", | ||
"name": "center_frequency_idx", | ||
"type": "u8", | ||
"comment": "Index of center frequency (UMRR11: 0..3 in ACC selectable. In AEB mode values 2 and 3 are similar to 1.)", | ||
"min": 0, | ||
"max": 3, | ||
"default": 0 | ||
}, | ||
{ | ||
"model": "umrr11/umrr96", | ||
"name": "frequency_sweep_idx", | ||
"comment": "Index of sweep (UMRR11: currently always 0 because only one sweep for every TX-antenna. UMRR96: 0=226MHz, 1=512MHz, 2=1536MHz)", | ||
"min": 0, | ||
"max": 2, | ||
"default": 0 | ||
}, | ||
{ | ||
"model": "umrr11", | ||
"name": "enable_tx_ant_toggle", | ||
"comment": "Automatic toggle of TX-Antenna 0->2->0 every radar cycle", | ||
"min": 0, | ||
"max": 1, | ||
"default": 0 | ||
}, | ||
{ | ||
"model": "umrr11", | ||
"name": "angular_separation", | ||
"comment": "0 = Disable Angular Separation, 1 = Enable Angular Separation", | ||
"min": 0, | ||
"max": 1, | ||
"default": 0 | ||
}, | ||
{ | ||
"model": "umrr96", | ||
"name": "range_toggle_mode", | ||
"comment": "Automatic toggle of range:0=off, 1=Short-Med, 2=Short-Long, 3=Med-Long", | ||
"min": 0, | ||
"max": 3, | ||
"default": 0 | ||
}, | ||
{ | ||
"name": "ip_source_address", | ||
"comment": "IP source address (32bit)", | ||
"default": 3232238347 | ||
} | ||
] | ||
} |
Oops, something went wrong.