Closed binxxx closed 6 years ago
Hi,
I've just modified somewhere in two CMake.txt
in both crazyflie_manager
and crazyflie_controller
. I thinks there might be something wrong you have to check.
In the CMake.txt
of crazyflie_manager
, add_dependencies
is missing. I think it should be like this.
add_dependencies(crazyflie_manager
crazyflie_driver_generate_messages_cpp)
In the CMake.txt
of crazyflie_controller
,
# Generate actions in the 'action' folder
add_action_files(
FILES
ExecuteTrajectory.action
)
should be commented out.
Thanks
One more issue is that there is some warnings came out. Looks like this:
In file included from /home/binx/crazyswarm/ros_ws/src/crazyflie_ros/crazyflie_driver/src/crazyflie_server.cpp:57:0:
/home/binx/crazyswarm/ros_ws/src/crazyflie_ros/externalDependencies/libobjecttracker/include/libobjecttracker/cloudlog.hpp: In member function ‘void libobjecttracker::PointCloudPlayer::play(libobjecttracker::ObjectTracker&) const’:
/home/binx/crazyswarm/ros_ws/src/crazyflie_ros/externalDependencies/libobjecttracker/include/libobjecttracker/cloudlog.hpp:103:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat=]
printf("\n %d ------------------------------\n", i);
^
/home/binx/crazyswarm/ros_ws/src/crazyflie_ros/externalDependencies/libobjecttracker/include/libobjecttracker/cloudlog.hpp: In member function ‘void libobjecttracker::PointCloudDebugger::convert(libobjecttracker::ObjectTracker&, std::vector<boost::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > >&)’:
/home/binx/crazyswarm/ros_ws/src/crazyflie_ros/externalDependencies/libobjecttracker/include/libobjecttracker/cloudlog.hpp:139:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat=]
printf("\n %d ------------------------------\n", i);
^
/home/binx/crazyswarm/ros_ws/src/crazyflie_ros/externalDependencies/libobjecttracker/include/libobjecttracker/cloudlog.hpp:152:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<libobjecttracker::Object>::size_type {aka long unsigned int}’ [-Wformat=]
printf("Object vector size: %d\n", objects.size());
I hope it would not be a big deal.
@binxxx I am trying to close dead issues. Are you still having any trouble related to this?
Hi Wolfgang,
Your work is really amazing. I have just followed the instructions as you said. But unexpected errors came out when I build in the workspace. The build errors are as follows. It is about the crazyflie_ros.
It seems like that the srv files in crazyflie_driver do not really converted to the header files which could be included in cpp.