When I run catkin_make, it gives the following output:
Base path: /home/ben/workspaces/ROS/smf1
Source space: /home/ben/workspaces/ROS/smf1/src
Build space: /home/ben/workspaces/ROS/smf1/build
Devel space: /home/ben/workspaces/ROS/smf1/devel
Install space: /home/ben/workspaces/ROS/smf1/install
####
#### Running command: "make cmake_check_build_system" in "/home/ben/workspaces/ROS/smf1/build"
####
####
#### Running command: "make -j4 -l4" in "/home/ben/workspaces/ROS/smf1/build"
####
Built target smf1_gazebo_pkg_xacro_generated_to_devel_space_
I don't know what "smf1_gazebo_pkg_xacro_generated_to_devel_space_" is. I have a package called simply "smf1_gazebo_pkg". It uses xacro. catkin_make works fine in my other workspaces, and I don't see a difference in the CMakeLists.txt files. It doesn't seem to find any .xacro files or .gazebo files. The CMakeLists.txt file for the package smf1_gazebo_pkg is this:
cmake_minimum_required(VERSION 2.8.3)
project(mybot_description)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
rviz
tf
urdf
xacro
)
include_directories(
${catkin_INCLUDE_DIRS}
)
The CMakeLists.txt has the same thing for a sub package, but specifies its name, mybot_description. Here is what I get from running tree -L 3 ~/workspaces/ROS/smf1/src There should be files under urdf. That's where all the .xacro and .gazebo files are at. Also, the project runs. When I roslaunch the mybot_world.launch file, gazebo comes up and my robot appears. Changes don't reflect though, obviously. I'm getting really confussed.
├── CMakeLists.txt -> /opt/ros/kinetic/share/catkin/cmake/toplevel.cmake└── smf1_gazebo_pkg
├── CMakeLists.txt
├── include
│ └── smf1_gazebo_pkg
├── launch
│ └── mybot_world.launch
├── mybot_control
│ ├── CMakeLists.txt
│ ├── config
│ ├── launch
│ └── package.xml
├── mybot_description
│ ├── CMakeLists.txt
│ ├── package.xml
│ └── urdf
├── mybot.rviz
├── package.xml
├── src
└── worlds
└── mybot.world
Does anyone have any ideas about this? Thanks.
↧