ubuntu 18.04 ROS melodic 尝试 ROS CANOPEN 控制 AGV

本文档详细记录了在Ubuntu 18.04上安装ROS Melodic以及使用ROS CANOPEN来控制自动导引车(AGV)的步骤。首先,通过git下载roscanopen源码,接着安装必要的库libmuparser-dev,并使用catkin_make构建工作空间。最后,展示了安装和构建过程中的一些关键命令及其输出,确保所有依赖项已正确安装并成功编译。
摘要由CSDN通过智能技术生成

官方说明:The current develop branch is melodic-devel, it targets ROS melodic. Needs C++14 compiler. The released version gets synced over to the distro branch for each release.

尝试ros canopen步骤:
1,  git 下载roscanopen源码到~/catkin_ws/src/
2,$ sudo apt-get install libmuparser-dev
3,   $ cd ~/catkin_ws
      $ catkin_make

*****************************************************************

 

uu@uu-HP-EliteBook-6930P-Notebook-PC:~/catkin_ws$ sudo apt-get install  libmuparser
libmuparser2v5     libmuparser-doc    libmuparserx-dev   
libmuparser-dev    libmuparserx4.0.7  
uu@uu-HP-EliteBook-6930P-Notebook-PC:~/catkin_ws$ sudo apt-get install  libmuparser-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  libmuparser-dev
0 to upgrade, 1 to newly install, 0 to remove and 14 not to upgrade.
Need to get 19.2 kB of archives.
After this operation, 133 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 libmuparser-dev amd64 2.2.3-6 [19.2 kB]
Fetched 19.2 kB in 1s (19.2 kB/s)          
Selecting previously unselected package libmuparser-dev.
(Reading database ... 278033 files and directories currently installed.)
Preparing to unpack .../libmuparser-dev_2.2.3-6_amd64.deb ...
Unpacking libmuparser-dev (2.2.3-6) ...
Setting up libmuparser-dev (2.2.3-6) ...
uu@uu-HP-EliteBook-6930P-Notebook-PC:~/catkin_ws$ catkin_make
Base path: /home/uu/catkin_ws
Source space: /home/uu/catkin_ws/src
Build space: /home/uu/catkin_ws/build
Devel space: /home/uu/catkin_ws/devel
Install space: /home/uu/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/uu/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/uu/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/uu/catkin_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/uu/catkin_ws/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.15", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/uu/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.15")
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 23 packages in topological order:
-- ~~  - arbotix (metapackage)
-- ~~  - arbotix_controllers
-- ~~  - arbotix_firmware
-- ~~  - arbotix_python
-- ~~  - arbotix_sensors
-- ~~  - rbx1 (metapackage)
-- ~~  - ros_canopen (metapackage)
-- ~~  - socketcan_interface
-- ~~  - canopen_master
-- ~~  - canopen_402
-- ~~  - arbotix_msgs
-- ~~  - can_msgs
-- ~~  - beginner_tutorials
-- ~~  - rbx1_speech
-- ~~  - canopen_chain_node
-- ~~  - socketcan_bridge
-- ~~  - rbx1_bringup
-- ~~  - rbx1_dynamixels
-- ~~  - rbx1_vision
-- ~~  - rbx1_apps
-- ~~  - rbx1_nav
-- ~~  - canopen_motor_node
-- ~~  - rbx1_description
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'arbotix'
-- ==> add_subdirectory(arbotix_ros/arbotix)
-- +++ processing catkin package: 'arbotix_controllers'
-- ==> add_subdirectory(arbotix_ros/arbotix_controllers)
-- +++ processing catkin package: 'arbotix_firmware'
-- ==> add_subdirectory(arbotix_ros/arbotix_firmware)
-- +++ processing catkin package: 'arbotix_python'
-- ==> add_subdirectory(arbotix_ros/arbotix_python)
-- +++ processing catkin package: 'arbotix_sensors'
-- ==> add_subdirectory(arbotix_ros/arbotix_sensors)
-- +++ processing catkin metapackage: 'rbx1'
-- ==> add_subdirectory(rbx1/rbx1)
-- ++

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值