gazebo sim added

This commit is contained in:
Ray
2025-08-02 12:07:02 +08:00
parent 7060c424c8
commit 80a06ef898
306 changed files with 22706 additions and 2008 deletions

17
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/opt/ros/humble/include/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}

14
.vscode/settings.json vendored
View File

@@ -1,3 +1,15 @@
{
"cmake.sourceDirectory": "/home/ray/ROS2Workspace/softwaresystem/RobotOS1"
"cmake.sourceDirectory": "/home/hivecore/ros2_ws/softwaresystem/RobotOS1",
"files.associations": {
"*.launch": "python",
"*.world": "xml",
"*.xacro": "xml",
"array": "cpp",
"bitset": "cpp",
"string_view": "cpp",
"initializer_list": "cpp",
"regex": "cpp",
"utility": "cpp",
"valarray": "cpp"
}
}

View File

@@ -0,0 +1,47 @@
digraph G {
node [shape=box];
"base_link" [label="base_link"];
"left_hip_pitch_link" [label="left_hip_pitch_link"];
"left_leg_pitch_link" [label="left_leg_pitch_link"];
"left_wheel2_link" [label="left_wheel2_link"];
"left_wheel1_link" [label="left_wheel1_link"];
"left_shoulder_link" [label="left_shoulder_link"];
"left_arm1_link" [label="left_arm1_link"];
"left_arm2_link" [label="left_arm2_link"];
"right_hip_pitch_link" [label="right_hip_pitch_link"];
"right_leg_pitch_link" [label="right_leg_pitch_link"];
"right_wheel2_link" [label="right_wheel2_link"];
"right_wheel1_link" [label="right_wheel1_link"];
"right_shoulder_link" [label="right_shoulder_link"];
"right_arm1_link" [label="right_arm1_link"];
"right_arm2_link" [label="right_arm2_link"];
node [shape=ellipse, color=blue, fontcolor=blue];
"base_link" -> "left_hip_pitch_joint" [label="xyz: -0.06 -0.1358 -0.037269 \nrpy: -1.5708 -0.0095732 0"]
"left_hip_pitch_joint" -> "left_hip_pitch_link"
"left_hip_pitch_link" -> "left_leg_pitch_joint" [label="xyz: 0 0 -0.0295 \nrpy: 0 -0 0.01205"]
"left_leg_pitch_joint" -> "left_leg_pitch_link"
"left_leg_pitch_link" -> "left_wheel2_joint" [label="xyz: 0 0.4805 0.004 \nrpy: 3.14159 -3.30872e-24 -0.0024764"]
"left_wheel2_joint" -> "left_wheel2_link"
"left_hip_pitch_link" -> "left_wheel1_joint" [label="xyz: 0 0.48 0.01 \nrpy: 0 -0 0.0095732"]
"left_wheel1_joint" -> "left_wheel1_link"
"base_link" -> "left_shoulder_joint" [label="xyz: -0.06 -0.0878 0.36288 \nrpy: 0 -0 0"]
"left_shoulder_joint" -> "left_shoulder_link"
"left_shoulder_link" -> "left_arm1_joint" [label="xyz: 0 0 0.0385 \nrpy: 1.5708 4.33681e-19 -0.0074682"]
"left_arm1_joint" -> "left_arm1_link"
"left_arm1_link" -> "left_arm2_joint" [label="xyz: 0.020127 0.0040341 0.17817 \nrpy: -1.6062 0.0074682 4.33693e-19"]
"left_arm2_joint" -> "left_arm2_link"
"base_link" -> "right_hip_pitch_joint" [label="xyz: -0.06 0.1358 -0.037269 \nrpy: 1.5708 -0.0029091 0"]
"right_hip_pitch_joint" -> "right_hip_pitch_link"
"right_hip_pitch_link" -> "right_leg_pitch_joint" [label="xyz: 0 0 -0.0295 \nrpy: 0 0 -0.0029091"]
"right_leg_pitch_joint" -> "right_leg_pitch_link"
"right_leg_pitch_link" -> "right_wheel2_joint" [label="xyz: 1.9386e-05 -0.4805 0.004 \nrpy: -3.14159 -0 0"]
"right_wheel2_joint" -> "right_wheel2_link"
"right_hip_pitch_link" -> "right_wheel1_joint" [label="xyz: 0 -0.48 0.01 \nrpy: 0 0 -0.0029091"]
"right_wheel1_joint" -> "right_wheel1_link"
"base_link" -> "right_shoulder_joint" [label="xyz: -0.06 0.0878 0.36288 \nrpy: 0 -0 0"]
"right_shoulder_joint" -> "right_shoulder_link"
"right_shoulder_link" -> "right_arm1_joint" [label="xyz: 0 0 0.0385 \nrpy: 1.5708 -0 0"]
"right_arm1_joint" -> "right_arm1_link"
"right_arm1_link" -> "right_arm2_joint" [label="xyz: 0.017969 0.0026972 -0.17843 \nrpy: -1.5793 0 0"]
"right_arm2_joint" -> "right_arm2_link"
}

Binary file not shown.

View File

@@ -0,0 +1,49 @@
cmake_minimum_required(VERSION 3.10)
project(hive_core_r0)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(geometry_msgs REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
add_executable(arm_control_node src/arm_control_node.cpp)
ament_target_dependencies(arm_control_node rclcpp geometry_msgs)
add_executable(hiveBot1_control_node src/hiveBot1_control_node.cpp)
ament_target_dependencies(hiveBot1_control_node rclcpp geometry_msgs)
add_executable(keyboard_control_node src/keyboard_control_node.cpp)
ament_target_dependencies(keyboard_control_node rclcpp geometry_msgs)
install(TARGETS
arm_control_node
hiveBot1_control_node
keyboard_control_node
DESTINATION lib/${PROJECT_NAME})
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# comment the line when a copyright and license is added to all source files
set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# comment the line when this package is in a git repo and when
# a copyright and license is added to all source files
set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
install(DIRECTORY launch urdf config world src
DESTINATION share/${PROJECT_NAME}
)
ament_package()

View File

@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

View File

@@ -0,0 +1,73 @@
controller_manager:
ros__parameters:
update_rate: 100 # Hz
use_sim_time: true
# 关节状态广播器 - 必须配置,用于发布关节状态
bot0_joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster
use_sim_time: true
# 关节位置控制器
bot0_position_controller:
type: position_controllers/JointGroupPositionController
# 轮子速度控制器(已从差速控制器改为速度控制器)
bot0_wheel_velocity_controller:
type: velocity_controllers/JointGroupVelocityController
# 腿部和手臂关节位置控制器配置
bot0_position_controller:
ros__parameters:
joints:
- left_hip_pitch_joint
- left_leg_pitch_joint
- right_hip_pitch_joint
- right_leg_pitch_joint
- left_shoulder_joint
- left_arm1_joint
- left_arm2_joint
- right_shoulder_joint
- right_arm1_joint
- right_arm2_joint
command_interfaces:
- position
state_interfaces:
- position
- velocity
# 位置控制器PID参数
gains:
left_hip_pitch_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
left_leg_pitch_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_hip_pitch_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_leg_pitch_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
left_shoulder_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
left_arm1_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
left_arm2_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_shoulder_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_arm1_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_arm2_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
# 位置控制允许的误差范围
allowable_position_error: 0.1 # 弧度
# 轮子速度控制器配置(替代原来的差速控制器)
bot0_wheel_velocity_controller:
ros__parameters:
joints:
- left_wheel1_joint
- left_wheel2_joint
- right_wheel1_joint
- right_wheel2_joint
command_interfaces:
- velocity
state_interfaces:
- position
- velocity
# 速度控制器PID参数
gains:
left_wheel1_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
left_wheel2_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_wheel1_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
right_wheel2_joint: {p: 1, i: 0.0, d: 0.1, i_clamp: 0.01}
# 速度控制允许的误差范围
allowable_velocity_error: 0.2 # rad/s

View File

@@ -0,0 +1,57 @@
controller_manager:
ros__parameters:
update_rate: 100 # Hz
use_sim_time: true
# 关节状态广播器 - 必须配置,用于发布关节状态
bot1_joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster
use_sim_time: true
# 关节位置控制器
bot1_position_controller:
type: position_controllers/JointGroupPositionController
# 腿部和手臂关节位置控制器配置
bot1_position_controller:
ros__parameters:
joints:
- left_leg1_joint
- left_wheel1_joint
- left_leg2_joint
- left_wheel2_joint
- right_leg1_joint
- right_wheel1_joint
- right_leg2_joint
- right_wheel2_joint
- pitch_body_joint
- left_shoulder_joint
- left_arm1_joint
- left_arm2_joint
- right_shoulder_joint
- right_arm1_joint
- right_arm2_joint
command_interfaces:
- position
state_interfaces:
- position
- velocity
# 位置控制器PID参数
gains:
left_leg1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_wheel1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_leg2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_wheel2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_leg1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_wheel1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_leg2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_wheel2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
pitch_body_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_shoulder_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_arm1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
left_arm2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_shoulder_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_arm1_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
right_arm2_joint: {p: 10000, i: 0.0, d: 1000, i_clamp: 0.01}
# 位置控制允许的误差范围
allowable_position_error: 0.1 # 弧度

View File

@@ -0,0 +1,119 @@
import os
import launch
import launch_ros
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument, ExecuteProcess, RegisterEventHandler
from launch.substitutions import LaunchConfiguration, Command, PathJoinSubstitution, FindExecutable
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource
from ament_index_python.packages import get_package_share_directory
from launch_ros.parameter_descriptions import ParameterValue
from launch.event_handlers import OnProcessStart
from launch.actions import TimerAction
def generate_launch_description():
# 声明参数
robot_name_in_model = "HiveBot0"
urdf_package = 'hive_core_r0'
urdf_tutorial_path = get_package_share_directory(urdf_package)
default_world_path = os.path.join(urdf_tutorial_path, 'world', 'table.world')
default_model_path = urdf_tutorial_path + '/urdf/hiveBot0/hive_core_bot0.urdf.xacro'
# 声明模型路径参数
action_declare_arg_mode_path = launch.actions.DeclareLaunchArgument(
name='model', default_value=str(default_model_path),
description='URDF 的绝对路径')
# 获取文件内容生成新的参数
robot_description = launch_ros.parameter_descriptions.ParameterValue(
launch.substitutions.Command(
['xacro ', launch.substitutions.LaunchConfiguration('model')]),
value_type=str)
# 声明机器人状态发布节点
robot_state_publisher_node = Node(
package='robot_state_publisher',
executable='robot_state_publisher',
parameters=[{'robot_description': robot_description}],
)
# 启动Gazebo - 添加 paused=true 参数使仿真暂停
launch_gazebo = IncludeLaunchDescription(
PythonLaunchDescriptionSource([
os.path.join(get_package_share_directory('gazebo_ros'), 'launch',
'gazebo.launch.py')
]),
launch_arguments={
# 'world': default_world_path,
'verbose': 'true',
}.items()
)
# 在Gazebo中生成机器人
spawn_entity_node = Node(
package='gazebo_ros',
executable='spawn_entity.py',
arguments=[
'-entity', robot_name_in_model, # 模型名称
'-topic', '/robot_description', # 从ROS话题获取URDF
'-x', '0.0', # 初始位置x
'-y', '0.0', # 初始位置y
'-z', '0.55', # 初始位置z (高于地面)
'-Y', '0.0' # 初始朝向
]
)
# 加载并激活 load_joint_state_controller 控制器
load_joint_state_controller = launch.actions.ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active',
'bot0_joint_state_broadcaster'],
output='screen'
)
# 加载并激活 load_bot0_position_controller 控制器
load_bot0_position_controller = launch.actions.ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active','bot0_position_controller'],
output='screen')
load_bot0_wheel_velocity_controller = launch.actions.ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active','bot0_wheel_velocity_controller'],
output='screen')
action_node_arm_control = launch_ros.actions.Node(
package='hive_core_r0',
executable='arm_control_node',
name='arm_control_node',
output='screen'
)
return LaunchDescription([
action_declare_arg_mode_path,
# 先启动Gazebo
launch_gazebo,
# 然后启动状态发布器
robot_state_publisher_node,
# 延迟后生成机器人确保Gazebo完全启动
TimerAction(
period= 5.0,
actions=[spawn_entity_node]
),
# 事件动作,当加载机器人结束后执行
launch.actions.RegisterEventHandler(
event_handler=launch.event_handlers.OnProcessExit(
target_action=spawn_entity_node,
on_exit=[load_joint_state_controller, load_bot0_position_controller, load_bot0_wheel_velocity_controller],)
),
launch.actions.RegisterEventHandler(
event_handler=launch.event_handlers.OnProcessExit(
target_action=load_bot0_position_controller,
on_exit=[action_node_arm_control],)
),
])

View File

@@ -0,0 +1,140 @@
import os
import launch
import launch_ros
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument, ExecuteProcess, RegisterEventHandler
from launch.substitutions import LaunchConfiguration, Command, PathJoinSubstitution, FindExecutable
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource
from ament_index_python.packages import get_package_share_directory
from launch_ros.parameter_descriptions import ParameterValue
from launch.event_handlers import OnProcessStart
from launch.actions import TimerAction
def generate_launch_description():
# 声明参数
robot_name_in_model = "HiveBot0"
urdf_package = 'hive_core_r0'
urdf_tutorial_path = get_package_share_directory(urdf_package)
default_model_path = urdf_tutorial_path + '/urdf/hiveBot1/hive_core_bot1.urdf.xacro'
default_world_path = os.path.join(urdf_tutorial_path, 'world', 'empty.world')
# 声明模型路径参数
action_declare_arg_mode_path = launch.actions.DeclareLaunchArgument(
name='model', default_value=str(default_model_path),
description='URDF 的绝对路径')
# 获取文件内容生成新的参数
robot_description = launch_ros.parameter_descriptions.ParameterValue(
launch.substitutions.Command(
['xacro ', launch.substitutions.LaunchConfiguration('model')]),
value_type=str)
# 声明机器人状态发布节点
robot_state_publisher_node = Node(
package='robot_state_publisher',
executable='robot_state_publisher',
parameters=[{'robot_description': robot_description}],
)
# 启动Gazebo - 添加 paused=true 参数使仿真暂停
launch_gazebo = IncludeLaunchDescription(
PythonLaunchDescriptionSource([
os.path.join(get_package_share_directory('gazebo_ros'), 'launch',
'gazebo.launch.py')
]),
launch_arguments={
'world': default_world_path,
'verbose': 'true',
}.items()
)
# 在Gazebo中生成机器人
spawn_entity_node = Node(
package='gazebo_ros',
executable='spawn_entity.py',
arguments=[
'-entity', robot_name_in_model, # 模型名称
'-topic', '/robot_description', # 从ROS话题获取URDF
'-x', '0.0', # 初始位置x
'-y', '0.0', # 初始位置y
'-z', '0.45', # 初始位置z (高于地面)
'-Y', '0.0' # 初始朝向
]
)
# 1. 启动controller_manager通常由gazebo_ros2_control自动启动若未启动则显式添加
controller_manager_node = Node(
package="controller_manager",
executable="ros2_control_node",
parameters=[
{'robot_description': robot_description},
os.path.join(urdf_tutorial_path, 'config', 'bot1_ros2_controller.yaml') # 显式指定配置文件
],
output="screen"
)
# 加载并激活 load_joint_state_controller 控制器
load_joint_state_controller = TimerAction(
period=3.0, # 延迟3秒等待初始化
actions=[ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active',
'bot1_joint_state_broadcaster'],
output='screen'
)]
)
# 加载并激活 load_bot0_position_controller 控制器
load_bot1_position_controller = TimerAction(
period=2.0, # 延迟2秒
actions=[ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active',
'bot1_position_controller'],
output='screen'
)]
)
action_node_hiveBot1_control = launch_ros.actions.Node(
package='hive_core_r0',
executable='hiveBot1_control_node',
name='hiveBot1_control_node',
output='screen'
)
# 4. 延迟启动控制节点(在位置控制器加载后)
start_control_node = TimerAction(
period=2.0,
actions=[action_node_hiveBot1_control]
)
keyboard_control_node = launch_ros.actions.Node(
package='hive_core_r0',
executable='keyboard_control_node',
name='keyboard_control_node',
output='screen'
)
# 5. 延迟启动键盘控制节点(在控制节点启动后)
start_keyboard_control_node = TimerAction(
period=2.0,
actions=[keyboard_control_node]
)
# 在LaunchDescription中按顺序添加
return LaunchDescription([
action_declare_arg_mode_path,
launch_gazebo,
robot_state_publisher_node,
# 延迟后生成机器人确保Gazebo完全启动
TimerAction(
period= 5.0,
actions=[spawn_entity_node]
),
controller_manager_node, # 显式启动控制器管理器
load_joint_state_controller,
load_bot1_position_controller,
start_control_node,
# start_keyboard_control_node,
])

View File

@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>hive_core_r0</name>
<version>0.0.0</version>
<description>TODO: Package description</description>
<maintainer email="ray@hivecore.cn">hivecore</maintainer>
<license>Apache-2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>

View File

@@ -0,0 +1,116 @@
#include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/float64_multi_array.hpp"
#include <cmath>
#include <chrono>
using namespace std::chrono_literals;
class ArmSineMotionNode : public rclcpp::Node
{
public:
ArmSineMotionNode() : Node("arm_sine_motion_node")
{
// 1. 声明并获取参数振幅默认50度频率默认0.5Hz
this->declare_parameter("amplitude_deg", 50.0); // 振幅(度)
this->declare_parameter("frequency", 0.5); // 频率Hz
this->declare_parameter("control_period_ms", 1); // 控制周期毫秒默认20ms=50Hz
// 2. 读取参数并转换单位(度→弧度)
double amplitude_deg = this->get_parameter("amplitude_deg").as_double();
amplitude_rad_ = amplitude_deg * M_PI / 180.0; // 50度→弧度
frequency_ = this->get_parameter("frequency").as_double();
int period_ms = this->get_parameter("control_period_ms").as_int();
// 3. 手臂关节在控制器指令数组中的索引对应joints配置顺序
// 控制器joints顺序[0-3腿部, 4-9手臂]
arm_joint_indices_ = {4, 5, 6, 7, 8, 9}; // 6个手臂关节索引
total_joints_ = 10; // 控制器总关节数4腿部+6手臂
// 4. 创建发布者(发送位置指令到位置控制器)
cmd_pub_ = this->create_publisher<std_msgs::msg::Float64MultiArray>(
"/bot0_position_controller/commands",
10
);
// 5. 创建定时器(周期性发送指令)
timer_ = this->create_wall_timer(
std::chrono::milliseconds(period_ms),
std::bind(&ArmSineMotionNode::timer_callback, this)
);
// 6. 记录起始时间(用于计算正弦运动相位)
start_time_ = this->now();
RCLCPP_INFO(this->get_logger(), "手臂正弦运动节点启动振幅50度频率%.2fHz", frequency_);
}
void RestJoint()
{
auto reset_msg = std_msgs::msg::Float64MultiArray();
reset_msg.data.resize(10, 0.0);
cmd_pub_->publish(reset_msg);
}
private:
void timer_callback()
{
// 1. 计算当前运动时间(秒)
rclcpp::Duration elapsed = this->now() - start_time_;
double current_time = elapsed.seconds();
// 2. 计算正弦位置y = A*sin(2πft)
// A=振幅弧度f=频率Hzt=时间(秒)
double sine_pos = amplitude_rad_ * std::sin(2 * M_PI * frequency_ * current_time);
// 3. 构建指令数组10个关节腿部保持0手臂按正弦运动
auto cmd_msg = std_msgs::msg::Float64MultiArray();
cmd_msg.data.resize(total_joints_, 0.0); // 初始化所有关节为0
// 4. 为手臂关节赋值正弦位置
// for (size_t i = 0; i < arm_joint_indices_.size(); ++i) {
// int joint_idx = arm_joint_indices_[i];
// cmd_msg.data[joint_idx] = 0;//sine_pos; // 所有手臂关节同步运动
// }
for (int i = 0; i < total_joints_; ++i) {
// int joint_idx = arm_joint_indices_[i];
if (i == 1 || i == 3)
{
cmd_msg.data[i] = sine_pos * 2;
}
else
{
cmd_msg.data[i] = sine_pos; // 所有手臂关节同步运动
}
}
cmd_msg.data.resize(total_joints_, 0.0); // 初始化所有关节为0
// 5. 发送指令
cmd_pub_->publish(cmd_msg);
}
// 成员变量
rclcpp::Publisher<std_msgs::msg::Float64MultiArray>::SharedPtr cmd_pub_;
rclcpp::TimerBase::SharedPtr timer_;
rclcpp::Time start_time_; // 起始时间
double amplitude_rad_; // 振幅(弧度)
double frequency_; // 频率Hz
std::vector<int> arm_joint_indices_; // 手臂关节索引
int total_joints_; // 总关节数
};
int main(int argc, char * argv[])
{
rclcpp::init(argc, argv);
auto node = std::make_shared<ArmSineMotionNode>();
// 运行节点按Ctrl+C退出
rclcpp::spin(node);
// 退出时发送复位指令所有关节回0
node->RestJoint();
RCLCPP_INFO(node->get_logger(), "节点退出,发送复位指令");
rclcpp::shutdown();
return 0;
}

View File

@@ -0,0 +1,336 @@
#include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/float64_multi_array.hpp"
#include "geometry_msgs/msg/twist.hpp"
#include <cmath>
#include <chrono>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
using namespace std::chrono_literals;
// 键盘输入处理函数(非阻塞模式)
int kbhit()
{
struct termios oldt, newt;
int ch;
int oldf;
tcgetattr(STDIN_FILENO, &oldt);
newt = oldt;
newt.c_lflag &= ~(ICANON | ECHO);
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
oldf = fcntl(STDIN_FILENO, F_GETFL, 0);
fcntl(STDIN_FILENO, F_SETFL, oldf | O_NONBLOCK);
ch = getchar();
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
fcntl(STDIN_FILENO, F_SETFL, oldf);
if(ch != EOF)
{
ungetc(ch, stdin);
return 1;
}
return 0;
}
class RobotPhaseMotionNode : public rclcpp::Node
{
public:
RobotPhaseMotionNode() : Node("robot_phase_motion_node")
{
// 声明并获取参数
this->declare_parameter("leg_target_deg", 0.0); // 腿部目标角度(度)
this->declare_parameter("arm_amplitude_deg", 30.0); // 手臂摆动振幅(度)
this->declare_parameter("arm_frequency", 0.5); // 手臂摆动频率Hz
this->declare_parameter("control_period_ms", 10); // 控制周期(毫秒)
this->declare_parameter("wheel_radius", 0.05); // 轮子半径(米)
this->declare_parameter("wheel_separation", 0.3); // 轮距(米)
this->declare_parameter("linear_speed", 0.2); // 线速度m/s
this->declare_parameter("angular_speed", 0.5); // 角速度rad/s
// 读取参数并转换单位
double leg_target_deg = this->get_parameter("leg_target_deg").as_double();
leg_target_rad_ = leg_target_deg * M_PI / 180.0;
double arm_amplitude_deg = this->get_parameter("arm_amplitude_deg").as_double();
arm_amplitude_rad_ = arm_amplitude_deg * M_PI / 180.0;
arm_frequency_ = this->get_parameter("arm_frequency").as_double();
int period_ms = this->get_parameter("control_period_ms").as_int();
wheel_radius_ = this->get_parameter("wheel_radius").as_double();
wheel_separation_ = this->get_parameter("wheel_separation").as_double();
linear_speed_ = this->get_parameter("linear_speed").as_double();
angular_speed_ = this->get_parameter("angular_speed").as_double();
joint_directions_ = {1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; // 关节方向
total_joints_ = 15; // 总关节数
// 关节索引定义
leg_joint_indices_ = {0, 2, 4, 6}; // 腿部关节索引
arm_joint_indices_ = {9, 10, 11, 12, 13}; // 手臂关节索引
wheel_joint_indices_ = {1, 5}; // 轮子关节索引left_wheel1, right_wheel1 )两个主动轮
wheel_joint_directions_ = {-1, 1}; // 轮子方向
// 初始化轮子目标角度
wheel_targets_.resize(2, 0.0);
// 创建发布者
cmd_pub_ = this->create_publisher<std_msgs::msg::Float64MultiArray>(
"/bot1_position_controller/commands", 10
);
// 创建订阅者(接收来自速度指令)
twist_sub_ = this->create_subscription<geometry_msgs::msg::Twist>(
"/cmd_vel", 10,
std::bind(&RobotPhaseMotionNode::twist_callback, this, std::placeholders::_1)
);
// 创建定时器
timer_ = this->create_wall_timer(
std::chrono::milliseconds(period_ms),
std::bind(&RobotPhaseMotionNode::timer_callback, this)
);
// 记录起始时间
start_time_ = this->now();
last_time_ = this->now();
// 打印控制说明
print_help();
RCLCPP_INFO(this->get_logger(), "机器人分阶段运动节点启动(含轮子控制)");
}
// 关节复位
void resetJoints()
{
auto reset_msg = std_msgs::msg::Float64MultiArray();
reset_msg.data.resize(total_joints_, 0.0);
cmd_pub_->publish(reset_msg);
}
private:
void print_help()
{
RCLCPP_INFO(this->get_logger(), "键盘控制说明:");
RCLCPP_INFO(this->get_logger(), " w : 前进");
RCLCPP_INFO(this->get_logger(), " s : 后退");
RCLCPP_INFO(this->get_logger(), " a : 左转");
RCLCPP_INFO(this->get_logger(), " d : 右转");
RCLCPP_INFO(this->get_logger(), " x : 停止");
RCLCPP_INFO(this->get_logger(), " q : 退出");
}
void twist_callback(const geometry_msgs::msg::Twist::SharedPtr msg)
{
// 接收外部速度指令
linear_x_ = msg->linear.x;
angular_z_ = msg->angular.z;
}
void timer_callback()
{
// 处理键盘输入
handle_keyboard_input();
// 计算时间差
rclcpp::Time current_time = this->now();
rclcpp::Duration dt = current_time - last_time_;
double dt_sec = dt.seconds();
last_time_ = current_time;
// 构建指令数组
auto cmd_msg = std_msgs::msg::Float64MultiArray();
cmd_msg.data.resize(total_joints_, 0.0);
// 分阶段控制腿部和手臂
double phase_time = (current_time - start_time_).seconds();
handle_phase_motion(cmd_msg, phase_time);
// 计算并设置轮子角度
handle_wheel_control(cmd_msg, dt_sec);
// 发送指令
cmd_pub_->publish(cmd_msg);
}
void handle_phase_motion(std_msgs::msg::Float64MultiArray& cmd_msg, double current_time)
{
// 第一阶段前5秒腿部关节缓慢张开
if (current_time <= 5.0)
{
double progress = current_time / 5.0;
double current_leg_angle = leg_target_rad_ * progress;
// 设置腿部关节角度
for (int idx : leg_joint_indices_)
{
if (idx == 0 || idx == 4) // 左腿1、左腿2关节
{
cmd_msg.data[idx] = -current_leg_angle;
}
else
{
cmd_msg.data[idx] = current_leg_angle;
}
}
// 手臂保持初始位置
for (int idx : arm_joint_indices_)
{
cmd_msg.data[idx] = 0.0;
}
if (current_time >= 4.9 && !phase1_notified_)
{
RCLCPP_INFO(this->get_logger(), "第一阶段即将结束,准备进入手臂摆动阶段");
phase1_notified_ = true;
}
}
// 第二阶段5秒后双臂做摆手动作
else
{
// 腿部保持在目标角度
for (int idx : leg_joint_indices_)
{
if (idx == 0 || idx == 4) // 左腿1、左腿2关节
{
cmd_msg.data[idx] = -leg_target_rad_;
}
else
{
cmd_msg.data[idx] = leg_target_rad_;
}
}
// 计算手臂摆动角度
double arm_phase_time = current_time - 5.0;
double arm_angle = arm_amplitude_rad_ * std::sin(2 * M_PI * arm_frequency_ * arm_phase_time);
// 设置手臂关节角度(左右臂对称)
for (size_t i = 0; i < arm_joint_indices_.size(); ++i)
{
if (i >= arm_joint_indices_.size() / 2)
{
cmd_msg.data[arm_joint_indices_[i]] = -arm_angle;
}
else
{
cmd_msg.data[arm_joint_indices_[i]] = arm_angle;
}
cmd_msg.data[arm_joint_indices_[i]] = 0;
}
}
}
void handle_wheel_control(std_msgs::msg::Float64MultiArray& cmd_msg, double dt_sec)
{
// 计算左右轮目标线速度
double left_speed = linear_x_ + (angular_z_ * wheel_separation_) / 2.0;
double right_speed = linear_x_ - (angular_z_ * wheel_separation_) / 2.0;
// 计算轮子角速度rad/s
double left_omega = left_speed / wheel_radius_;
double right_omega = right_speed / wheel_radius_;
// 积分计算目标角度(弧度)
wheel_targets_[0] += left_omega * dt_sec; // left_wheel1
wheel_targets_[1] += right_omega * dt_sec; // right_wheel1
// 赋值轮子目标角度到指令数组
for (size_t i = 0; i < wheel_joint_indices_.size(); ++i)
{
cmd_msg.data[wheel_joint_indices_[i]] = wheel_joint_directions_[i] * wheel_targets_[i];
}
}
void handle_keyboard_input()
{
if(kbhit())
{
char key = getchar();
switch(key)
{
case 'w': // 前进
linear_x_ = linear_speed_;
angular_z_ = 0.0;
RCLCPP_INFO(this->get_logger(), "前进");
break;
case 's': // 后退
linear_x_ = -linear_speed_;
angular_z_ = 0.0;
RCLCPP_INFO(this->get_logger(), "后退");
break;
case 'a': // 左转
linear_x_ = 0.0;
angular_z_ = angular_speed_;
RCLCPP_INFO(this->get_logger(), "左转");
break;
case 'd': // 右转
linear_x_ = 0.0;
angular_z_ = -angular_speed_;
RCLCPP_INFO(this->get_logger(), "右转");
break;
case 'x': // 停止
linear_x_ = 0.0;
angular_z_ = 0.0;
RCLCPP_INFO(this->get_logger(), "停止");
break;
case 'q': // 退出
RCLCPP_INFO(this->get_logger(), "退出控制");
resetJoints();
rclcpp::shutdown();
exit(0);
break;
default:
print_help();
break;
}
}
}
// 成员变量
rclcpp::Publisher<std_msgs::msg::Float64MultiArray>::SharedPtr cmd_pub_;
rclcpp::Subscription<geometry_msgs::msg::Twist>::SharedPtr twist_sub_;
rclcpp::TimerBase::SharedPtr timer_;
rclcpp::Time start_time_;
rclcpp::Time last_time_;
// 运动参数
double leg_target_rad_; // 腿部目标角度(弧度)
double arm_amplitude_rad_; // 手臂摆动振幅(弧度)
double arm_frequency_; // 手臂摆动频率Hz
int total_joints_; // 总关节数
bool phase1_notified_ = false; // 第一阶段结束提示标记
// 关节索引
std::vector<int> leg_joint_indices_; // 腿部关节索引
std::vector<int> arm_joint_indices_; // 手臂关节索引
std::vector<int> wheel_joint_indices_; // 轮子关节索引
std::vector<int> joint_directions_; // 关节方向
std::vector<int> wheel_joint_directions_; // 轮子关节方向
// 轮子控制相关
double wheel_radius_; // 轮子半径(米)
double wheel_separation_; // 轮距(米)
std::vector<double> wheel_targets_; // 轮子目标角度(弧度)
double linear_x_ = 0.0; // 线速度m/s
double angular_z_ = 0.0; // 角速度rad/s
double linear_speed_; // 最大线速度m/s
double angular_speed_; // 最大角速度rad/s
};
int main(int argc, char * argv[])
{
rclcpp::init(argc, argv);
auto node = std::make_shared<RobotPhaseMotionNode>();
rclcpp::spin(node);
node->resetJoints();
RCLCPP_INFO(node->get_logger(), "节点退出,发送复位指令");
rclcpp::shutdown();
return 0;
}

View File

@@ -0,0 +1,140 @@
#include "rclcpp/rclcpp.hpp"
#include "geometry_msgs/msg/twist.hpp"
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
#include <chrono>
using namespace std::chrono_literals;
// 键盘输入处理函数(非阻塞模式)
int kbhit()
{
struct termios oldt, newt;
int ch;
int oldf;
tcgetattr(STDIN_FILENO, &oldt);
newt = oldt;
newt.c_lflag &= ~(ICANON | ECHO);
tcsetattr(STDIN_FILENO, TCSANOW, &newt);
oldf = fcntl(STDIN_FILENO, F_GETFL, 0);
fcntl(STDIN_FILENO, F_SETFL, oldf | O_NONBLOCK);
ch = getchar();
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
fcntl(STDIN_FILENO, F_SETFL, oldf);
if(ch != EOF)
{
ungetc(ch, stdin);
return 1;
}
return 0;
}
class KeyboardControlNode : public rclcpp::Node
{
public:
KeyboardControlNode() : Node("keyboard_control_node")
{
// 声明参数:移动速度、旋转速度
this->declare_parameter("linear_speed", 0.2); // 线速度m/s
this->declare_parameter("angular_speed", 0.5); // 角速度rad/s
// 读取参数
linear_speed_ = this->get_parameter("linear_speed").as_double();
angular_speed_ = this->get_parameter("angular_speed").as_double();
// 创建发布者(发送速度指令)
twist_pub_ = this->create_publisher<geometry_msgs::msg::Twist>(
"/cmd_vel", 10
);
// 打印控制说明
print_help();
// 创建定时器(周期性检查键盘输入)
timer_ = this->create_wall_timer(
50ms, // 20Hz检查频率
std::bind(&KeyboardControlNode::timer_callback, this)
);
}
private:
void print_help()
{
RCLCPP_INFO(this->get_logger(), "键盘控制说明:");
RCLCPP_INFO(this->get_logger(), " w : 前进");
RCLCPP_INFO(this->get_logger(), " s : 后退");
RCLCPP_INFO(this->get_logger(), " a : 左转");
RCLCPP_INFO(this->get_logger(), " d : 右转");
RCLCPP_INFO(this->get_logger(), " x : 停止");
RCLCPP_INFO(this->get_logger(), " q : 退出");
}
void timer_callback()
{
geometry_msgs::msg::Twist twist_msg;
if(kbhit())
{
char key = getchar();
switch(key)
{
case 'w': // 前进
twist_msg.linear.x = linear_speed_;
twist_msg.angular.z = 0.0;
RCLCPP_INFO(this->get_logger(), "前进");
break;
case 's': // 后退
twist_msg.linear.x = -linear_speed_;
twist_msg.angular.z = 0.0;
RCLCPP_INFO(this->get_logger(), "后退");
break;
case 'a': // 左转
twist_msg.linear.x = 0.0;
twist_msg.angular.z = angular_speed_;
RCLCPP_INFO(this->get_logger(), "左转");
break;
case 'd': // 右转
twist_msg.linear.x = 0.0;
twist_msg.angular.z = -angular_speed_;
RCLCPP_INFO(this->get_logger(), "右转");
break;
case 'x': // 停止
twist_msg.linear.x = 0.0;
twist_msg.angular.z = 0.0;
RCLCPP_INFO(this->get_logger(), "停止");
break;
case 'q': // 退出
RCLCPP_INFO(this->get_logger(), "退出控制");
rclcpp::shutdown();
return;
default:
twist_msg.linear.x = 0.0;
twist_msg.angular.z = 0.0;
print_help();
break;
}
twist_pub_->publish(twist_msg);
}
}
// 成员变量
rclcpp::Publisher<geometry_msgs::msg::Twist>::SharedPtr twist_pub_;
rclcpp::TimerBase::SharedPtr timer_;
double linear_speed_; // 线速度m/s
double angular_speed_; // 角速度rad/s
};
int main(int argc, char * argv[])
{
rclcpp::init(argc, argv);
auto node = std::make_shared<KeyboardControlNode>();
rclcpp::spin(node);
rclcpp::shutdown();
return 0;
}

View File

@@ -0,0 +1,165 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- 宏定义ros2_control硬件接口配置适配位置控制器和轮子速度控制器 -->
<xacro:macro name="bot0_ros2_control">
<!-- 1. ros2_control系统配置定义所有关节的控制接口 -->
<ros2_control name="Bot0GazeboSystem" type="system">
<!-- 硬件插件关联Gazebo仿真 -->
<hardware>
<plugin>gazebo_ros2_control/GazeboSystem</plugin>
</hardware>
<!-- 2. 腿部+手臂关节位置控制接口对应bot0_position_controller -->
<!-- 2.1 腿部关节 -->
<joint name="left_hip_pitch_joint">
<command_interface name="position"> <!-- 位置控制器的命令接口 -->
<param name="min">-1.0</param> <!-- 对应关节限位(弧度) -->
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" /> <!-- 反馈接口:位置 -->
<state_interface name="velocity" /> <!-- 反馈接口:速度 -->
<state_interface name="effort" /> <!-- 反馈接口:力(用于调试) -->
</joint>
<joint name="left_leg_pitch_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_hip_pitch_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_leg_pitch_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<!-- 2.2 手臂关节 -->
<joint name="left_shoulder_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="left_arm1_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="left_arm2_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_shoulder_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_arm1_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_arm2_joint">
<command_interface name="position">
<param name="min">-1.0</param>
<param name="max">1.0</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<!-- 3. 车轮关节速度控制接口对应bot0_wheel_velocity_controller -->
<joint name="left_wheel1_joint">
<command_interface name="velocity"> <!-- 速度控制器的命令接口 -->
<param name="min">-50</param> <!-- 对应关节速度限位rad/s -->
<param name="max">50</param>
</command_interface>
<state_interface name="position" /> <!-- 反馈接口:位置 -->
<state_interface name="velocity" /> <!-- 反馈接口:速度 -->
<state_interface name="effort" /> <!-- 反馈接口:力 -->
</joint>
<joint name="left_wheel2_joint">
<command_interface name="velocity">
<param name="min">-50</param>
<param name="max">50</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_wheel1_joint">
<command_interface name="velocity">
<param name="min">-50</param>
<param name="max">50</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
<joint name="right_wheel2_joint">
<command_interface name="velocity">
<param name="min">-50</param>
<param name="max">50</param>
</command_interface>
<state_interface name="position" />
<state_interface name="velocity" />
<state_interface name="effort" />
</joint>
</ros2_control>
<!-- 4. Gazebo插件配置关联控制器参数文件 -->
<gazebo>
<plugin filename="libgazebo_ros2_control.so" name="gazebo_ros2_control">
<!-- 加载控制器配置文件(路径需替换为你的实际路径) -->
<parameters>$(find hive_core_r0)/config/bot0_ros2_controller.yaml</parameters>
</plugin>
</gazebo>
</xacro:macro>
</robot>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:macro name="generic_joint" params="joint_name type parent child
origin_xyz origin_rpy axis
limit_lower limit_upper effort velocity">
<joint name="${joint_name}" type="${type}">
<origin xyz="${origin_xyz}" rpy="${origin_rpy}" />
<parent link="${parent}" />
<child link="${child}" />
<axis xyz="${axis}" />
<limit lower="${limit_lower}" upper="${limit_upper}"
effort="${effort}" velocity="${velocity}" />
</joint>
</xacro:macro>
</robot>

View File

@@ -0,0 +1,65 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:macro name="generic_link" params="link_name mesh_file mass
inertia_ixx inertia_ixy inertia_ixz
inertia_iyy inertia_iyz inertia_izz
origin_xyz origin_rpy color_rgba enable_collision">
<link name="${link_name}">
<!-- 惯性参数 -->
<inertial>
<origin xyz="${origin_xyz}" rpy="${origin_rpy}" />
<mass value="${mass}" />
<inertia ixx="${inertia_ixx}" ixy="${inertia_ixy}" ixz="${inertia_ixz}"
iyy="${inertia_iyy}" iyz="${inertia_iyz}" izz="${inertia_izz}" />
</inertial>
<!-- 可视化模型 -->
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="${mesh_file}" />
</geometry>
<material name="${link_name}_material">
<color rgba="${color_rgba}" />
</material>
</visual>
<!-- 碰撞模型(与可视化模型一致) -->
<!-- 条件生成碰撞体仅当enable_collision=true时添加 -->
<xacro:if value="${enable_collision}">
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<cylinder radius="0.05" length="0.03"/>
</geometry>
<material name="blue">
<color rgba="0.1 0.1 1.0 0.5" />
</material>
</collision>
</xacro:if>
</link>
<!-- 仅当启用碰撞时,添加碰撞物理参数 -->
<xacro:if value="${enable_collision}">
<gazebo reference="${link_name}">
<collision>
<surface>
<contact>
<ode>
<kp>1e3</kp> <!-- 刚度1e6~1e8根据质量调整 -->
<kd>1e2</kd> <!-- 阻尼与kp比例1:100左右 -->
<mu1>0.8</mu1> <!-- 静摩擦系数0.5~1.0 -->
<mu2>0.8</mu2> <!-- 动摩擦系数与mu1接近 -->
<min_depth>0.001</min_depth> <!-- 允许微小穿透,减少抖动 -->
</ode>
</contact>
<bounce>
<restitution_coefficient>0.0</restitution_coefficient> <!-- 反弹系数0 -->
<threshold>10000.0</threshold> <!-- 阈值设大,确保所有碰撞都不反弹 -->
</bounce>
</surface>
</collision>
</gazebo>
</xacro:if>
</xacro:macro>
</robot>

View File

@@ -3,13 +3,7 @@
Commit Version: 1.6.0-1-g15f4949 Build Version: 1.6.7594.29634
For more information, please see http://wiki.ros.org/sw_urdf_exporter -->
<robot
name="robot3">
<mujoco>
<compiler
meshdir="/home/mrji/mujoco_learning/robot3/meshes"
balanceinertia="true"
discardvisual="false" />
</mujoco>
name="hive_core_bot0">
<link
name="base_link">
@@ -33,7 +27,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/base_link.STL" />
filename="package://urdf/meshes/meshes/base_link.STL" />
</geometry>
<material
name="">
@@ -47,7 +41,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/base_link.STL" />
filename="package://urdf/meshes/meshes/base_link.STL" />
</geometry>
</collision>
</link>
@@ -73,7 +67,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_hip_pitch_link.STL" />
filename="package://urdf/meshes/meshes/left_hip_pitch_link.STL" />
</geometry>
<material
name="">
@@ -87,7 +81,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_hip_pitch_link.STL" />
filename="package://urdf/meshes/meshes/left_hip_pitch_link.STL" />
</geometry>
</collision>
</link>
@@ -131,7 +125,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_leg_pitch_link.STL" />
filename="package://urdf/meshes/meshes/left_leg_pitch_link.STL" />
</geometry>
<material
name="">
@@ -145,7 +139,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_leg_pitch_link.STL" />
filename="package://urdf/meshes/meshes/left_leg_pitch_link.STL" />
</geometry>
</collision>
</link>
@@ -189,7 +183,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_wheel2_link.STL" />
filename="package://urdf/meshes/meshes/left_wheel2_link.STL" />
</geometry>
<material
name="">
@@ -203,7 +197,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_wheel2_link.STL" />
filename="package://urdf/meshes/meshes/left_wheel2_link.STL" />
</geometry>
</collision>
</link>
@@ -247,7 +241,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_wheel1_link.STL" />
filename="package://urdf/meshes/meshes/left_wheel1_link.STL" />
</geometry>
<material
name="">
@@ -261,7 +255,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_wheel1_link.STL" />
filename="package://urdf/meshes/meshes/left_wheel1_link.STL" />
</geometry>
</collision>
</link>
@@ -305,7 +299,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_hip_pitch_link.STL" />
filename="package://urdf/meshes/meshes/right_hip_pitch_link.STL" />
</geometry>
<material
name="">
@@ -319,7 +313,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_hip_pitch_link.STL" />
filename="package://urdf/meshes/meshes/right_hip_pitch_link.STL" />
</geometry>
</collision>
</link>
@@ -363,7 +357,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_leg_pitch_link.STL" />
filename="package://urdf/meshes/meshes/right_leg_pitch_link.STL" />
</geometry>
<material
name="">
@@ -377,7 +371,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_leg_pitch_link.STL" />
filename="package://urdf/meshes/meshes/right_leg_pitch_link.STL" />
</geometry>
</collision>
</link>
@@ -421,7 +415,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_wheel2_link.STL" />
filename="package://urdf/meshes/meshes/right_wheel2_link.STL" />
</geometry>
<material
name="">
@@ -435,7 +429,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_wheel2_link.STL" />
filename="package://urdf/meshes/meshes/right_wheel2_link.STL" />
</geometry>
</collision>
</link>
@@ -479,7 +473,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_wheel1_link.STL" />
filename="package://urdf/meshes/meshes/right_wheel1_link.STL" />
</geometry>
<material
name="">
@@ -493,7 +487,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_wheel1_link.STL" />
filename="package://urdf/meshes/meshes/right_wheel1_link.STL" />
</geometry>
</collision>
</link>
@@ -537,7 +531,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_shoulder_link.STL" />
filename="package://urdf/meshes/meshes/left_shoulder_link.STL" />
</geometry>
<material
name="">
@@ -551,7 +545,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_shoulder_link.STL" />
filename="package://urdf/meshes/meshes/left_shoulder_link.STL" />
</geometry>
</collision>
</link>
@@ -595,7 +589,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_arm1_link.STL" />
filename="package://urdf/meshes/meshes/left_arm1_link.STL" />
</geometry>
<material
name="">
@@ -609,7 +603,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_arm1_link.STL" />
filename="package://urdf/meshes/meshes/left_arm1_link.STL" />
</geometry>
</collision>
</link>
@@ -653,7 +647,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_arm2_link.STL" />
filename="package://urdf/meshes/meshes/left_arm2_link.STL" />
</geometry>
<material
name="">
@@ -667,7 +661,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/left_arm2_link.STL" />
filename="package://urdf/meshes/meshes/left_arm2_link.STL" />
</geometry>
</collision>
</link>
@@ -711,7 +705,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_shoulder_link.STL" />
filename="package://urdf/meshes/meshes/right_shoulder_link.STL" />
</geometry>
<material
name="">
@@ -725,7 +719,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_shoulder_link.STL" />
filename="package://urdf/meshes/meshes/right_shoulder_link.STL" />
</geometry>
</collision>
</link>
@@ -769,7 +763,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_arm1_link.STL" />
filename="package://urdf/meshes/meshes/right_arm1_link.STL" />
</geometry>
<material
name="">
@@ -783,7 +777,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_arm1_link.STL" />
filename="package://urdf/meshes/meshes/right_arm1_link.STL" />
</geometry>
</collision>
</link>
@@ -827,7 +821,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_arm2_link.STL" />
filename="package://urdf/meshes/meshes/right_arm2_link.STL" />
</geometry>
<material
name="">
@@ -841,7 +835,7 @@
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot3/meshes/right_arm2_link.STL" />
filename="package://urdf/meshes/meshes/right_arm2_link.STL" />
</geometry>
</collision>
</link>

View File

@@ -0,0 +1,440 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 转换自 URDF 的 XACRO 文件,保留原模型参数并简化重复结构 -->
<robot name="hive_core_bot0" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:include filename="$(find hive_core_r0)/urdf/generic_link.xacro" />
<xacro:include filename="$(find hive_core_r0)/urdf/generic_joint.xacro" />
<!-- 1. 基础链接base_link -->
<xacro:generic_link
link_name="base_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/base_link.STL"
mass="0.4247767"
inertia_ixx="0.1131876" inertia_ixy="0.0000008" inertia_ixz="0.0001546"
inertia_iyy="0.0858545" inertia_iyz="0.0000006" inertia_izz="0.0325040"
origin_xyz="-0.0598891820748674 5.31626531352636E-07 0.164869219254393"
origin_rpy="0 0 0"
color_rgba="0.666666666666667 0.666666666666667 0.666666666666667 1"
enable_collision="false"
/>
<!-- <link name="world">
<inertial>
<mass value="0.0"/>
<inertia ixx="0.0" ixy="0.0" ixz="0.0"
iyy="0.0" iyz="0.0"
izz="0.0"/>
</inertial>
</link>
<joint name="base_link_to_world_joint" type="fixed">
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="world" />
<child link="base_link" />
</joint> -->
<!-- 2. 左髋关节及腿部left_hip/leg/wheel -->
<!-- 2.1 左髋链接 -->
<xacro:generic_link
link_name="left_hip_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_hip_pitch_link.STL"
mass="0.6475263"
inertia_ixx="0.0182516" inertia_ixy="0.0000058" inertia_ixz="0.0001729"
inertia_iyy="0.0181748" inertia_iyz="-0.0006055" inertia_izz="0.0003913"
origin_xyz="3.93767161736252E-06 0.161490126813208 0.0158567790568734"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 2.2 左髋关节 -->
<xacro:generic_joint
joint_name="left_hip_pitch_joint"
type="revolute"
parent="base_link"
child="left_hip_pitch_link"
origin_xyz="-0.06 -0.1358 -0.037269"
origin_rpy="-1.5708 0.523 0.0"
axis="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 2.3 左腿链接 -->
<xacro:generic_link
link_name="left_leg_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_leg_pitch_link.STL"
mass="0.5126336"
inertia_ixx="0.0135141" inertia_ixy="0.0000005" inertia_ixz="-0.0000325"
inertia_iyy="0.0135986" inertia_iyz="0.0001480" inertia_izz="0.0002025"
origin_xyz="-2.63464180747426E-05 0.197159145100908 0.000498203326348359"
origin_rpy="0 0 0"
color_rgba="1 0.372549019607843 0.294117647058824 1"
enable_collision="false"
/>
<!-- 2.4 左腿关节 -->
<xacro:generic_joint
joint_name="left_leg_pitch_joint"
type="revolute"
parent="left_hip_pitch_link"
child="left_leg_pitch_link"
origin_xyz="0 0 -0.0295"
origin_rpy="0 0 -1.046"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 2.5 左车轮2链接 -->
<xacro:generic_link
link_name="left_wheel2_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_wheel2_link.STL"
mass="0.745"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="4.1585564079967E-08 -5.47447156262759E-06 0.0187838263233595"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 2.6 左车轮2关节 -->
<xacro:generic_joint
joint_name="left_wheel2_joint"
type="revolute"
parent="left_leg_pitch_link"
child="left_wheel2_link"
origin_xyz="0 0.4805 0.004"
origin_rpy="-3.1416 0 -0.0024764"
axis="0 0 1"
limit_lower="-1000"
limit_upper="1000"
effort="2"
velocity="3"
/>
<!-- 2.7 左车轮1链接 -->
<xacro:generic_link
link_name="left_wheel1_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_wheel1_link.STL"
mass="0.745"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="1.97042367054093E-06 5.10773910927798E-06 0.0187838263233595"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 2.8 左车轮1关节 -->
<xacro:generic_joint
joint_name="left_wheel1_joint"
type="revolute"
parent="left_hip_pitch_link"
child="left_wheel1_link"
origin_xyz="0 0.48 0.01"
origin_rpy="0 0 0.0095732"
axis="0 0 1"
limit_lower="-1000"
limit_upper="1000"
effort="2"
velocity="3"
/>
<!-- 3. 右髋关节及腿部right_hip/leg/wheel -->
<!-- 3.1 右髋链接 -->
<xacro:generic_link
link_name="right_hip_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_hip_pitch_link.STL"
mass="0.6475263"
inertia_ixx="0.0182531" inertia_ixy="-0.0000017" inertia_ixz="0.0000501"
inertia_iyy="0.0181748" inertia_iyz="0.0006055" inertia_izz="0.0003897"
origin_xyz="-3.97209815898069E-06 -0.161490067811833 0.0158567790568734"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 3.2 右髋关节 -->
<xacro:generic_joint
joint_name="right_hip_pitch_joint"
type="revolute"
parent="base_link"
child="right_hip_pitch_link"
origin_xyz="-0.06 0.1358 -0.037269"
origin_rpy="1.5708 0.523 0"
axis="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 3.3 右腿链接 -->
<xacro:generic_link
link_name="right_leg_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_leg_pitch_link.STL"
mass="0.5126336"
inertia_ixx="0.0135142" inertia_ixy="0.0000001" inertia_ixz="0.0000001"
inertia_iyy="0.0135986" inertia_iyz="-0.0001480" inertia_izz="0.0002024"
origin_xyz="3.43008600186093E-05 -0.197159143801203 0.000498203308628542"
origin_rpy="0 0 0"
color_rgba="0.647058823529412 0.619607843137255 0.588235294117647 1"
enable_collision="false"
/>
<!-- 3.4 右腿关节 -->
<xacro:generic_joint
joint_name="right_leg_pitch_joint"
type="revolute"
parent="right_hip_pitch_link"
child="right_leg_pitch_link"
origin_xyz="0 0 -0.0295"
origin_rpy="0 0 1.046"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 3.5 右车轮2链接 -->
<xacro:generic_link
link_name="right_wheel2_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_wheel2_link.STL"
mass="0.745"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="-5.49216228909084E-08 5.47435401360152E-06 0.0187838263233596"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 3.6 右车轮2关节 -->
<xacro:generic_joint
joint_name="right_wheel2_joint"
type="revolute"
parent="right_leg_pitch_link"
child="right_wheel2_link"
origin_xyz="1.9386E-05 -0.4805 0.004"
origin_rpy="3.1416 0 0"
axis="0 0 1"
limit_lower="-1000"
limit_upper="1000"
effort="2"
velocity="3"
/>
<!-- 3.7 右车轮1链接 -->
<xacro:generic_link
link_name="right_wheel1_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_wheel1_link.STL"
mass="0.745"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="-1.90651569380871E-06 -5.13193590762073E-06 0.0187838263233596"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 3.8 右车轮1关节 -->
<xacro:generic_joint
joint_name="right_wheel1_joint"
type="revolute"
parent="right_hip_pitch_link"
child="right_wheel1_link"
origin_xyz="0 -0.48 0.01"
origin_rpy="0 0 -0.0029091"
axis="0 0 1"
limit_lower="-1000"
limit_upper="1000"
effort="2"
velocity="3"
/>
<!-- 4. 左手臂left_shoulder/arm -->
<!-- 4.1 左肩链接 -->
<xacro:generic_link
link_name="left_shoulder_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_shoulder_link.STL"
mass="0.0131461"
inertia_ixx="0.0000070" inertia_ixy="0" inertia_ixz="0.0000017"
inertia_iyy="0.0000071" inertia_iyz="0" inertia_izz="0.0000045"
origin_xyz="-0.0144837915216556 0.000108169744531657 0.0209530786562939"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.2 左肩关节 -->
<xacro:generic_joint
joint_name="left_shoulder_joint"
type="revolute"
parent="base_link"
child="left_shoulder_link"
origin_xyz="-0.06 -0.0878 0.36288"
origin_rpy="0 0 0"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 4.3 左手臂1链接 -->
<xacro:generic_link
link_name="left_arm1_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_arm1_link.STL"
mass="0.5854363"
inertia_ixx="0.0008783" inertia_ixy="-0.0000561" inertia_ixz="0.0000086"
inertia_iyy="0.0002821" inertia_iyz="-0.0000017" inertia_izz="0.0009299"
origin_xyz="-0.00228631297282665 -0.000694770956028379 0.0248681244469774"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.4 左手臂1关节 -->
<xacro:generic_joint
joint_name="left_arm1_joint"
type="revolute"
parent="left_shoulder_link"
child="left_arm1_link"
origin_xyz="0 0 0.0385"
origin_rpy="1.5708 0 -0.0074682"
axis="-1 0 0"
limit_lower="-1.5"
limit_upper="1.5"
effort="2"
velocity="3"
/>
<!-- 4.5 左手臂2链接 -->
<xacro:generic_link
link_name="left_arm2_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/left_arm2_link.STL"
mass="0.7955302"
inertia_ixx="0.0035648" inertia_ixy="-0.0000258" inertia_ixz="0.0000009"
inertia_iyy="0.0002355" inertia_iyz="-0.0001213" inertia_izz="0.0036543"
origin_xyz="-0.0237485342372672 -0.0546317049801525 1.0877545797372E-05"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.6 左手臂2关节 -->
<xacro:generic_joint
joint_name="left_arm2_joint"
type="revolute"
parent="left_arm1_link"
child="left_arm2_link"
origin_xyz="0.020127 0.0040341 0.17817"
origin_rpy="-1.6062 0.0074682 0"
axis="-0.99997 0.0074634 0.0002647"
limit_lower="-1.5"
limit_upper="1.5"
effort="2"
velocity="3"
/>
<!-- 5. 右手臂right_shoulder/arm -->
<!-- 5.1 右肩链接 -->
<xacro:generic_link
link_name="right_shoulder_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_shoulder_link.STL"
mass="0.0131461"
inertia_ixx="0.0000070" inertia_ixy="0" inertia_ixz="0.0000017"
inertia_iyy="0.0000071" inertia_iyz="0" inertia_izz="0.0000045"
origin_xyz="-0.0144831349305154 -0.000175271563297497 0.0209530786562937"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.2 右肩关节 -->
<xacro:generic_joint
joint_name="right_shoulder_joint"
type="revolute"
parent="base_link"
child="right_shoulder_link"
origin_xyz="-0.06 0.0878 0.36288"
origin_rpy="0 0 0"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2"
velocity="3"
/>
<!-- 5.3 右手臂1链接 -->
<xacro:generic_link
link_name="right_arm1_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_arm1_link.STL"
mass="0.5854363"
inertia_ixx="0.0008778" inertia_ixy="0.0000592" inertia_ixz="-0.0000064"
inertia_iyy="0.0002836" inertia_iyz="-0.0000262" inertia_izz="0.0009288"
origin_xyz="-0.00258654183724675 0.00163071193731268 -0.0247948407356193"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.4 右手臂1关节 -->
<xacro:generic_joint
joint_name="right_arm1_joint"
type="revolute"
parent="right_shoulder_link"
child="right_arm1_link"
origin_xyz="0 0 0.0385"
origin_rpy="1.5708 0 0"
axis="1 0 0"
limit_lower="-1.5"
limit_upper="1.5"
effort="2"
velocity="3"
/>
<!-- 5.5 右手臂2链接 -->
<xacro:generic_link
link_name="right_arm2_link"
mesh_file="file://$(find hive_core_r0)/urdf/meshes/right_arm2_link.STL"
mass="0.7955302"
inertia_ixx="0.0035728" inertia_ixy="0.0000412" inertia_ixz="-0.0000004"
inertia_iyy="0.0002317" inertia_iyz="0.0000292" inertia_izz="0.0036666"
origin_xyz="-0.0240175529876588 0.0558375631647781 2.11385309717427E-06"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.6 右手臂2关节 -->
<xacro:generic_joint
joint_name="right_arm2_joint"
type="revolute"
parent="right_arm1_link"
child="right_arm2_link"
origin_xyz="0.017969 0.0026972 -0.17843"
origin_rpy="-1.5793 0 0"
axis="-0.99993 -0.0121 -0.00010316"
limit_lower="-1.5"
limit_upper="1.5"
effort="2"
velocity="3"
/>
<xacro:include filename="$(find hive_core_r0)/urdf/bot0.ros2_control.xacro" />
<xacro:bot0_ros2_control />
</robot>

View File

@@ -0,0 +1,438 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 转换自 URDF 的 XACRO 文件,保留原模型参数并简化重复结构 -->
<robot name="hive_core_bot0" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:include filename="$(find hive_core_r0)/urdf/generic_link.xacro" />
<xacro:include filename="$(find hive_core_r0)/urdf/generic_joint.xacro" />
<!-- 1. 基础链接base_link -->
<xacro:generic_link
link_name="base_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/base_link.STL"
mass="0.2"
inertia_ixx="0.00076" inertia_ixy="0.0000008" inertia_ixz="0.00001546"
inertia_iyy="0.000858545" inertia_iyz="0.0000006" inertia_izz="0.000325040"
origin_xyz="-0.0598891820748674 5.31626531352636E-07 0.164869219254393"
origin_rpy="0 0 0"
color_rgba="0.666666666666667 0.666666666666667 0.666666666666667 1"
enable_collision="false"
/>
<link name="world">
<inertial>
<mass value="0.0"/>
<inertia ixx="0.0" ixy="0.0" ixz="0.0"
iyy="0.0" iyz="0.0"
izz="0.0"/>
</inertial>
</link>
<joint name="base_link_to_world_joint" type="fixed">
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="world" />
<child link="base_link" />
</joint>
<!-- 2. 左髋关节及腿部left_hip/leg/wheel -->
<!-- 2.1 左髋链接 -->
<xacro:generic_link
link_name="left_hip_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_hip_pitch_link.STL"
mass="0.1475263"
inertia_ixx="0.000182516" inertia_ixy="0.0000058" inertia_ixz="0.0001729"
inertia_iyy="0.000181748" inertia_iyz="-0.0006055" inertia_izz="0.0003913"
origin_xyz="3.93767161736252E-06 0.161490126813208 0.0158567790568734"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 2.2 左髋关节 -->
<xacro:generic_joint
joint_name="left_hip_pitch_joint"
type="revolute"
parent="base_link"
child="left_hip_pitch_link"
origin_xyz="-0.06 -0.1358 -0.037269"
origin_rpy="-1.5708 0.523 0.0"
axis="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 2.3 左腿链接 -->
<xacro:generic_link
link_name="left_leg_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_leg_pitch_link.STL"
mass="0.1126336"
inertia_ixx="0.000135141" inertia_ixy="0.0000005" inertia_ixz="-0.0000325"
inertia_iyy="0.000135986" inertia_iyz="0.0001480" inertia_izz="0.0002025"
origin_xyz="-2.63464180747426E-05 0.197159145100908 0.000498203326348359"
origin_rpy="0 0 0"
color_rgba="1 0.372549019607843 0.294117647058824 1"
enable_collision="false"
/>
<!-- 2.4 左腿关节 -->
<xacro:generic_joint
joint_name="left_leg_pitch_joint"
type="revolute"
parent="left_hip_pitch_link"
child="left_leg_pitch_link"
origin_xyz="0 0 -0.0295"
origin_rpy="0 0 -1.046"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 2.5 左车轮2链接 -->
<xacro:generic_link
link_name="left_wheel2_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_wheel2_link.STL"
mass="0.145"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="4.1585564079967E-08 -5.47447156262759E-06 0.0187838263233595"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 2.6 左车轮2关节 -->
<xacro:generic_joint
joint_name="left_wheel2_joint"
type="revolute"
parent="left_leg_pitch_link"
child="left_wheel2_link"
origin_xyz="0 0.4805 0.004"
origin_rpy="-3.1416 0 -0.0024764"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 2.7 左车轮1链接 -->
<xacro:generic_link
link_name="left_wheel1_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_wheel1_link.STL"
mass="0.145"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="1.97042367054093E-06 5.10773910927798E-06 0.0187838263233595"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 2.8 左车轮1关节 -->
<xacro:generic_joint
joint_name="left_wheel1_joint"
type="revolute"
parent="left_hip_pitch_link"
child="left_wheel1_link"
origin_xyz="0 0.48 0.01"
origin_rpy="0 0 0.0095732"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 3. 右髋关节及腿部right_hip/leg/wheel -->
<!-- 3.1 右髋链接 -->
<xacro:generic_link
link_name="right_hip_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_hip_pitch_link.STL"
mass="0.1475263"
inertia_ixx="0.000182531" inertia_ixy="-0.0000017" inertia_ixz="0.0000501"
inertia_iyy="0.000181748" inertia_iyz="0.0006055" inertia_izz="0.0003897"
origin_xyz="-3.97209815898069E-06 -0.161490067811833 0.0158567790568734"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 3.2 右髋关节 -->
<xacro:generic_joint
joint_name="right_hip_pitch_joint"
type="revolute"
parent="base_link"
child="right_hip_pitch_link"
origin_xyz="-0.06 0.1358 -0.037269"
origin_rpy="1.5708 0.523 0"
axis="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 3.3 右腿链接 -->
<xacro:generic_link
link_name="right_leg_pitch_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_leg_pitch_link.STL"
mass="0.1126336"
inertia_ixx="0.000135142" inertia_ixy="0.0000001" inertia_ixz="0.0000001"
inertia_iyy="0.000135986" inertia_iyz="-0.0001480" inertia_izz="0.0002024"
origin_xyz="3.43008600186093E-05 -0.197159143801203 0.000498203308628542"
origin_rpy="0 0 0"
color_rgba="0.647058823529412 0.619607843137255 0.588235294117647 1"
enable_collision="false"
/>
<!-- 3.4 右腿关节 -->
<xacro:generic_joint
joint_name="right_leg_pitch_joint"
type="revolute"
parent="right_hip_pitch_link"
child="right_leg_pitch_link"
origin_xyz="0 0 -0.0295"
origin_rpy="0 0 1.046"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 3.5 右车轮2链接 -->
<xacro:generic_link
link_name="right_wheel2_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_wheel2_link.STL"
mass="0.145"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="-5.49216228909084E-08 5.47435401360152E-06 0.0187838263233596"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 3.6 右车轮2关节 -->
<xacro:generic_joint
joint_name="right_wheel2_joint"
type="revolute"
parent="right_leg_pitch_link"
child="right_wheel2_link"
origin_xyz="1.9386E-05 -0.4805 0.004"
origin_rpy="3.1416 0 0"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 3.7 右车轮1链接 -->
<xacro:generic_link
link_name="right_wheel1_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_wheel1_link.STL"
mass="0.145"
inertia_ixx="0.0004716" inertia_ixy="0" inertia_ixz="0"
inertia_iyy="0.0007945" inertia_iyz="0.0000001" inertia_izz="0.0004716"
origin_xyz="-1.90651569380871E-06 -5.13193590762073E-06 0.0187838263233596"
origin_rpy="0 0 0"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 3.8 右车轮1关节 -->
<xacro:generic_joint
joint_name="right_wheel1_joint"
type="revolute"
parent="right_hip_pitch_link"
child="right_wheel1_link"
origin_xyz="0 -0.48 0.01"
origin_rpy="0 0 -0.0029091"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 4. 左手臂left_shoulder/arm -->
<!-- 4.1 左肩链接 -->
<xacro:generic_link
link_name="left_shoulder_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_shoulder_link.STL"
mass="0.0131461"
inertia_ixx="0.0000070" inertia_ixy="0" inertia_ixz="0.0000017"
inertia_iyy="0.0000071" inertia_iyz="0" inertia_izz="0.0000045"
origin_xyz="-0.0144837915216556 0.000108169744531657 0.0209530786562939"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.2 左肩关节 -->
<xacro:generic_joint
joint_name="left_shoulder_joint"
type="revolute"
parent="base_link"
child="left_shoulder_link"
origin_xyz="-0.06 -0.0878 0.36288"
origin_rpy="0 0 0"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 4.3 左手臂1链接 -->
<xacro:generic_link
link_name="left_arm1_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_arm1_link.STL"
mass="0.1854363"
inertia_ixx="0.0008783" inertia_ixy="-0.0000561" inertia_ixz="0.0000086"
inertia_iyy="0.0002821" inertia_iyz="-0.0000017" inertia_izz="0.0009299"
origin_xyz="-0.00228631297282665 -0.000694770956028379 0.0248681244469774"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.4 左手臂1关节 -->
<xacro:generic_joint
joint_name="left_arm1_joint"
type="revolute"
parent="left_shoulder_link"
child="left_arm1_link"
origin_xyz="0 0 0.0385"
origin_rpy="1.5708 0 -0.0074682"
axis="-1 0 0"
limit_lower="-1.5"
limit_upper="1.5"
effort="2000"
velocity="30"
/>
<!-- 4.5 左手臂2链接 -->
<xacro:generic_link
link_name="left_arm2_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/left_arm2_link.STL"
mass="0.1955302"
inertia_ixx="0.000035648" inertia_ixy="-0.0000258" inertia_ixz="0.0000009"
inertia_iyy="0.0002355" inertia_iyz="-0.0001213" inertia_izz="0.0036543"
origin_xyz="-0.0237485342372672 -0.0546317049801525 1.0877545797372E-05"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 4.6 左手臂2关节 -->
<xacro:generic_joint
joint_name="left_arm2_joint"
type="revolute"
parent="left_arm1_link"
child="left_arm2_link"
origin_xyz="0.020127 0.0040341 0.17817"
origin_rpy="-1.6062 0.0074682 0"
axis="-0.99997 0.0074634 0.0002647"
limit_lower="-1.5"
limit_upper="1.5"
effort="2000"
velocity="30"
/>
<!-- 5. 右手臂right_shoulder/arm -->
<!-- 5.1 右肩链接 -->
<xacro:generic_link
link_name="right_shoulder_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_shoulder_link.STL"
mass="0.0131461"
inertia_ixx="0.0000070" inertia_ixy="0" inertia_ixz="0.0000017"
inertia_iyy="0.0000071" inertia_iyz="0" inertia_izz="0.0000045"
origin_xyz="-0.0144831349305154 -0.000175271563297497 0.0209530786562937"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.2 右肩关节 -->
<xacro:generic_joint
joint_name="right_shoulder_joint"
type="revolute"
parent="base_link"
child="right_shoulder_link"
origin_xyz="-0.06 0.0878 0.36288"
origin_rpy="0 0 0"
axis="0 0 1"
limit_lower="-1.57"
limit_upper="1.57"
effort="2000"
velocity="30"
/>
<!-- 5.3 右手臂1链接 -->
<xacro:generic_link
link_name="right_arm1_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_arm1_link.STL"
mass="0.1854363"
inertia_ixx="0.0008778" inertia_ixy="0.0000592" inertia_ixz="-0.0000064"
inertia_iyy="0.0002836" inertia_iyz="-0.0000262" inertia_izz="0.0009288"
origin_xyz="-0.00258654183724675 0.00163071193731268 -0.0247948407356193"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.4 右手臂1关节 -->
<xacro:generic_joint
joint_name="right_arm1_joint"
type="revolute"
parent="right_shoulder_link"
child="right_arm1_link"
origin_xyz="0 0 0.0385"
origin_rpy="1.5708 0 0"
axis="1 0 0"
limit_lower="-1.5"
limit_upper="1.5"
effort="2000"
velocity="30"
/>
<!-- 5.5 右手臂2链接 -->
<xacro:generic_link
link_name="right_arm2_link"
mesh_file="file://$(find hive_core_r0)/urdf/hiveBot0/meshes/right_arm2_link.STL"
mass="0.1955302"
inertia_ixx="0.0035728" inertia_ixy="0.0000412" inertia_ixz="-0.0000004"
inertia_iyy="0.0002317" inertia_iyz="0.0000292" inertia_izz="0.0036666"
origin_xyz="-0.0240175529876588 0.0558375631647781 2.11385309717427E-06"
origin_rpy="0 0 0"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 5.6 右手臂2关节 -->
<xacro:generic_joint
joint_name="right_arm2_joint"
type="revolute"
parent="right_arm1_link"
child="right_arm2_link"
origin_xyz="0.017969 0.0026972 -0.17843"
origin_rpy="-1.5793 0 0"
axis="-0.99993 -0.0121 -0.00010316"
limit_lower="-1.5"
limit_upper="1.5"
effort="2000"
velocity="30"
/>
<xacro:include filename="$(find hive_core_r0)/urdf/hiveBot0/bot0.ros2_control.xacro" />
<xacro:bot0_ros2_control />
</robot>

View File

@@ -0,0 +1,118 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- 宏定义ros2_control硬件接口配置适配位置控制器和轮子速度控制器 -->
<xacro:macro name="bot1_ros2_control">
<!-- 1. ros2_control系统配置定义所有关节的控制接口 -->
<ros2_control name="Bot1GazeboSystem" type="system">
<!-- 硬件插件关联Gazebo仿真 -->
<hardware>
<plugin>gazebo_ros2_control/GazeboSystem</plugin>
</hardware>
<!-- 所有关节的接口配置 -->
<!-- 腿部关节 -->
<joint name="left_leg1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="left_leg2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_leg1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_leg2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<!-- 轮子关节 -->
<joint name="left_wheel1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="left_wheel2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_wheel1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_wheel2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<!-- 身体关节 -->
<joint name="pitch_body_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<!-- 左臂关节 -->
<joint name="left_shoulder_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="left_arm1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="left_arm2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<!-- 右臂关节 -->
<joint name="right_shoulder_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_arm1_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
<joint name="right_arm2_joint">
<command_interface name="position"/>
<state_interface name="position"/>
<state_interface name="velocity"/>
</joint>
</ros2_control>
<!-- 4. Gazebo插件配置关联控制器参数文件 -->
<gazebo>
<plugin filename="libgazebo_ros2_control.so" name="gazebo_ros2_control">
<!-- 加载控制器配置文件(路径需替换为你的实际路径) -->
<parameters>$(find hive_core_r0)/config/bot1_ros2_controller.yaml</parameters>
</plugin>
</gazebo>
</xacro:macro>
</robot>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- 通用关节(joint)宏定义 -->
<xacro:macro name="generic_joint" params="joint_name type parent child
origin_xyz origin_rpy
axis_xyz limit_lower limit_upper effort velocity">
<joint name="${joint_name}" type="${type}">
<origin xyz="${origin_xyz}" rpy="${origin_rpy}" />
<parent link="${parent}" />
<child link="${child}" />
<axis xyz="${axis_xyz}" />
<limit lower="${limit_lower}" upper="${limit_upper}"
effort="${effort}" velocity="${velocity}" />
</joint>
</xacro:macro>
</robot>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- 通用链接(link)宏定义 -->
<xacro:macro name="generic_link" params="link_name mesh_file
inertia_xyz inertia_rpy
mass ixx ixy ixz iyy iyz izz
color_rgba enable_collision">
<link name="${link_name}">
<!-- 惯性参数 -->
<inertial>
<origin xyz="${inertia_xyz}" rpy="${inertia_rpy}" />
<mass value="${mass}" />
<inertia ixx="${ixx}" ixy="${ixy}" ixz="${ixz}"
iyy="${iyy}" iyz="${iyz}" izz="${izz}" />
</inertial>
<!-- 可视化模型 -->
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="${mesh_file}" />
</geometry>
<material name="${link_name}_material">
<color rgba="${color_rgba}" />
</material>
</visual>
<xacro:if value="${enable_collision}">
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<!-- <mesh filename="${mesh_file}" /> -->
<cylinder radius="0.1" length="0.1" />
</geometry>
<material name="blue">
<color rgba="0.1 0.1 1.0 0.5" />
</material>
</collision>
</xacro:if>
<!-- 仅当启用碰撞时,添加碰撞物理参数 -->
<xacro:if value="${enable_collision}">
<gazebo reference="${link_name}">
<collision>
<surface>
<contact>
<ode>
<!-- 刚度:根据轮子质量调整,建议 1e5~1e6质量越大kp适当增大 -->
<kp>5e5</kp>
<!-- 阻尼kp的1%~5%,确保振动快速衰减(关键参数) -->
<kd>2e4</kd>
<!-- 静/动摩擦系数0.8~1.0,避免打滑 -->
<mu1>1000</mu1>
<mu2>1000</mu2>
<!-- 允许微小穿透0.001~0.01m),减少高频抖动 -->
<min_depth>0.005</min_depth>
<!-- 碰撞时的最大校正速度,防止剧烈弹跳 -->
<max_vel>0.1</max_vel>
</ode>
</contact>
<bounce>
<!-- 反弹系数0 = 完全不反弹(核心参数) -->
<restitution_coefficient>0.0</restitution_coefficient>
<!-- 碰撞速度阈值设为0确保所有碰撞都无反弹 -->
<threshold>0.0</threshold>
</bounce>
</surface>
</collision>
</gazebo>
</xacro:if>
</link>
</xacro:macro>
</robot>

View File

@@ -0,0 +1,925 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This URDF was automatically created by SolidWorks to URDF Exporter! Originally created by Stephen Brawner (brawner@gmail.com)
Commit Version: 1.6.0-1-g15f4949 Build Version: 1.6.7594.29634
For more information, please see http://wiki.ros.org/sw_urdf_exporter -->
<robot
name="robot5">
<mujoco>
<compiler
meshdir="/home/mrji/mujoco_learning/robot5/meshes"
balanceinertia="true"
discardvisual="false" />
</mujoco>
<link
name="base_link">
<inertial>
<origin
xyz="-0.0223121090242412 0.00180410615499793 0.0294578734419628"
rpy="0 0 0" />
<mass
value="8.01740117497269" />
<inertia
ixx="0.0100767591002942"
ixy="-8.33871415118017E-06"
ixz="-3.04794782095214E-06"
iyy="0.00687778146550088"
iyz="2.70300324348596E-06"
izz="0.0095089226755309" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/base_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.592156862745098 0.619607843137255 0.650980392156863 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/base_link.STL" />
</geometry>
</collision>
</link>
<link
name="left_leg1_link">
<inertial>
<origin
xyz="0.0026919722577641 -0.106691141065344 0.000439159272074496"
rpy="0 0 0" />
<mass
value="0.687221704005751" />
<inertia
ixx="0.00309344360201386"
ixy="7.22427359994752E-05"
ixz="-1.7837563113331E-07"
iyy="0.000199758758340417"
iyz="5.25184127616714E-06"
izz="0.00327480626360329" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_leg1_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.898039215686275 0.917647058823529 0.929411764705882 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_leg1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_leg1_joint"
type="revolute">
<origin
xyz="-0.023189 -0.14297 0.032124"
rpy="1.5097 0 0" />
<parent
link="base_link" />
<child
link="left_leg1_link" />
<axis
xyz="0 0 -1" />
<limit
lower="0"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="left_wheel1_link">
<inertial>
<origin
xyz="-2.01863499148247E-06 -1.71217600630769E-06 -0.000769610134319532"
rpy="0 0 0" />
<mass
value="0.243841354713671" />
<inertia
ixx="0.000147760027881631"
ixy="2.12254130748857E-09"
ixz="-1.63113803254759E-08"
iyy="0.000147759325738658"
iyz="-1.38350688180478E-08"
izz="0.000229476928281019" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_wheel1_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.780392156862745 0.780392156862745 0.780392156862745 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_wheel1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_wheel1_joint"
type="revolute">
<origin
xyz="0.010552 -0.41639 -0.03757"
rpy="3.1416 0 0" />
<parent
link="left_leg1_link" />
<child
link="left_wheel1_link" />
<axis
xyz="0 0 -1" />
<limit
lower="-1000"
upper="1000"
effort="30"
velocity="50" />
</joint>
<link
name="right_leg1_link">
<inertial>
<origin
xyz="-3.01562743165443E-05 -0.106725092599043 -0.000439159317208282"
rpy="0 0 0" />
<mass
value="0.687221703818328" />
<inertia
ixx="0.00309524606532856"
ixy="-4.05589498874716E-09"
ixz="-4.73342140491208E-08"
iyy="0.000197956293734699"
iyz="-5.25465636656606E-06"
izz="0.00327480626231139" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_leg1_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.686274509803922 0.686274509803922 0.686274509803922 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_leg1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_leg1_joint"
type="revolute">
<origin
xyz="-0.022996 0.14297 0.032127"
rpy="1.6319 0 0" />
<parent
link="base_link" />
<child
link="right_leg1_link" />
<axis
xyz="0 0 -1" />
<limit
lower="0"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="right_wheel1_link">
<inertial>
<origin
xyz="1.92448237847231E-06 1.8173611248673E-06 -0.000769610176954372"
rpy="0 0 0" />
<mass
value="0.243841354713671" />
<inertia
ixx="0.000147759799888368"
ixy="2.14785580095997E-09"
ixz="1.55505894769142E-08"
iyy="0.000147759553731921"
iyz="1.46850067839037E-08"
izz="0.000229476928281019" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_wheel1_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.780392156862745 0.780392156862745 0.780392156862745 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_wheel1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_wheel1_joint"
type="revolute">
<origin
xyz="-0.00016377 -0.41653 0.03757"
rpy="0 0 0" />
<parent
link="right_leg1_link" />
<child
link="right_wheel1_link" />
<axis
xyz="0 0 -1" />
<limit
lower="-1000"
upper="1000"
effort="30"
velocity="50" />
</joint>
<link
name="pitch_body_link">
<inertial>
<origin
xyz="0.000405025729528165 0.164222263553734 0.038212974552542"
rpy="0 0 0" />
<mass
value="6.27735184123949" />
<inertia
ixx="0.012112631055994"
ixy="0.000262225328016326"
ixz="-4.41212676410044E-06"
iyy="0.00923713569100348"
iyz="-6.27634886947933E-05"
izz="0.00865286317711146" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/pitch_body_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.592156862745098 0.619607843137255 0.650980392156863 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/pitch_body_link.STL" />
</geometry>
</collision>
</link>
<joint
name="pitch_body_joint"
type="revolute">
<origin
xyz="-0.022999 0.039 0.048"
rpy="1.5708 0 0" />
<parent
link="base_link" />
<child
link="pitch_body_link" />
<axis
xyz="0 0 -1" />
<limit
lower="-0.5236"
upper="0.5236"
effort="20"
velocity="50" />
</joint>
<link
name="left_shoulder_link">
<inertial>
<origin
xyz="0.0139828606345992 0.000183964382035662 0.0469280544333041"
rpy="0 0 0" />
<mass
value="2.24001373537068" />
<inertia
ixx="0.00187573272868104"
ixy="5.61569065704759E-06"
ixz="-1.58654763334498E-05"
iyy="0.00158854268624343"
iyz="8.8447275683334E-07"
izz="0.00161229514279373" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_shoulder_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.898039215686275 0.92156862745098 0.929411764705882 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_shoulder_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_shoulder_joint"
type="revolute">
<origin
xyz="0.00396365185327967 0.220964452984708 0.0865"
rpy="-1.5707963267949 0 0" />
<parent
link="pitch_body_link" />
<child
link="left_shoulder_link" />
<axis
xyz="-0.0179350762557234 0 -0.999839153584066" />
<limit
lower="-1.57"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="left_arm1_link">
<inertial>
<origin
xyz="-0.0237185143086008 -0.146707321130601 0.0947584340472464"
rpy="0 0 0" />
<mass
value="1.97210272038181" />
<inertia
ixx="0.0020453207276327"
ixy="-7.93710872896332E-05"
ixz="3.82437020118978E-05"
iyy="0.00151626513015615"
iyz="0.000308320536526838"
izz="0.00183373717106277" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_arm1_link.STL" />
</geometry>
<material
name="">
<color
rgba="1 1 1 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_arm1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_arm1_joint"
type="revolute">
<origin
xyz="0.0403430563984948 0.00044500097133069 0.0467839692408788"
rpy="0.560887033481642 0 0" />
<parent
link="left_shoulder_link" />
<child
link="left_arm1_link" />
<axis
xyz="0.99977570211955 0 -0.0211788916461878" />
<limit
lower="-1.57"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="left_arm2_link">
<inertial>
<origin
xyz="-0.0044670114805947 0.108002437145143 -0.0700232476387601"
rpy="0 0 0" />
<mass
value="0.153345483355902" />
<inertia
ixx="0.000846185788600758"
ixy="8.22351279275958E-05"
ixz="-4.72026465483579E-05"
iyy="0.000325958142834647"
iyz="0.000341442751456307"
izz="0.000633417429555725" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_arm2_link.STL" />
</geometry>
<material
name="">
<color
rgba="1 1 1 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_arm2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_arm2_joint"
type="revolute">
<origin
xyz="0.00696183199978448 -0.151367984040579 0.0972793725016652"
rpy="-3.14159265358976 0 0" />
<parent
link="left_arm1_link" />
<child
link="left_arm2_link" />
<axis
xyz="-0.99977570211955 0 -0.0211788916461861" />
<limit
lower="-1.57"
upper="1.57"
effort="20"
velocity="50" />
</joint>
<link
name="right_shoulder_link">
<inertial>
<origin
xyz="0.0139817634960264 -0.000283387663890286 0.0469666821426944"
rpy="0 0 0" />
<mass
value="2.24001360218308" />
<inertia
ixx="0.00187572320791288"
ixy="-7.22979277002269E-06"
ixz="-1.38305404469916E-05"
iyy="0.00158896107508856"
iyz="-4.80454269915803E-07"
izz="0.00161188619803665" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_shoulder_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.898039215686275 0.92156862745098 0.929411764705882 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_shoulder_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_shoulder_joint"
type="revolute">
<origin
xyz="0.00396365185327941 0.220964452984708 -0.00950000000000008"
rpy="-1.5707963267949 0 0" />
<parent
link="pitch_body_link" />
<child
link="right_shoulder_link" />
<axis
xyz="-0.0179350762557234 0 -0.999839153584066" />
<limit
lower="-1.57"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="right_arm1_link">
<inertial>
<origin
xyz="-0.0222764790210273 0.116445846258557 0.130395530944397"
rpy="0 0 0" />
<mass
value="1.97210271472831" />
<inertia
ixx="0.00204747347595548"
ixy="4.42933377299481E-05"
ixz="6.73328370107109E-05"
iyy="0.00173434064125734"
iyz="-0.000339327591519728"
izz="0.00161350890019016" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_arm1_link.STL" />
</geometry>
<material
name="">
<color
rgba="1 1 1 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_arm1_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_arm1_joint"
type="revolute">
<origin
xyz="0.040338077059205 -0.000769030026202884 0.046784058560075"
rpy="-0.826482123984997 0 0" />
<parent
link="right_shoulder_link" />
<child
link="right_arm1_link" />
<axis
xyz="0.999649642897155 0 -0.0264686882106157" />
<limit
lower="-1.57"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="right_arm2_link">
<inertial>
<origin
xyz="-0.00344285141443855 -0.0871900700243705 -0.0947300074211656"
rpy="0 0 0" />
<mass
value="0.153345483533995" />
<inertia
ixx="0.000848016249761213"
ixy="-5.62001253862557E-05"
ixz="-6.88219353067134E-05"
iyy="0.000513290254168688"
iyz="-0.000373425902214173"
izz="0.00044425485583754" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_arm2_link.STL" />
</geometry>
<material
name="">
<color
rgba="1 1 1 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_arm2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_arm2_joint"
type="revolute">
<origin
xyz="0.00854070115695219 0.120366284301785 0.133656328091823"
rpy="-3.14159265358977 0 0" />
<parent
link="right_arm1_link" />
<child
link="right_arm2_link" />
<axis
xyz="-0.999649642897155 0 -0.0264686882106164" />
<limit
lower="-1.57"
upper="1.57"
effort="20"
velocity="50" />
</joint>
<link
name="left_leg2_link">
<inertial>
<origin
xyz="-0.00247971563497956 -0.0972883314998296 0.00524725682640842"
rpy="0 0 0" />
<mass
value="0.758444942474565" />
<inertia
ixx="0.00308402598971299"
ixy="-7.39501679752198E-05"
ixz="4.61546712808476E-06"
iyy="0.00021886670519613"
iyz="0.000190799531555152"
izz="0.00323764016118335" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_leg2_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.686274509803922 0.686274509803922 0.686274509803922 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_leg2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_leg2_joint"
type="revolute">
<origin
xyz="-0.092811 -0.14333 0.032022"
rpy="1.5708 0 0" />
<parent
link="base_link" />
<child
link="left_leg2_link" />
<axis
xyz="0 0 -1" />
<limit
lower="0"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="left_wheel2_link">
<inertial>
<origin
xyz="-2.63258476833339E-06 -2.75556383766418E-07 -0.000769610176954399"
rpy="0 0 0" />
<mass
value="0.243841354713671" />
<inertia
ixx="0.000147761781558832"
ixy="4.45494954114067E-10"
ixz="-2.127234078802E-08"
iyy="0.000147757572061457"
iyz="-2.226606099262E-09"
izz="0.000229476928281019" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_wheel2_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.780392156862745 0.780392156862745 0.780392156862745 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/left_wheel2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="left_wheel2_joint"
type="revolute">
<origin
xyz="-0.010549 -0.41781 -0.01244"
rpy="3.0805 0 0" />
<parent
link="left_leg2_link" />
<child
link="left_wheel2_link" />
<axis
xyz="0 0 -1" />
<limit
lower="-1000"
upper="1000"
effort="30"
velocity="50" />
</joint>
<link
name="right_leg2_link">
<inertial>
<origin
xyz="-0.0050516474502517 -0.0973277461307459 0.000701841039130763"
rpy="0 0 0" />
<mass
value="0.758444958401021" />
<inertia
ixx="0.00307823597256189"
ixy="-0.000148312070292207"
ixz="-3.2725667530637E-07"
iyy="0.000212654851830719"
iyz="-5.42028503051418E-06"
izz="0.00324964203847903" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_leg2_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.501960784313725 0.501960784313725 0.501960784313725 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_leg2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_leg2_joint"
type="revolute">
<origin
xyz="-0.092614 0.14333 0.032015"
rpy="1.6319 0 0" />
<parent
link="base_link" />
<child
link="right_leg2_link" />
<axis
xyz="0 0 -1" />
<limit
lower="0"
upper="1.57"
effort="60"
velocity="50" />
</joint>
<link
name="right_wheel2_link">
<inertial>
<origin
xyz="1.93300484906123E-06 1.80829370854951E-06 -0.000769610176954413"
rpy="0 0 0" />
<mass
value="0.243841354713671" />
<inertia
ixx="0.000147759820077608"
ixy="2.14660364874833E-09"
ixz="1.56194544574533E-08"
iyy="0.000147759533542682"
iyz="1.46117384240508E-08"
izz="0.000229476928281019" />
</inertial>
<visual>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_wheel2_link.STL" />
</geometry>
<material
name="">
<color
rgba="0.780392156862745 0.780392156862745 0.780392156862745 1" />
</material>
</visual>
<collision>
<origin
xyz="0 0 0"
rpy="0 0 0" />
<geometry>
<mesh
filename="/home/mrji/mujoco_learning/robot5/urdf/meshes/right_wheel2_link.STL" />
</geometry>
</collision>
</link>
<joint
name="right_wheel2_joint"
type="revolute">
<origin
xyz="-0.021629 -0.41584 0.037923"
rpy="0 0 0" />
<parent
link="right_leg2_link" />
<child
link="right_wheel2_link" />
<axis
xyz="0 0 -1" />
<limit
lower="-1000"
upper="1000"
effort="30"
velocity="50" />
</joint>
</robot>

View File

@@ -0,0 +1,523 @@
<?xml version="1.0" encoding="utf-8"?>
<robot name="hive_core_bot1" xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- 引入XACRO命名空间 -->
<xacro:property name="meshes_path" value="file://$(find hive_core_r0)/urdf/hiveBot1/meshes" />
<xacro:include filename="$(find hive_core_r0)/urdf/hiveBot1/generic_link.xacro" />
<xacro:include filename="$(find hive_core_r0)/urdf/hiveBot1/generic_joint.xacro" />
<!-- 基础链接 -->
<xacro:generic_link
link_name="base_link"
mesh_file="${meshes_path}/base_link.STL"
inertia_xyz="-0.0223121090242412 0.00180410615499793 0.0294578734419628"
inertia_rpy="0 0 0"
mass="8.01740117497269"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.592156862745098 0.619607843137255 0.650980392156863 1"
enable_collision="true"
/>
<!-- 左腿1链接 -->
<xacro:generic_link
link_name="left_leg1_link"
mesh_file="${meshes_path}/left_leg1_link.STL"
inertia_xyz="0.0026919722577641 -0.106691141065344 0.000439159272074496"
inertia_rpy="0 0 0"
mass="0.687221704005751"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.898039215686275 0.917647058823529 0.929411764705882 1"
enable_collision="false"
/>
<!-- 左轮1链接 -->
<xacro:generic_link
link_name="left_wheel1_link"
mesh_file="${meshes_path}/left_wheel1_link.STL"
inertia_xyz="-2.01863499148247E-06 -1.71217600630769E-06 -0.000769610134319532"
inertia_rpy="0 0 0"
mass="0.243841354713671"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 右腿1链接 -->
<xacro:generic_link
link_name="right_leg1_link"
mesh_file="${meshes_path}/right_leg1_link.STL"
inertia_xyz="-3.01562743165443E-05 -0.106725092599043 -0.000439159317208282"
inertia_rpy="0 0 0"
mass="0.687221703818328"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.686274509803922 0.686274509803922 0.686274509803922 1"
enable_collision="false"
/>
<!-- 右轮1链接 -->
<xacro:generic_link
link_name="right_wheel1_link"
mesh_file="${meshes_path}/right_wheel1_link.STL"
inertia_xyz="1.92448237847231E-06 1.8173611248673E-06 -0.000769610176954372"
inertia_rpy="0 0 0"
mass="0.243841354713671"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 俯仰身体链接 -->
<xacro:generic_link
link_name="pitch_body_link"
mesh_file="${meshes_path}/pitch_body_link.STL"
inertia_xyz="0.000405025729528165 0.164222263553734 0.038212974552542"
inertia_rpy="0 0 0"
mass="6.27735184123949"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.592156862745098 0.619607843137255 0.650980392156863 1"
enable_collision="true"
/>
<!-- 左肩链接 -->
<xacro:generic_link
link_name="left_shoulder_link"
mesh_file="${meshes_path}/left_shoulder_link.STL"
inertia_xyz="0.0139828606345992 0.000183964382035662 0.0469280544333041"
inertia_rpy="0 0 0"
mass="2.24001373537068"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.898039215686275 0.92156862745098 0.929411764705882 1"
enable_collision="true"
/>
<!-- 左臂1链接 -->
<xacro:generic_link
link_name="left_arm1_link"
mesh_file="${meshes_path}/left_arm1_link.STL"
inertia_xyz="-0.0237185143086008 -0.146707321130601 0.0947584340472464"
inertia_rpy="0 0 0"
mass="1.97210272038181"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 左臂2链接 -->
<xacro:generic_link
link_name="left_arm2_link"
mesh_file="${meshes_path}/left_arm2_link.STL"
inertia_xyz="-0.0044670114805947 0.108002437145143 -0.0700232476387601"
inertia_rpy="0 0 0"
mass="0.153345483355902"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="1 1 1 1"
enable_collision="true"
/>
<!-- 右肩链接 -->
<xacro:generic_link
link_name="right_shoulder_link"
mesh_file="${meshes_path}/right_shoulder_link.STL"
inertia_xyz="0.0139817634960264 -0.000283387663890286 0.0469666821426944"
inertia_rpy="0 0 0"
mass="2.24001360218308"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.898039215686275 0.92156862745098 0.929411764705882 1"
enable_collision="true"
/>
<!-- 右臂1链接 -->
<xacro:generic_link
link_name="right_arm1_link"
mesh_file="${meshes_path}/right_arm1_link.STL"
inertia_xyz="-0.0222764790210273 0.116445846258557 0.130395530944397"
inertia_rpy="0 0 0"
mass="1.97210271472831"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="1 1 1 1"
enable_collision="false"
/>
<!-- 右臂2链接 -->
<xacro:generic_link
link_name="right_arm2_link"
mesh_file="${meshes_path}/right_arm2_link.STL"
inertia_xyz="-0.00344285141443855 -0.0871900700243705 -0.0947300074211656"
inertia_rpy="0 0 0"
mass="0.153345483533995"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="1 1 1 1"
enable_collision="true"
/>
<!-- 左腿2链接 -->
<xacro:generic_link
link_name="left_leg2_link"
mesh_file="${meshes_path}/left_leg2_link.STL"
inertia_xyz="-0.00247971563497956 -0.0972883314998296 0.00524725682640842"
inertia_rpy="0 0 0"
mass="0.758444942474565"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.686274509803922 0.686274509803922 0.686274509803922 1"
enable_collision="false"
/>
<!-- 左轮2链接 -->
<xacro:generic_link
link_name="left_wheel2_link"
mesh_file="${meshes_path}/left_wheel2_link.STL"
inertia_xyz="-2.63258476833339E-06 -2.75556383766418E-07 -0.000769610176954399"
inertia_rpy="0 0 0"
mass="0.243841354713671"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 右腿2链接 -->
<xacro:generic_link
link_name="right_leg2_link"
mesh_file="${meshes_path}/right_leg2_link.STL"
inertia_xyz="-0.0050516474502517 -0.0973277461307459 0.000701841039130763"
inertia_rpy="0 0 0"
mass="0.758444958401021"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.501960784313725 0.501960784313725 0.501960784313725 1"
enable_collision="false"
/>
<!-- 右轮2链接 -->
<xacro:generic_link
link_name="right_wheel2_link"
mesh_file="${meshes_path}/right_wheel2_link.STL"
inertia_xyz="1.93300484906123E-06 1.80829370854951E-06 -0.000769610176954413"
inertia_rpy="0 0 0"
mass="0.243841354713671"
ixx="0.1"
ixy="0"
ixz="0"
iyy="0.1"
iyz="0"
izz="0.1"
color_rgba="0.780392156862745 0.780392156862745 0.780392156862745 1"
enable_collision="true"
/>
<!-- 左腿1关节 -->
<xacro:generic_joint
joint_name="left_leg1_joint"
type="revolute"
parent="base_link"
child="left_leg1_link"
origin_xyz="-0.023189 -0.14297 0.032124"
origin_rpy="1.5097 -0.523 0"
axis_xyz="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 左轮1关节 -->
<xacro:generic_joint
joint_name="left_wheel1_joint"
type="revolute"
parent="left_leg1_link"
child="left_wheel1_link"
origin_xyz="0.010552 -0.41639 -0.03757"
origin_rpy="3.1416 0 0"
axis_xyz="0 0 -1"
limit_lower="-1000"
limit_upper="1000"
effort="6000"
velocity="50"
/>
<!-- 右腿1关节 -->
<xacro:generic_joint
joint_name="right_leg1_joint"
type="revolute"
parent="base_link"
child="right_leg1_link"
origin_xyz="-0.022996 0.14297 0.032127"
origin_rpy="1.6319 -0.523 0"
axis_xyz="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 右轮1关节 -->
<xacro:generic_joint
joint_name="right_wheel1_joint"
type="revolute"
parent="right_leg1_link"
child="right_wheel1_link"
origin_xyz="-0.00016377 -0.41653 0.03757"
origin_rpy="0 0 0"
axis_xyz="0 0 -1"
limit_lower="-1000"
limit_upper="1000"
effort="6000"
velocity="50"
/>
<!-- 俯仰身体关节 -->
<xacro:generic_joint
joint_name="pitch_body_joint"
type="revolute"
parent="base_link"
child="pitch_body_link"
origin_xyz="-0.022999 0.039 0.048"
origin_rpy="1.5708 0 0"
axis_xyz="0 0 -1"
limit_lower="-0.5236"
limit_upper="0.5236"
effort="6000"
velocity="50"
/>
<!-- 左肩关节 -->
<xacro:generic_joint
joint_name="left_shoulder_joint"
type="revolute"
parent="pitch_body_link"
child="left_shoulder_link"
origin_xyz="0.00396365185327967 0.220964452984708 0.0865"
origin_rpy="-1.5707963267949 0 0"
axis_xyz="-0.0179350762557234 0 -0.999839153584066"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 左臂1关节 -->
<xacro:generic_joint
joint_name="left_arm1_joint"
type="revolute"
parent="left_shoulder_link"
child="left_arm1_link"
origin_xyz="0.0403430563984948 0.00044500097133069 0.0467839692408788"
origin_rpy="0.560887033481642 0 0"
axis_xyz="0.99977570211955 0 -0.0211788916461878"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 左臂2关节 -->
<xacro:generic_joint
joint_name="left_arm2_joint"
type="revolute"
parent="left_arm1_link"
child="left_arm2_link"
origin_xyz="0.00696183199978448 -0.151367984040579 0.0972793725016652"
origin_rpy="-3.14159265358976 0 0"
axis_xyz="-0.99977570211955 0 -0.0211788916461861"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 右肩关节 -->
<xacro:generic_joint
joint_name="right_shoulder_joint"
type="revolute"
parent="pitch_body_link"
child="right_shoulder_link"
origin_xyz="0.00396365185327941 0.220964452984708 -0.00950000000000008"
origin_rpy="-1.5707963267949 0 0"
axis_xyz="-0.0179350762557234 0 -0.999839153584066"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 右臂1关节 -->
<xacro:generic_joint
joint_name="right_arm1_joint"
type="revolute"
parent="right_shoulder_link"
child="right_arm1_link"
origin_xyz="0.040338077059205 -0.000769030026202884 0.046784058560075"
origin_rpy="-0.826482123984997 0 0"
axis_xyz="0.999649642897155 0 -0.0264686882106157"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 右臂2关节 -->
<xacro:generic_joint
joint_name="right_arm2_joint"
type="revolute"
parent="right_arm1_link"
child="right_arm2_link"
origin_xyz="0.00854070115695219 0.120366284301785 0.133656328091823"
origin_rpy="-3.14159265358977 0 0"
axis_xyz="-0.999649642897155 0 -0.0264686882106164"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 左腿2关节 -->
<xacro:generic_joint
joint_name="left_leg2_joint"
type="revolute"
parent="base_link"
child="left_leg2_link"
origin_xyz="-0.092811 -0.14333 0.032022"
origin_rpy="1.5708 0.523 0"
axis_xyz="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 左轮2关节 -->
<xacro:generic_joint
joint_name="left_wheel2_joint"
type="revolute"
parent="left_leg2_link"
child="left_wheel2_link"
origin_xyz="-0.010549 -0.41781 -0.01244"
origin_rpy="3.0805 0 0"
axis_xyz="0 0 -1"
limit_lower="-1000"
limit_upper="1000"
effort="6000"
velocity="50"
/>
<!-- 右腿2关节 -->
<xacro:generic_joint
joint_name="right_leg2_joint"
type="revolute"
parent="base_link"
child="right_leg2_link"
origin_xyz="-0.092614 0.14333 0.032015"
origin_rpy="1.6319 0.523 0"
axis_xyz="0 0 -1"
limit_lower="-1.57"
limit_upper="1.57"
effort="6000"
velocity="50"
/>
<!-- 右轮2关节 -->
<xacro:generic_joint
joint_name="right_wheel2_joint"
type="revolute"
parent="right_leg2_link"
child="right_wheel2_link"
origin_xyz="-0.021629 -0.41584 0.037923"
origin_rpy="0 0 0"
axis_xyz="0 0 -1"
limit_lower="-1000"
limit_upper="1000"
effort="6000"
velocity="50"
/>
<!-- <link name="world">
<inertial>
<mass value="0.0"/>
<inertia ixx="0.0" ixy="0.0" ixz="0.0"
iyy="0.0" iyz="0.0"
izz="0.0"/>
</inertial>
</link>
<joint name="base_link_to_world_joint" type="fixed">
<origin xyz="0 0 0" rpy="0 0 0" />
<parent link="world" />
<child link="base_link" />
</joint> -->
<xacro:include filename="$(find hive_core_r0)/urdf/hiveBot1/bot1_ros2_control.xacro" />
<xacro:bot1_ros2_control />
</robot>

View File

@@ -0,0 +1,324 @@
<sdf version='1.7'>
<world name='default'>
<light name='sun' type='directional'>
<cast_shadows>1</cast_shadows>
<pose>0 0 10 0 -0 0</pose>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.2 0.2 0.2 1</specular>
<attenuation>
<range>1000</range>
<constant>0.9</constant>
<linear>0.01</linear>
<quadratic>0.001</quadratic>
</attenuation>
<direction>-0.5 0.1 -0.9</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>0</outer_angle>
<falloff>0</falloff>
</spot>
</light>
<model name='ground_plane'>
<static>1</static>
<link name='link'>
<collision name='collision'>
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<surface>
<friction>
<ode>
<mu>100</mu>
<mu2>50</mu2>
</ode>
<torsional>
<ode/>
</torsional>
</friction>
<contact>
<ode/>
</contact>
<bounce/>
</surface>
<max_contacts>10</max_contacts>
</collision>
<visual name='visual'>
<cast_shadows>0</cast_shadows>
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
</model>
<gravity>0 0 -9.8</gravity>
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
<atmosphere type='adiabatic'/>
<physics type='ode'>
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>
</physics>
<scene>
<ambient>0.4 0.4 0.4 1</ambient>
<background>0.7 0.7 0.7 1</background>
<shadows>1</shadows>
</scene>
<audio>
<device>default</device>
</audio>
<wind/>
<spherical_coordinates>
<surface_model>EARTH_WGS84</surface_model>
<latitude_deg>0</latitude_deg>
<longitude_deg>0</longitude_deg>
<elevation>0</elevation>
<heading_deg>0</heading_deg>
</spherical_coordinates>
<model name='table'>
<static>1</static>
<link name='link'>
<collision name='surface'>
<pose>0 0 1 0 -0 0</pose>
<geometry>
<box>
<size>1.5 0.8 0.03</size>
</box>
</geometry>
<surface>
<friction>
<ode>
<mu>0.6</mu>
<mu2>0.6</mu2>
</ode>
<torsional>
<ode/>
</torsional>
</friction>
<contact>
<ode/>
</contact>
<bounce/>
</surface>
<max_contacts>10</max_contacts>
</collision>
<visual name='visual1'>
<pose>0 0 1 0 -0 0</pose>
<geometry>
<box>
<size>1.5 0.8 0.03</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Wood</name>
</script>
</material>
</visual>
<collision name='front_left_leg_collision'>
<pose>0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='front_left_leg_visual'>
<pose>0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='front_right_leg_collision'>
<pose>0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='front_right_leg_visual'>
<pose>0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='back_right_leg_collision'>
<pose>-0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='back_right_leg_visual'>
<pose>-0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='back_left_leg_collision'>
<pose>-0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='back_left_leg_visual'>
<pose>-0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
<pose>-0.772768 -1.3242 0 0 -0 0</pose>
</model>
<state world_name='default'>
<sim_time>83 658000000</sim_time>
<real_time>83 738917407</real_time>
<wall_time>1753783232 542949961</wall_time>
<iterations>83658</iterations>
<model name='ground_plane'>
<pose>0 0 0 0 -0 0</pose>
<scale>1 1 1</scale>
<link name='link'>
<pose>0 0 0 0 -0 0</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>0 0 0 0 -0 0</acceleration>
<wrench>0 0 0 0 -0 0</wrench>
</link>
</model>
<model name='table'>
<pose>-0.772768 -1.3242 0 0 -0 0</pose>
<scale>1 1 1</scale>
<link name='link'>
<pose>-0.772768 -1.3242 0 0 -0 0</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>0 0 0 0 -0 0</acceleration>
<wrench>0 0 0 0 -0 0</wrench>
</link>
</model>
<light name='sun'>
<pose>0 0 10 0 -0 0</pose>
</light>
</state>
<gui fullscreen='0'>
<camera name='user_camera'>
<pose>4.75138 -5.25474 1.98471 0 0.275643 2.35619</pose>
<view_controller>orbit</view_controller>
<projection_type>perspective</projection_type>
</camera>
</gui>
</world>
</sdf>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,116 @@
<sdf version='1.7'>
<world name='default'>
<light name='sun' type='directional'>
<cast_shadows>1</cast_shadows>
<pose>0 0 10 0 -0 0</pose>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.2 0.2 0.2 1</specular>
<attenuation>
<range>1000</range>
<constant>0.9</constant>
<linear>0.01</linear>
<quadratic>0.001</quadratic>
</attenuation>
<direction>-0.5 0.1 -0.9</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>0</outer_angle>
<falloff>0</falloff>
</spot>
</light>
<model name='ground_plane'>
<static>1</static>
<link name='link'>
<collision name="collision">
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<surface>
<contact>
<ode>
<kp>1e6</kp> <!-- 地面刚度可稍大于轮子 -->
<kd>5e4</kd>
<mu1>1000.0</mu1>
<mu2>1000.0</mu2>
</ode>
</contact>
<bounce>
<restitution_coefficient>0.0</restitution_coefficient>
</bounce>
</surface>
</collision>
<visual name='visual'>
<cast_shadows>0</cast_shadows>
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
</model>
<gravity>0 0 -9.8</gravity>
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
<atmosphere type='adiabatic'/>
<physics type='ode'>
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>
</physics>
<scene>
<ambient>0.4 0.4 0.4 1</ambient>
<background>0.7 0.7 0.7 1</background>
<shadows>1</shadows>
</scene>
<audio>
<device>default</device>
</audio>
<wind/>
<spherical_coordinates>
<surface_model>EARTH_WGS84</surface_model>
<latitude_deg>0</latitude_deg>
<longitude_deg>0</longitude_deg>
<elevation>0</elevation>
<heading_deg>0</heading_deg>
</spherical_coordinates>
<state world_name='default'>
<sim_time>94 268000000</sim_time>
<real_time>94 323810591</real_time>
<wall_time>1753965160 659575744</wall_time>
<iterations>94268</iterations>
<model name='ground_plane'>
<pose>0 0 0 0 -0 0</pose>
<scale>1 1 1</scale>
<link name='link'>
<pose>0 0 0 0 -0 0</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>0 0 0 0 -0 0</acceleration>
<wrench>0 0 0 0 -0 0</wrench>
</link>
</model>
<light name='sun'>
<pose>0 0 10 0 -0 0</pose>
</light>
</state>
<gui fullscreen='0'>
<camera name='user_camera'>
<pose>5 -5 2 0 0.275643 2.35619</pose>
<view_controller>orbit</view_controller>
<projection_type>perspective</projection_type>
</camera>
</gui>
</world>
</sdf>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<model>
<name>room</name>
<version>1.0</version>
<sdf version="1.7">model.sdf</sdf>
<author>
<name></name>
<email></email>
</author>
<description></description>
</model>

View File

@@ -0,0 +1,297 @@
<?xml version='1.0'?>
<sdf version='1.7'>
<model name='room'>
<pose>-0.972666 -0.903877 0 0 -0 0</pose>
<link name='Wall_66'>
<collision name='Wall_66_Collision'>
<geometry>
<box>
<size>19 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_66_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>19 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>0.013921 5.50955 0 0 -0 0</pose>
</link>
<link name='Wall_67'>
<collision name='Wall_67_Collision'>
<geometry>
<box>
<size>11.25 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_67_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>11.25 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>9.43892 -0.040455 0 0 -0 -1.5708</pose>
</link>
<link name='Wall_68'>
<collision name='Wall_68_Collision'>
<geometry>
<box>
<size>19 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_68_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>19 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>0.013921 -5.59046 0 0 -0 3.14159</pose>
</link>
<link name='Wall_69'>
<collision name='Wall_69_Collision'>
<geometry>
<box>
<size>11.25 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_69_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>11.25 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>-9.41108 -0.040455 0 0 -0 1.5708</pose>
</link>
<link name='Wall_71'>
<collision name='Wall_71_Collision'>
<geometry>
<box>
<size>4.75 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_71_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>4.75 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>-1.11769 3.29046 0 0 -0 -1.5708</pose>
</link>
<link name='Wall_72'>
<collision name='Wall_72_Collision'>
<geometry>
<box>
<size>6.75 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_72_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>6.75 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>-4.41769 0.990456 0 0 -0 3.14159</pose>
</link>
<link name='Wall_79'>
<collision name='Wall_79_Collision'>
<geometry>
<box>
<size>3.47722 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_79_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>3.47722 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>0.391784 -3.86799 0 0 -0 1.5708</pose>
</link>
<link name='Wall_80'>
<collision name='Wall_80_Collision'>
<geometry>
<box>
<size>7.5 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_80_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>7.5 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>4.06678 -2.24484 0 0 -0 0</pose>
</link>
<link name='Wall_85'>
<collision name='Wall_85_Collision'>
<geometry>
<box>
<size>6.25 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_85_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>6.25 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>-6.38892 -1.80969 0 0 -0 0</pose>
</link>
<link name='Wall_86'>
<collision name='Wall_86_Collision'>
<geometry>
<box>
<size>2.75 0.15 2.5</size>
</box>
</geometry>
<pose>0 0 1.25 0 -0 0</pose>
</collision>
<visual name='Wall_86_Visual'>
<pose>0 0 1.25 0 -0 0</pose>
<geometry>
<box>
<size>2.75 0.15 2.5</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<ambient>1 1 1 1</ambient>
</material>
<meta>
<layer>0</layer>
</meta>
</visual>
<pose>-3.33892 -3.10969 0 0 -0 -1.5708</pose>
</link>
<static>1</static>
</model>
</sdf>

View File

@@ -0,0 +1,321 @@
<sdf version='1.7'>
<world name='default'>
<light name='sun' type='directional'>
<cast_shadows>1</cast_shadows>
<pose>0 0 10 0 -0 0</pose>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.2 0.2 0.2 1</specular>
<attenuation>
<range>1000</range>
<constant>0.9</constant>
<linear>0.01</linear>
<quadratic>0.001</quadratic>
</attenuation>
<direction>-0.5 0.1 -0.9</direction>
<spot>
<inner_angle>0</inner_angle>
<outer_angle>0</outer_angle>
<falloff>0</falloff>
</spot>
</light>
<model name='ground_plane'>
<static>1</static>
<link name='link_0'>
<collision name="collision">
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<surface>
<contact>
<ode>
<kp>1e6</kp> <!-- 地面刚度可稍大于轮子 -->
<kd>5e4</kd>
<mu1>10.0</mu1>
<mu2>10.0</mu2>
</ode>
</contact>
<bounce>
<restitution_coefficient>0.0</restitution_coefficient>
</bounce>
</surface>
</collision>
<visual name='visual'>
<cast_shadows>0</cast_shadows>
<geometry>
<plane>
<normal>0 0 1</normal>
<size>100 100</size>
</plane>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
</model>
<gravity>0 0 -9.8</gravity>
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
<atmosphere type='adiabatic'/>
<physics type='ode'>
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>
</physics>
<scene>
<ambient>0.4 0.4 0.4 1</ambient>
<background>0.7 0.7 0.7 1</background>
<shadows>1</shadows>
</scene>
<audio>
<device>default</device>
</audio>
<wind/>
<spherical_coordinates>
<surface_model>EARTH_WGS84</surface_model>
<latitude_deg>0</latitude_deg>
<longitude_deg>0</longitude_deg>
<elevation>0</elevation>
<heading_deg>0</heading_deg>
</spherical_coordinates>
<model name='table'>
<static>1</static>
<link name='link_1'>
<collision name='surface'>
<pose>0 0 1 0 -0 0</pose>
<geometry>
<box>
<size>1.5 0.8 0.03</size>
</box>
</geometry>
<surface>
<friction>
<ode>
<mu>0.6</mu>
<mu2>0.6</mu2>
</ode>
<torsional>
<ode/>
</torsional>
</friction>
<contact>
<ode/>
</contact>
<bounce/>
</surface>
<max_contacts>10</max_contacts>
</collision>
<visual name='visual1'>
<pose>0 0 1 0 -0 0</pose>
<geometry>
<box>
<size>1.5 0.8 0.03</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Wood</name>
</script>
</material>
</visual>
<collision name='front_left_leg_collision'>
<pose>0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='front_left_leg_visual'>
<pose>0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='front_right_leg_collision'>
<pose>0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='front_right_leg_visual'>
<pose>0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='back_right_leg_collision'>
<pose>-0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='back_right_leg_visual'>
<pose>-0.68 -0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<collision name='back_left_leg_collision'>
<pose>-0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='back_left_leg_visual'>
<pose>-0.68 0.38 0.5 0 -0 0</pose>
<geometry>
<cylinder>
<radius>0.02</radius>
<length>1</length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
<pose>0.726316 -1.21623 0 0 -0 0</pose>
</model>
<state world_name='default'>
<sim_time>56 645000000</sim_time>
<real_time>56 704774179</real_time>
<wall_time>1753436842 65734558</wall_time>
<iterations>56645</iterations>
<model name='ground_plane'>
<pose>0 0 0 0 -0 0</pose>
<scale>1 1 1</scale>
<link name='link_0'>
<pose>0 0 0 0 -0 0</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>0 0 0 0 -0 0</acceleration>
<wrench>0 0 0 0 -0 0</wrench>
</link>
</model>
<model name='table'>
<pose>0.726316 -1.21623 0 0 -0 0</pose>
<scale>1 1 1</scale>
<link name='link_1'>
<pose>0.726316 -1.21623 0 0 -0 0</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>0 0 0 0 -0 0</acceleration>
<wrench>0 0 0 0 -0 0</wrench>
</link>
</model>
<light name='sun'>
<pose>0 0 10 0 -0 0</pose>
</light>
</state>
<gui fullscreen='0'>
<camera name='user_camera'>
<pose>4.85069 0.30326 2.30729 0 0.443643 -2.92699</pose>
<view_controller>orbit</view_controller>
<projection_type>perspective</projection_type>
</camera>
</gui>
</world>
</sdf>

View File

@@ -0,0 +1 @@
colcon

View File

View File

@@ -0,0 +1,70 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"hasInstallRule" : true,
"jsonFile" : "directory-.-33ecad7c80cdfc3dc696.json",
"minimumCMakeVersion" :
{
"string" : "3.12"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0,
1
]
}
],
"name" : "",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "hive_core_r2",
"targetIndexes" :
[
0,
1
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "hive_core_r2_uninstall::@6890427a1f51a3e7e1df",
"jsonFile" : "target-hive_core_r2_uninstall-099a1726eac00144d130.json",
"name" : "hive_core_r2_uninstall",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "uninstall::@6890427a1f51a3e7e1df",
"jsonFile" : "target-uninstall-19a8b676b963d73d1133.json",
"name" : "uninstall",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2",
"source" : "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2"
},
"version" :
{
"major" : 2,
"minor" : 8
}
}

View File

@@ -0,0 +1,385 @@
{
"backtraceGraph" :
{
"commands" :
[
"install",
"ament_index_register_resource",
"ament_cmake_environment_generate_package_run_dependencies_marker",
"include",
"ament_execute_extensions",
"ament_package",
"ament_cmake_environment_generate_parent_prefix_path_marker",
"ament_environment_hooks",
"ament_generate_package_environment",
"ament_index_register_package",
"_ament_package"
],
"files" :
[
"CMakeLists.txt",
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_register_resource.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/environment/ament_cmake_environment_package_hook.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_environment_hooks.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_cmake_environment_hooks_package_hook.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_generate_package_environment.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_register_package.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_cmake_index_package_hook.cmake"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 27,
"parent" : 0
},
{
"command" : 5,
"file" : 0,
"line" : 32,
"parent" : 0
},
{
"command" : 4,
"file" : 4,
"line" : 66,
"parent" : 2
},
{
"command" : 3,
"file" : 3,
"line" : 48,
"parent" : 3
},
{
"file" : 2,
"parent" : 4
},
{
"command" : 2,
"file" : 2,
"line" : 47,
"parent" : 5
},
{
"command" : 1,
"file" : 2,
"line" : 29,
"parent" : 6
},
{
"command" : 0,
"file" : 1,
"line" : 105,
"parent" : 7
},
{
"command" : 6,
"file" : 2,
"line" : 48,
"parent" : 5
},
{
"command" : 1,
"file" : 2,
"line" : 43,
"parent" : 9
},
{
"command" : 0,
"file" : 1,
"line" : 105,
"parent" : 10
},
{
"command" : 3,
"file" : 3,
"line" : 48,
"parent" : 3
},
{
"file" : 6,
"parent" : 12
},
{
"command" : 7,
"file" : 6,
"line" : 20,
"parent" : 13
},
{
"command" : 0,
"file" : 5,
"line" : 70,
"parent" : 14
},
{
"command" : 0,
"file" : 5,
"line" : 87,
"parent" : 14
},
{
"command" : 0,
"file" : 5,
"line" : 70,
"parent" : 14
},
{
"command" : 0,
"file" : 5,
"line" : 87,
"parent" : 14
},
{
"command" : 8,
"file" : 6,
"line" : 26,
"parent" : 13
},
{
"command" : 0,
"file" : 7,
"line" : 91,
"parent" : 19
},
{
"command" : 0,
"file" : 7,
"line" : 91,
"parent" : 19
},
{
"command" : 0,
"file" : 7,
"line" : 91,
"parent" : 19
},
{
"command" : 0,
"file" : 7,
"line" : 107,
"parent" : 19
},
{
"command" : 0,
"file" : 7,
"line" : 119,
"parent" : 19
},
{
"command" : 3,
"file" : 3,
"line" : 48,
"parent" : 3
},
{
"file" : 9,
"parent" : 25
},
{
"command" : 9,
"file" : 9,
"line" : 16,
"parent" : 26
},
{
"command" : 1,
"file" : 8,
"line" : 29,
"parent" : 27
},
{
"command" : 0,
"file" : 1,
"line" : 105,
"parent" : 28
},
{
"command" : 10,
"file" : 4,
"line" : 68,
"parent" : 2
},
{
"command" : 0,
"file" : 4,
"line" : 150,
"parent" : 30
},
{
"command" : 0,
"file" : 4,
"line" : 157,
"parent" : 30
}
]
},
"installers" :
[
{
"backtrace" : 1,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"launch",
"urdf",
"config"
],
"type" : "directory"
},
{
"backtrace" : 8,
"component" : "Unspecified",
"destination" : "share/ament_index/resource_index/package_run_dependencies",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_index/share/ament_index/resource_index/package_run_dependencies/hive_core_r2"
],
"type" : "file"
},
{
"backtrace" : 11,
"component" : "Unspecified",
"destination" : "share/ament_index/resource_index/parent_prefix_path",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_index/share/ament_index/resource_index/parent_prefix_path/hive_core_r2"
],
"type" : "file"
},
{
"backtrace" : 15,
"component" : "Unspecified",
"destination" : "share/hive_core_r2/environment",
"paths" :
[
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/environment/ament_prefix_path.sh"
],
"type" : "file"
},
{
"backtrace" : 16,
"component" : "Unspecified",
"destination" : "share/hive_core_r2/environment",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/ament_prefix_path.dsv"
],
"type" : "file"
},
{
"backtrace" : 17,
"component" : "Unspecified",
"destination" : "share/hive_core_r2/environment",
"paths" :
[
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/environment/path.sh"
],
"type" : "file"
},
{
"backtrace" : 18,
"component" : "Unspecified",
"destination" : "share/hive_core_r2/environment",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/path.dsv"
],
"type" : "file"
},
{
"backtrace" : 20,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/local_setup.bash"
],
"type" : "file"
},
{
"backtrace" : 21,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/local_setup.sh"
],
"type" : "file"
},
{
"backtrace" : 22,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/local_setup.zsh"
],
"type" : "file"
},
{
"backtrace" : 23,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/local_setup.dsv"
],
"type" : "file"
},
{
"backtrace" : 24,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_environment_hooks/package.dsv"
],
"type" : "file"
},
{
"backtrace" : 29,
"component" : "Unspecified",
"destination" : "share/ament_index/resource_index/packages",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_index/share/ament_index/resource_index/packages/hive_core_r2"
],
"type" : "file"
},
{
"backtrace" : 31,
"component" : "Unspecified",
"destination" : "share/hive_core_r2/cmake",
"paths" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_core/hive_core_r2Config.cmake",
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_core/hive_core_r2Config-version.cmake"
],
"type" : "file"
},
{
"backtrace" : 32,
"component" : "Unspecified",
"destination" : "share/hive_core_r2",
"paths" :
[
"package.xml"
],
"type" : "file"
}
],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@@ -0,0 +1,54 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Unix Makefiles"
},
"paths" :
{
"cmake" : "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake",
"cpack" : "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cpack",
"ctest" : "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/ctest",
"root" : "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0"
},
"version" :
{
"isDirty" : false,
"major" : 4,
"minor" : 0,
"patch" : 3,
"string" : "4.0.3",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-d8ef4385edeb776893cb.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
}
],
"reply" :
{
"client-colcon-cmake" :
{
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-d8ef4385edeb776893cb.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
}
}
}
}

View File

@@ -0,0 +1,112 @@
{
"backtrace" : 9,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"include",
"find_package"
],
"files" :
[
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_uninstall_target-extras.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake",
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake",
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmakeConfig.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 4
},
{
"command" : 2,
"file" : 4,
"line" : 9,
"parent" : 0
},
{
"file" : 3,
"parent" : 1
},
{
"command" : 1,
"file" : 3,
"line" : 41,
"parent" : 2
},
{
"file" : 2,
"parent" : 3
},
{
"command" : 2,
"file" : 2,
"line" : 15,
"parent" : 4
},
{
"file" : 1,
"parent" : 5
},
{
"command" : 1,
"file" : 1,
"line" : 41,
"parent" : 6
},
{
"file" : 0,
"parent" : 7
},
{
"command" : 0,
"file" : 0,
"line" : 40,
"parent" : 8
}
]
},
"id" : "hive_core_r2_uninstall::@6890427a1f51a3e7e1df",
"name" : "hive_core_r2_uninstall",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 9,
"isGenerated" : true,
"path" : "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/hive_core_r2_uninstall",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/hive_core_r2_uninstall.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,95 @@
{
"backtrace" : 9,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"include",
"find_package",
"add_dependencies"
],
"files" :
[
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_uninstall_target-extras.cmake",
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake",
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake",
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmakeConfig.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 4
},
{
"command" : 2,
"file" : 4,
"line" : 9,
"parent" : 0
},
{
"file" : 3,
"parent" : 1
},
{
"command" : 1,
"file" : 3,
"line" : 41,
"parent" : 2
},
{
"file" : 2,
"parent" : 3
},
{
"command" : 2,
"file" : 2,
"line" : 15,
"parent" : 4
},
{
"file" : 1,
"parent" : 5
},
{
"command" : 1,
"file" : 1,
"line" : 41,
"parent" : 6
},
{
"file" : 0,
"parent" : 7
},
{
"command" : 0,
"file" : 0,
"line" : 35,
"parent" : 8
},
{
"command" : 3,
"file" : 0,
"line" : 42,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 10,
"id" : "hive_core_r2_uninstall::@6890427a1f51a3e7e1df"
}
],
"id" : "uninstall::@6890427a1f51a3e7e1df",
"name" : "uninstall",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,507 @@
# This is the CMakeCache file.
# For build in directory: /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
# It was generated by CMake: /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Generate environment files in the CMAKE_INSTALL_PREFIX
AMENT_CMAKE_ENVIRONMENT_GENERATION:BOOL=OFF
//Generate environment files in the package share folder
AMENT_CMAKE_ENVIRONMENT_PACKAGE_GENERATION:BOOL=ON
//Generate marker file containing the parent prefix path
AMENT_CMAKE_ENVIRONMENT_PARENT_PREFIX_PATH_GENERATION:BOOL=ON
//Replace the CMake install command with a custom implementation
// using symlinks instead of copying resources
AMENT_CMAKE_SYMLINK_INSTALL:BOOL=OFF
//Generate an uninstall target to revert the effects of the install
// step
AMENT_CMAKE_UNINSTALL_TARGET:BOOL=ON
//The path where test results are generated
AMENT_TEST_RESULTS_DIR:PATH=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/test_results
//Build the testing tree.
BUILD_TESTING:BOOL=ON
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/pkgRedirects
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/install/hive_core_r2
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=hive_core_r2
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//Path to a program.
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Path to a program.
Python3_EXECUTABLE:FILEPATH=/usr/bin/python3
//Name of the computer/site where compile is being run
SITE:STRING=hivecore-Precision-3680
//The directory containing a CMake configuration file for ament_cmake.
ament_cmake_DIR:PATH=/opt/ros/humble/share/ament_cmake/cmake
//The directory containing a CMake configuration file for ament_cmake_core.
ament_cmake_core_DIR:PATH=/opt/ros/humble/share/ament_cmake_core/cmake
//The directory containing a CMake configuration file for ament_cmake_cppcheck.
ament_cmake_cppcheck_DIR:PATH=/opt/ros/humble/share/ament_cmake_cppcheck/cmake
//The directory containing a CMake configuration file for ament_cmake_export_definitions.
ament_cmake_export_definitions_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_definitions/cmake
//The directory containing a CMake configuration file for ament_cmake_export_dependencies.
ament_cmake_export_dependencies_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_dependencies/cmake
//The directory containing a CMake configuration file for ament_cmake_export_include_directories.
ament_cmake_export_include_directories_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_include_directories/cmake
//The directory containing a CMake configuration file for ament_cmake_export_interfaces.
ament_cmake_export_interfaces_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_interfaces/cmake
//The directory containing a CMake configuration file for ament_cmake_export_libraries.
ament_cmake_export_libraries_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_libraries/cmake
//The directory containing a CMake configuration file for ament_cmake_export_link_flags.
ament_cmake_export_link_flags_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_link_flags/cmake
//The directory containing a CMake configuration file for ament_cmake_export_targets.
ament_cmake_export_targets_DIR:PATH=/opt/ros/humble/share/ament_cmake_export_targets/cmake
//The directory containing a CMake configuration file for ament_cmake_flake8.
ament_cmake_flake8_DIR:PATH=/opt/ros/humble/share/ament_cmake_flake8/cmake
//The directory containing a CMake configuration file for ament_cmake_gen_version_h.
ament_cmake_gen_version_h_DIR:PATH=/opt/ros/humble/share/ament_cmake_gen_version_h/cmake
//The directory containing a CMake configuration file for ament_cmake_include_directories.
ament_cmake_include_directories_DIR:PATH=/opt/ros/humble/share/ament_cmake_include_directories/cmake
//The directory containing a CMake configuration file for ament_cmake_libraries.
ament_cmake_libraries_DIR:PATH=/opt/ros/humble/share/ament_cmake_libraries/cmake
//The directory containing a CMake configuration file for ament_cmake_lint_cmake.
ament_cmake_lint_cmake_DIR:PATH=/opt/ros/humble/share/ament_cmake_lint_cmake/cmake
//The directory containing a CMake configuration file for ament_cmake_pep257.
ament_cmake_pep257_DIR:PATH=/opt/ros/humble/share/ament_cmake_pep257/cmake
//The directory containing a CMake configuration file for ament_cmake_python.
ament_cmake_python_DIR:PATH=/opt/ros/humble/share/ament_cmake_python/cmake
//The directory containing a CMake configuration file for ament_cmake_target_dependencies.
ament_cmake_target_dependencies_DIR:PATH=/opt/ros/humble/share/ament_cmake_target_dependencies/cmake
//The directory containing a CMake configuration file for ament_cmake_test.
ament_cmake_test_DIR:PATH=/opt/ros/humble/share/ament_cmake_test/cmake
//The directory containing a CMake configuration file for ament_cmake_uncrustify.
ament_cmake_uncrustify_DIR:PATH=/opt/ros/humble/share/ament_cmake_uncrustify/cmake
//The directory containing a CMake configuration file for ament_cmake_version.
ament_cmake_version_DIR:PATH=/opt/ros/humble/share/ament_cmake_version/cmake
//The directory containing a CMake configuration file for ament_cmake_xmllint.
ament_cmake_xmllint_DIR:PATH=/opt/ros/humble/share/ament_cmake_xmllint/cmake
//Path to a program.
ament_flake8_BIN:FILEPATH=/opt/ros/humble/bin/ament_flake8
//The directory containing a CMake configuration file for ament_lint_auto.
ament_lint_auto_DIR:PATH=/opt/ros/humble/share/ament_lint_auto/cmake
//Path to a program.
ament_lint_cmake_BIN:FILEPATH=/opt/ros/humble/bin/ament_lint_cmake
//The directory containing a CMake configuration file for ament_lint_common.
ament_lint_common_DIR:PATH=/opt/ros/humble/share/ament_lint_common/cmake
//Path to a program.
ament_pep257_BIN:FILEPATH=/opt/ros/humble/bin/ament_pep257
//Path to a program.
ament_xmllint_BIN:FILEPATH=/opt/ros/humble/bin/ament_xmllint
//Value Computed by CMake
hive_core_r2_BINARY_DIR:STATIC=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
//Value Computed by CMake
hive_core_r2_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
hive_core_r2_SOURCE_DIR:STATIC=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2
//Path to a program.
xmllint_BIN:FILEPATH=/usr/bin/xmllint
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//Name of CMakeLists files to read
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Python3
FIND_PACKAGE_MESSAGE_DETAILS_Python3:INTERNAL=[/usr/bin/python3][found components: Interpreter ][v3.10.12()]
//Compiler reason failure
_Python3_Compiler_REASON_FAILURE:INTERNAL=
//Development reason failure
_Python3_Development_REASON_FAILURE:INTERNAL=
_Python3_EXECUTABLE:INTERNAL=/usr/bin/python3
//Python3 Properties
_Python3_INTERPRETER_PROPERTIES:INTERNAL=Python;3;10;12;64;32;<none>;cpython-310-x86_64-linux-gnu;abi3;/usr/lib/python3.10;/usr/lib/python3.10;/usr/local/lib/python3.10/dist-packages;/usr/local/lib/python3.10/dist-packages
_Python3_INTERPRETER_SIGNATURE:INTERNAL=0f3e53742e142b1d9e50e4ca5b901dd8
//NumPy reason failure
_Python3_NumPy_REASON_FAILURE:INTERNAL=

View File

@@ -0,0 +1,84 @@
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "11.4.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_STANDARD_LATEST "23")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_C_COMPILER_APPLE_SYSROOT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-11")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-11")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_LINKER_LINK "")
set(CMAKE_LINKER_LLD "")
set(CMAKE_C_COMPILER_LINKER "/usr/bin/ld")
set(CMAKE_C_COMPILER_LINKER_ID "GNU")
set(CMAKE_C_COMPILER_LINKER_VERSION 2.38)
set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT GNU)
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED TRUE)
set(CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
set(CMAKE_C_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,104 @@
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "11.4.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_STANDARD_LATEST "23")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
set(CMAKE_CXX26_COMPILE_FEATURES "")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_CXX_COMPILER_APPLE_SYSROOT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-11")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-11")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_LINKER_LINK "")
set(CMAKE_LINKER_LLD "")
set(CMAKE_CXX_COMPILER_LINKER "/usr/bin/ld")
set(CMAKE_CXX_COMPILER_LINKER_ID "GNU")
set(CMAKE_CXX_COMPILER_LINKER_VERSION 2.38)
set(CMAKE_CXX_COMPILER_LINKER_FRONTEND_VARIANT GNU)
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang IN ITEMS C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
set(CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
set(CMAKE_CXX_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER_CLANG_RESOURCE_DIR "")
set(CMAKE_CXX_COMPILER_IMPORT_STD "")
### Imported target for C++23 standard library
set(CMAKE_CXX23_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE "Unsupported generator: Unix Makefiles")

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.8.0-64-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-64-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.8.0-64-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.8.0-64-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,905 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && defined(__ti__)
# define COMPILER_ID "TIClang"
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__clang__) && defined(__ti__)
# if defined(__ARM_ARCH)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__) || defined(__CPARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#define C_STD_99 199901L
#define C_STD_11 201112L
#define C_STD_17 201710L
#define C_STD_23 202311L
#ifdef __STDC_VERSION__
# define C_STD __STDC_VERSION__
#endif
#if !defined(__STDC__) && !defined(__clang__)
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
# define C_VERSION "90"
# else
# define C_VERSION
# endif
#elif C_STD > C_STD_17
# define C_VERSION "23"
#elif C_STD > C_STD_11
# define C_VERSION "17"
#elif C_STD > C_STD_99
# define C_VERSION "11"
#elif C_STD >= C_STD_99
# define C_VERSION "99"
#else
# define C_VERSION "90"
#endif
const char* info_language_standard_default =
"INFO" ":" "standard_default[" C_VERSION "]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}
#endif

View File

@@ -0,0 +1,920 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && defined(__ti__)
# define COMPILER_ID "TIClang"
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__clang__) && defined(__ti__)
# if defined(__ARM_ARCH)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__) || defined(__CPARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#define CXX_STD_98 199711L
#define CXX_STD_11 201103L
#define CXX_STD_14 201402L
#define CXX_STD_17 201703L
#define CXX_STD_20 202002L
#define CXX_STD_23 202302L
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG)
# if _MSVC_LANG > CXX_STD_17
# define CXX_STD _MSVC_LANG
# elif _MSVC_LANG == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14 && __cplusplus > CXX_STD_17
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14
# define CXX_STD CXX_STD_17
# elif defined(__INTEL_CXX11_MODE__) && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# elif defined(__INTEL_CXX11_MODE__)
# define CXX_STD CXX_STD_11
# else
# define CXX_STD CXX_STD_98
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# if _MSVC_LANG > __cplusplus
# define CXX_STD _MSVC_LANG
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__NVCOMPILER)
# if __cplusplus == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__INTEL_COMPILER) || defined(__PGI)
# if __cplusplus == CXX_STD_11 && defined(__cpp_namespace_attributes)
# define CXX_STD CXX_STD_17
# elif __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif (defined(__IBMCPP__) || defined(__ibmxl__)) && defined(__linux__)
# if __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif __cplusplus == 1 && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define CXX_STD CXX_STD_11
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > CXX_STD_23
"26"
#elif CXX_STD > CXX_STD_20
"23"
#elif CXX_STD > CXX_STD_17
"20"
#elif CXX_STD > CXX_STD_14
"17"
#elif CXX_STD > CXX_STD_11
"14"
#elif CXX_STD >= CXX_STD_11
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}

View File

@@ -0,0 +1,578 @@
---
events:
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineSystem.cmake:205 (message)"
- "CMakeLists.txt:2 (project)"
message: |
The system is: Linux - 6.8.0-64-generic - x86_64
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:2 (project)"
message: |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in:
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/4.0.3/CompilerIdC/a.out
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:2 (project)"
message: |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in:
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/4.0.3/CompilerIdCXX/a.out
-
kind: "try_compile-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:83 (try_compile)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
checks:
- "Detecting C compiler ABI info"
directories:
source: "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r"
binary: "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
buildResult:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r'
Run Build Command(s): /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_60ebb/fast
/usr/bin/gmake -f CMakeFiles/cmTC_60ebb.dir/build.make CMakeFiles/cmTC_60ebb.dir/build
gmake[1]: Entering directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r'
Building C object CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -v -o CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -c /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/'
/usr/lib/gcc/x86_64-linux-gnu/11/cc1 -quiet -v -imultiarch x86_64-linux-gnu /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_60ebb.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccevrc3q.s
GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-linux-gnu/11/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 50eaa2331df977b8016186198deb2d18
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/'
as -v --64 -o CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o /tmp/ccevrc3q.s
GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.'
Linking C executable cmTC_60ebb
/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60ebb.dir/link.txt --verbose=1
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_60ebb' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_60ebb.'
/usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc1KsTIq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_60ebb /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
collect2 version 11.4.0
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc1KsTIq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_60ebb /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
GNU ld (GNU Binutils for Ubuntu) 2.38
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_60ebb' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_60ebb.'
/usr/bin/cc -v -Wl,-v CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -o cmTC_60ebb
gmake[1]: Leaving directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r'
exitCode: 0
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:191 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed C implicit include dir info: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-linux-gnu/11/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/11/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/11/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:227 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed C implicit link information:
link line regex: [^( *|.*[/\\])(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)))("|,| |$)]
ignore line: [Change Dir: '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r']
ignore line: []
ignore line: [Run Build Command(s): /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_60ebb/fast]
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_60ebb.dir/build.make CMakeFiles/cmTC_60ebb.dir/build]
ignore line: [gmake[1]: Entering directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-B9hd3r']
ignore line: [Building C object CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -c /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/cc1 -quiet -v -imultiarch x86_64-linux-gnu /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_60ebb.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccevrc3q.s]
ignore line: [GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 50eaa2331df977b8016186198deb2d18]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o /tmp/ccevrc3q.s]
ignore line: [GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.']
ignore line: [Linking C executable cmTC_60ebb]
ignore line: [/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60ebb.dir/link.txt --verbose=1]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_60ebb' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_60ebb.']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc1KsTIq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_60ebb /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc1KsTIq.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_60ebb] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..]
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
ignore line: [collect2 version 11.4.0]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc1KsTIq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_60ebb /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_60ebb.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
linker tool for 'C': /usr/bin/ld
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11] ==> [/usr/lib/gcc/x86_64-linux-gnu/11]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeDetermineLinkerId.cmake:36 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:270 (cmake_determine_linker_id)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Running the C compiler's linker: "/usr/bin/ld" "-v"
GNU ld (GNU Binutils for Ubuntu) 2.38
-
kind: "try_compile-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:83 (try_compile)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
checks:
- "Detecting CXX compiler ABI info"
directories:
source: "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw"
binary: "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_CXX_SCAN_FOR_MODULES: "OFF"
CMAKE_EXE_LINKER_FLAGS: ""
buildResult:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw'
Run Build Command(s): /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_27bad/fast
/usr/bin/gmake -f CMakeFiles/cmTC_27bad.dir/build.make CMakeFiles/cmTC_27bad.dir/build
gmake[1]: Entering directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw'
Building CXX object CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -v -o CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -c /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/'
/usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_27bad.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccqpHO7S.s
GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/11
/usr/include/x86_64-linux-gnu/c++/11
/usr/include/c++/11/backward
/usr/lib/gcc/x86_64-linux-gnu/11/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)
compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/'
as -v --64 -o CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccqpHO7S.s
GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.'
Linking CXX executable cmTC_27bad
/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27bad.dir/link.txt --verbose=1
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_27bad' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_27bad.'
/usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6IB9C6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_27bad /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
collect2 version 11.4.0
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6IB9C6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_27bad /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
GNU ld (GNU Binutils for Ubuntu) 2.38
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_27bad' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_27bad.'
/usr/bin/c++ -v -Wl,-v CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_27bad
gmake[1]: Leaving directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw'
exitCode: 0
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:191 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit include dir info: rv=done
found start of include info
found start of implicit include info
add: [/usr/include/c++/11]
add: [/usr/include/x86_64-linux-gnu/c++/11]
add: [/usr/include/c++/11/backward]
add: [/usr/lib/gcc/x86_64-linux-gnu/11/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/include/c++/11] ==> [/usr/include/c++/11]
collapse include dir [/usr/include/x86_64-linux-gnu/c++/11] ==> [/usr/include/x86_64-linux-gnu/c++/11]
collapse include dir [/usr/include/c++/11/backward] ==> [/usr/include/c++/11/backward]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/11/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/11/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:227 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)))("|,| |$)]
ignore line: [Change Dir: '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw']
ignore line: []
ignore line: [Run Build Command(s): /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_27bad/fast]
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_27bad.dir/build.make CMakeFiles/cmTC_27bad.dir/build]
ignore line: [gmake[1]: Entering directory '/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/CMakeScratch/TryCompile-kXWuzw']
ignore line: [Building CXX object CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -c /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_27bad.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccqpHO7S.s]
ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11"]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/include/c++/11]
ignore line: [ /usr/include/x86_64-linux-gnu/c++/11]
ignore line: [ /usr/include/c++/11/backward]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccqpHO7S.s]
ignore line: [GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.']
ignore line: [Linking CXX executable cmTC_27bad]
ignore line: [/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27bad.dir/link.txt --verbose=1]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_27bad' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_27bad.']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6IB9C6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_27bad /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/cc6IB9C6.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_27bad] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..]
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
ignore line: [collect2 version 11.4.0]
ignore line: [/usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cc6IB9C6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_27bad /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -v CMakeFiles/cmTC_27bad.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o]
linker tool for 'CXX': /usr/bin/ld
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11] ==> [/usr/lib/gcc/x86_64-linux-gnu/11]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
-
kind: "message-v1"
backtrace:
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeDetermineLinkerId.cmake:36 (message)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake:270 (cmake_determine_linker_id)"
- "/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Running the CXX compiler's linker: "/usr/bin/ld" "-v"
GNU ld (GNU Binutils for Ubuntu) 2.38
...

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.0
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,2 @@
# Hashes of file build rules.
29eb1ceb7cc78ac0ba05b8fe65e702bb CMakeFiles/hive_core_r2_uninstall

View File

@@ -0,0 +1,7 @@
{
"InstallScripts" :
[
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/cmake_install.cmake"
],
"Parallel" : false
}

View File

@@ -0,0 +1,318 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.0
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompiler.cmake.in"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCCompilerABI.c"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompiler.cmake.in"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXCompilerABI.cpp"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCXXInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCommonLanguageInclude.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeCompilerIdDetection.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCXXCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerABI.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerId.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineCompilerSupport.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeDetermineSystem.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeFindBinUtils.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeGenericSystem.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeInitializeConfigs.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeLanguageInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeParseImplicitLinkInfo.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeParseLibraryArchitecture.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeSystem.cmake.in"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeSystemSpecificInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeSystemSpecificInitialize.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeTestCompilerCommon.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/CMakeUnixFindMake.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/CrayClang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU-C.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU-CXX.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU-FindBinUtils.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/GNU.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/OrangeC-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/TI-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/TIClang-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Tasking-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/DartConfiguration.tcl.in"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageMessage.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython/Support.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/FindPython3.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeCLinkerInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeCXXLinkerInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeCommonLinkerInformation.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeDetermineLinkerId.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeInspectCLinker.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/CMakeInspectCXXLinker.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Internal/FeatureTesting.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Linker/GNU-C.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Linker/GNU-CXX.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Linker/GNU.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linker/GNU.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linker/Linux-GNU-C.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linker/Linux-GNU-CXX.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linker/Linux-GNU.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux-Determine-CXX.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux-GNU-C.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux-GNU-CXX.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux-GNU.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux-Initialize.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/Linux.cmake"
"/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/share/cmake-4.0/Modules/Platform/UnixPaths.cmake"
"CMakeFiles/4.0.3/CMakeCCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCXXCompiler.cmake"
"CMakeFiles/4.0.3/CMakeSystem.cmake"
"ament_cmake_core/package.cmake"
"ament_cmake_package_templates/templates.cmake"
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2/CMakeLists.txt"
"/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2/package.xml"
"/opt/ros/humble/lib/python3.10/site-packages/ament_package/template/package_level/local_setup.bash.in"
"/opt/ros/humble/lib/python3.10/site-packages/ament_package/template/package_level/local_setup.sh.in"
"/opt/ros/humble/lib/python3.10/site-packages/ament_package/template/package_level/local_setup.zsh.in"
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmakeConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmakeConfig.cmake"
"/opt/ros/humble/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_core-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_coreConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_environment-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_environment_hooks-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_index-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_package_templates-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_symlink_install-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/ament_cmake_uninstall_target-extras.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/all.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_register_extension.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/assert_file_exists.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/get_executable_path.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/list_append_unique.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/normalize_path.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/python.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/stamp.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/string_ends_with.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/templates/nameConfig-version.cmake.in"
"/opt/ros/humble/share/ament_cmake_core/cmake/core/templates/nameConfig.cmake.in"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment/ament_cmake_environment_package_hook.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment/ament_generate_environment.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_cmake_environment_hooks_package_hook.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_environment_hooks.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/ament_generate_package_environment.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/environment/ament_prefix_path.sh"
"/opt/ros/humble/share/ament_cmake_core/cmake/environment_hooks/environment/path.sh"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_cmake_index_package_hook.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_get_prefix_path.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_get_resource.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_get_resources.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_has_resource.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_register_package.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/index/ament_index_register_resource.cmake"
"/opt/ros/humble/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py"
"/opt/ros/humble/share/ament_cmake_core/cmake/uninstall_target/ament_cmake_uninstall_target.cmake.in"
"/opt/ros/humble/share/ament_cmake_core/cmake/uninstall_target/ament_cmake_uninstall_target_append_uninstall_code.cmake"
"/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck-extras.cmake"
"/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheckConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheckConfig.cmake"
"/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake"
"/opt/ros/humble/share/ament_cmake_export_definitions/cmake/ament_cmake_export_definitions-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_definitions/cmake/ament_cmake_export_definitionsConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_definitions/cmake/ament_cmake_export_definitionsConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_definitions/cmake/ament_export_definitions.cmake"
"/opt/ros/humble/share/ament_cmake_export_dependencies/cmake/ament_cmake_export_dependencies-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_dependencies/cmake/ament_cmake_export_dependenciesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_dependencies/cmake/ament_cmake_export_dependenciesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_dependencies/cmake/ament_export_dependencies.cmake"
"/opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directories-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directoriesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directoriesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_include_directories/cmake/ament_export_include_directories.cmake"
"/opt/ros/humble/share/ament_cmake_export_interfaces/cmake/ament_cmake_export_interfaces-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_interfaces/cmake/ament_cmake_export_interfacesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_interfaces/cmake/ament_cmake_export_interfacesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_interfaces/cmake/ament_export_interfaces.cmake"
"/opt/ros/humble/share/ament_cmake_export_libraries/cmake/ament_cmake_export_libraries-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_libraries/cmake/ament_cmake_export_librariesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_libraries/cmake/ament_cmake_export_librariesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_libraries/cmake/ament_export_libraries.cmake"
"/opt/ros/humble/share/ament_cmake_export_libraries/cmake/ament_export_library_names.cmake"
"/opt/ros/humble/share/ament_cmake_export_link_flags/cmake/ament_cmake_export_link_flags-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_link_flags/cmake/ament_cmake_export_link_flagsConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_link_flags/cmake/ament_cmake_export_link_flagsConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_link_flags/cmake/ament_export_link_flags.cmake"
"/opt/ros/humble/share/ament_cmake_export_targets/cmake/ament_cmake_export_targets-extras.cmake"
"/opt/ros/humble/share/ament_cmake_export_targets/cmake/ament_cmake_export_targetsConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_export_targets/cmake/ament_cmake_export_targetsConfig.cmake"
"/opt/ros/humble/share/ament_cmake_export_targets/cmake/ament_export_targets.cmake"
"/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8-extras.cmake"
"/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8Config-version.cmake"
"/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8Config.cmake"
"/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_flake8.cmake"
"/opt/ros/humble/share/ament_cmake_gen_version_h/cmake/ament_cmake_gen_version_h-extras.cmake"
"/opt/ros/humble/share/ament_cmake_gen_version_h/cmake/ament_cmake_gen_version_h.cmake"
"/opt/ros/humble/share/ament_cmake_gen_version_h/cmake/ament_cmake_gen_version_hConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_gen_version_h/cmake/ament_cmake_gen_version_hConfig.cmake"
"/opt/ros/humble/share/ament_cmake_gen_version_h/cmake/ament_generate_version_header.cmake"
"/opt/ros/humble/share/ament_cmake_include_directories/cmake/ament_cmake_include_directories-extras.cmake"
"/opt/ros/humble/share/ament_cmake_include_directories/cmake/ament_cmake_include_directoriesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_include_directories/cmake/ament_cmake_include_directoriesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_include_directories/cmake/ament_include_directories_order.cmake"
"/opt/ros/humble/share/ament_cmake_libraries/cmake/ament_cmake_libraries-extras.cmake"
"/opt/ros/humble/share/ament_cmake_libraries/cmake/ament_cmake_librariesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_libraries/cmake/ament_cmake_librariesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_libraries/cmake/ament_libraries_deduplicate.cmake"
"/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake-extras.cmake"
"/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmakeConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmakeConfig.cmake"
"/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_lint_cmake.cmake"
"/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257-extras.cmake"
"/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257Config-version.cmake"
"/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257Config.cmake"
"/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_pep257.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_cmake_python-extras.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_cmake_pythonConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_cmake_pythonConfig.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_get_python_install_dir.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_module.cmake"
"/opt/ros/humble/share/ament_cmake_python/cmake/ament_python_install_package.cmake"
"/opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_cmake_target_dependencies-extras.cmake"
"/opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_cmake_target_dependenciesConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_cmake_target_dependenciesConfig.cmake"
"/opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_get_recursive_properties.cmake"
"/opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake"
"/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake"
"/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test_label.cmake"
"/opt/ros/humble/share/ament_cmake_test/cmake/ament_cmake_test-extras.cmake"
"/opt/ros/humble/share/ament_cmake_test/cmake/ament_cmake_testConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_test/cmake/ament_cmake_testConfig.cmake"
"/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify-extras.cmake"
"/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustifyConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustifyConfig.cmake"
"/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_uncrustify.cmake"
"/opt/ros/humble/share/ament_cmake_version/cmake/ament_cmake_version-extras.cmake"
"/opt/ros/humble/share/ament_cmake_version/cmake/ament_cmake_versionConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_version/cmake/ament_cmake_versionConfig.cmake"
"/opt/ros/humble/share/ament_cmake_version/cmake/ament_export_development_version_if_higher_than_manifest.cmake"
"/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint-extras.cmake"
"/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllintConfig-version.cmake"
"/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllintConfig.cmake"
"/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint_lint_hook.cmake"
"/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_xmllint.cmake"
"/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto-extras.cmake"
"/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_autoConfig-version.cmake"
"/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_autoConfig.cmake"
"/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_find_test_dependencies.cmake"
"/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake"
"/opt/ros/humble/share/ament_lint_common/cmake/ament_cmake_export_dependencies-extras.cmake"
"/opt/ros/humble/share/ament_lint_common/cmake/ament_lint_commonConfig-version.cmake"
"/opt/ros/humble/share/ament_lint_common/cmake/ament_lint_commonConfig.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/4.0.3/CMakeSystem.cmake"
"CMakeFiles/4.0.3/CMakeCCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCXXCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCXXCompiler.cmake"
"CMakeFiles/4.0.3/CMakeCXXCompiler.cmake"
"ament_cmake_core/stamps/templates_2_cmake.py.stamp"
"ament_cmake_uninstall_target/ament_cmake_uninstall_target.cmake"
"CTestConfiguration.ini"
"ament_cmake_core/stamps/package.xml.stamp"
"ament_cmake_core/stamps/package_xml_2_cmake.py.stamp"
"ament_cmake_core/stamps/ament_prefix_path.sh.stamp"
"ament_cmake_core/stamps/path.sh.stamp"
"ament_cmake_environment_hooks/local_setup.bash"
"ament_cmake_environment_hooks/local_setup.sh"
"ament_cmake_environment_hooks/local_setup.zsh"
"ament_cmake_core/stamps/nameConfig.cmake.in.stamp"
"ament_cmake_core/hive_core_r2Config.cmake"
"ament_cmake_core/stamps/nameConfig-version.cmake.in.stamp"
"ament_cmake_core/hive_core_r2Config-version.cmake"
"ament_cmake_index/share/ament_index/resource_index/package_run_dependencies/hive_core_r2"
"ament_cmake_index/share/ament_index/resource_index/parent_prefix_path/hive_core_r2"
"ament_cmake_index/share/ament_index/resource_index/packages/hive_core_r2"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/uninstall.dir/DependInfo.cmake"
"CMakeFiles/hive_core_r2_uninstall.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,155 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.0
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake
# The command to remove a file.
RM = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all:
.PHONY : all
# The main recursive "codegen" target.
codegen:
.PHONY : codegen
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/uninstall.dir/clean
clean: CMakeFiles/hive_core_r2_uninstall.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/uninstall.dir
# All Build rule for target.
CMakeFiles/uninstall.dir/all: CMakeFiles/hive_core_r2_uninstall.dir/all
$(MAKE) $(MAKESILENT) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles --progress-num= "Built target uninstall"
.PHONY : CMakeFiles/uninstall.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/uninstall.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles 0
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/uninstall.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles 0
.PHONY : CMakeFiles/uninstall.dir/rule
# Convenience name for target.
uninstall: CMakeFiles/uninstall.dir/rule
.PHONY : uninstall
# codegen rule for target.
CMakeFiles/uninstall.dir/codegen: CMakeFiles/hive_core_r2_uninstall.dir/all
$(MAKE) $(MAKESILENT) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/codegen
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles --progress-num= "Finished codegen for target uninstall"
.PHONY : CMakeFiles/uninstall.dir/codegen
# clean rule for target.
CMakeFiles/uninstall.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/uninstall.dir/build.make CMakeFiles/uninstall.dir/clean
.PHONY : CMakeFiles/uninstall.dir/clean
#=============================================================================
# Target rules for target CMakeFiles/hive_core_r2_uninstall.dir
# All Build rule for target.
CMakeFiles/hive_core_r2_uninstall.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hive_core_r2_uninstall.dir/build.make CMakeFiles/hive_core_r2_uninstall.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/hive_core_r2_uninstall.dir/build.make CMakeFiles/hive_core_r2_uninstall.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles --progress-num= "Built target hive_core_r2_uninstall"
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/hive_core_r2_uninstall.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles 0
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/hive_core_r2_uninstall.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles 0
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/rule
# Convenience name for target.
hive_core_r2_uninstall: CMakeFiles/hive_core_r2_uninstall.dir/rule
.PHONY : hive_core_r2_uninstall
# codegen rule for target.
CMakeFiles/hive_core_r2_uninstall.dir/codegen:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hive_core_r2_uninstall.dir/build.make CMakeFiles/hive_core_r2_uninstall.dir/codegen
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles --progress-num= "Finished codegen for target hive_core_r2_uninstall"
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/codegen
# clean rule for target.
CMakeFiles/hive_core_r2_uninstall.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/hive_core_r2_uninstall.dir/build.make CMakeFiles/hive_core_r2_uninstall.dir/clean
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,9 @@
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/uninstall.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/hive_core_r2_uninstall.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/test.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/edit_cache.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/rebuild_cache.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/list_install_components.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/install.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/install/local.dir
/home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/install/strip.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1,22 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,90 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.0
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake
# The command to remove a file.
RM = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
# Utility rule file for hive_core_r2_uninstall.
# Include any custom commands dependencies for this target.
include CMakeFiles/hive_core_r2_uninstall.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/hive_core_r2_uninstall.dir/progress.make
CMakeFiles/hive_core_r2_uninstall:
/home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -P /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/ament_cmake_uninstall_target/ament_cmake_uninstall_target.cmake
CMakeFiles/hive_core_r2_uninstall.dir/codegen:
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/codegen
hive_core_r2_uninstall: CMakeFiles/hive_core_r2_uninstall
hive_core_r2_uninstall: CMakeFiles/hive_core_r2_uninstall.dir/build.make
.PHONY : hive_core_r2_uninstall
# Rule to build all files generated by this target.
CMakeFiles/hive_core_r2_uninstall.dir/build: hive_core_r2_uninstall
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/build
CMakeFiles/hive_core_r2_uninstall.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/hive_core_r2_uninstall.dir/cmake_clean.cmake
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/clean
CMakeFiles/hive_core_r2_uninstall.dir/depend:
cd /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/hive_core_r2_uninstall.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/hive_core_r2_uninstall.dir/depend

View File

@@ -0,0 +1,8 @@
file(REMOVE_RECURSE
"CMakeFiles/hive_core_r2_uninstall"
)
# Per-language clean rules from dependency scanning.
foreach(lang )
include(CMakeFiles/hive_core_r2_uninstall.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,2 @@
# Empty custom commands generated dependencies file for hive_core_r2_uninstall.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for custom commands dependencies management for hive_core_r2_uninstall.

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1,22 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,86 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.0
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake
# The command to remove a file.
RM = /home/hivecore/.local/lib/python3.10/site-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2
# Utility rule file for uninstall.
# Include any custom commands dependencies for this target.
include CMakeFiles/uninstall.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/uninstall.dir/progress.make
CMakeFiles/uninstall.dir/codegen:
.PHONY : CMakeFiles/uninstall.dir/codegen
uninstall: CMakeFiles/uninstall.dir/build.make
.PHONY : uninstall
# Rule to build all files generated by this target.
CMakeFiles/uninstall.dir/build: uninstall
.PHONY : CMakeFiles/uninstall.dir/build
CMakeFiles/uninstall.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/uninstall.dir/cmake_clean.cmake
.PHONY : CMakeFiles/uninstall.dir/clean
CMakeFiles/uninstall.dir/depend:
cd /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/src/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2 /home/hivecore/ros2_ws/softwaresystem/HiveCoreR2/build/hive_core_r2/CMakeFiles/uninstall.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/uninstall.dir/depend

View File

@@ -0,0 +1,5 @@
# Per-language clean rules from dependency scanning.
foreach(lang )
include(CMakeFiles/uninstall.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,2 @@
# Empty custom commands generated dependencies file for uninstall.
# This may be replaced when dependencies are built.

Some files were not shown because too many files have changed in this diff Show More