Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
子版块
原ROS 2相关问题
M
@root 我也遇到这个问题,这个好像如果直接使用了鱼香的一键下载ros2,那么rosdep就包括了,你可以试试使用下面两个命令进行配置: sudo rosdep init rosdep update 然后测试 ros2 run demo_nodes_cpp talker ros2 run demo_nodes_py listener 能运行起来应该没问题的
2
@2208735873 已解决,需在依赖中添加geometry_msgs add_executable(turtle_circle src/turtle_circle.cpp) ament_target_dependencies(turtle_circle rclcpp geometry_msgs) a8918bf5-65c4-47e1-a079-c72942a4134a-图片.png
1
@13402998086 请问,这个在哪里改啊,不是很懂
@2208735873 回去重新看了一下,python_node.py文件创建错了位置,应该在demo_python_pkg/demo_python_pkg文件下。 犯了很低级的错误
B
@小鱼我这样做机器人模型xacro还需要更改嘛?
尚无回复
小
@zhengquan 在 9.2.2 中说:
QinHeng Electronics USB 10/100 LAN
找到问题了,原来代码中的方法没有大写,错误的代码是这一行:substitutions_command_result = launch.substitutions.command(['cat ',launch.substitutions.LaunchConfiguration('model')]) 正确的需要将command大写首字母同时注意cat后面需要有一个空格: substitutions_command_result = launch.substitutions.Command(['cat ',launch.substitutions.LaunchConfiguration('model')])
@ahliusj 谢谢!🙏
@neoguo 应该是环境中没有中文字体之类的,可以先跳过
S
@小伊 您好,https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg 此仓库目前404找不着,请问还有别的仓库可用吗,感谢!
8
遇到了相同的问题,朋友你解决了吗?
@2573928130 解决: rviz中机器人模型用topic导入,不用file导入,之前是一直用file导入xacro文件一直报错