rosrun用法问题,后面文件不加后缀
复制代码
1
2
3
4
5
6$ rosrun chapter5_tutorials tf_broadcaster.cpp /home/lichunhong/Documents/src/effective_robotics_programming_with_ros-master/catkin_ws/src/chapter5_tutorials/src/tf_broadcaster.cpp : line 4: syntax error near unexpected token `(' /home/lichunhong/Documents/src/effective_robotics_programming_with_ros-master/catkin_ws/src/chapter5_tutorials/src/tf_broadcaster.cpp : line 4: `int main(int argc, char** argv){'
改写为:
复制代码
1
2$ rosrun chapter5_tutorials tf_broadcaster
最后
以上就是可爱石头最近收集整理的关于syntax error near unexpected token `('的全部内容,更多相关syntax内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复