适配 ubuntu20.04 ros-galactic 编译运行环境#10
Open
julyfun wants to merge 4 commits into
Open
Conversation
Owner
|
我创建了一个新的 Galactic 分支,但是还需要你更改 github/workflows/ros_ci.yml 里的版本,否则 CI 会不通过 |
Author
|
@chenjunnn 已经修改 ci 配置和 create_subscription 用法 |
chenjunnn
requested changes
Apr 7, 2023
## tf2-geometry-msgs
```
tf2_geometry_msgs/tf2_geometry_msgs.hpp: 没有那个文件或目录
14 | #include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
在对应库下只有 tf2_geometry_msgs.h
```
## create_subscription 中的函数须为非引用传参
`gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0`
```
no match for ‘operator=’ (operand types are ‘rclcpp::Subscription<sensor_msgs::msg::Image_<std::allocator<void> > >::SharedPtr’ {aka ‘std::shared_ptr<rclcpp::Subscription<sensor_msgs::msg::Image_<std::allocator<void> > > >’} and ‘std::shared_ptr<rclcpp::Subscription<std::shared_ptr<const sensor_msgs::msg::Image_<std::allocator<void> > >, std::allocator<void>, rclcpp::message_memory_strategy::MessageMemoryStrategy<std::shared_ptr<const sensor_msgs::msg::Image_<std::allocator<void> > >, std::allocator<void> > > >’)
89 | std::bind(&ArmorDetectorNode::imageCallback, this, std::placeholders::_1));
```
cb2f240 to
88d45b7
Compare
Author
|
修改 cli 中的 ubuntu 版本和 push 目标分支 |
Owner
|
请修改processor中的clang-format报错: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tf2-geometry-msgs
create_subscription 中的函数须为非引用传参
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0