PerceptIn / IRONSIDES

PerceptIn Ironsides SDK
11 stars 10 forks source link

Issues when deploying IRONSIDES inside ROS Kinetic #15

Open barralon opened 3 years ago

barralon commented 3 years ago

Dear contributors,

I have since several year a Perceptin Ironsides device I never used. Recently I wanted to evaluate it and started to install it into ROS, but without sucess.

I have followed the procedure described in the README.md file.

Create a ROS Workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source ~/catkin_ws/devel/setup.bash
Import and make our code
place pirvs_ros folder in ~/catkin_ws/src
run init python script to import PIRVS SDK
cd ~/catkin_ws/src/pirvs_ros/init
python pirvs_ros_init.py [PIRVS SDK folder] [calib_raw JSON] [calib_rectified JSON]
cd ~/catkin_ws
catkin_make

However it fails when running init python script to import PIRVS SDK

/catkin_ws/src/IRONSIDES/src/slam_node.cpp:33:29: fatal error: pirvs_ironsides.h: No such file or directory 
compilation terminated.
IRONSIDES/CMakeFiles/slam_node.dir/build.make:62: recipe for target 'IRONSIDES/CMakeFiles/slam_node.dir/src/slam_node.cpp.o' failed
make[2]: *** [IRONSIDES/CMakeFiles/slam_node.dir/src/slam_node.cpp.o] Error 1
CMakeFiles/Makefile2:840: recipe for target 'IRONSIDES/CMakeFiles/slam_node.dir/all' failed
make[1]: *** [IRONSIDES/CMakeFiles/slam_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

Also

$catkin_make
Base path: /catkin_ws
Source space: /catkin_ws/src
Build space: /catkin_ws/build
Devel space: /catkin_ws/devel
Install space: /catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/catkin_ws/build"
####
[ 16%] Building CXX object IRONSIDES/CMakeFiles/slam_node.dir/src/slam_node.cpp.o
/catkin_ws/src/IRONSIDES/src/slam_node.cpp: In function ‘void CreateMapPointCloudMsg(sensor_msgs::PointCloud*, std::shared_ptr<PIRVS::Map>, ros::Time)’:
/home/pierre/catkin_ws/src/IRONSIDES/src/slam_node.cpp:89:15: error: ‘Point3d’ is not a member of ‘PIRVS’
   std::vector<PIRVS::Point3d> map_points;

It seems that the IRONSIDES program and PIRVS_SDK are not compatible.

Can you help me on this topic?

Best regards.

pky404 commented 3 years ago

Is this solved? Couldn't find the PIRVS_SDK mentioned on ros wiki also.

barralon commented 3 years ago

No news, therefore not solved so far.