You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I'm in Ubuntu 20.04, ROS noetic.
I follow the steps in the ros/README to build the ROS package.
It seems that the SDK part is built ok, but an error arises error: ‘struct p_data_t’ has no member named ‘buf’ when ROS compilation starts:
...
95%] Building C object inertial-sense-sdk/ros/devel/CMakeFiles/InertialSenseSDK.dir/src/libusb/libusb/strerror.c.o
[ 95%] Building C object inertial-sense-sdk/ros/devel/CMakeFiles/InertialSenseSDK.dir/src/libusb/libusb/sync.c.o
[ 96%] Linking CXX static library /home/andreu/dev/workspaces/inertialsense_ws/devel/lib/libInertialSenseSDK.a
[ 96%] Built target InertialSenseSDK
Scanning dependencies of target inertial_sense_ros
[ 97%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/RtkRover.cpp.o
[ 98%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/RtkBase.cpp.o
[ 97%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/ParamHelper.cpp.o
[ 98%] Building CXX object inertial-sense-sdk/ros/CMakeFiles/inertial_sense_ros.dir/src/inertial_sense_ros.cpp.o
In file included from /home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/src/inertial_sense_ros.cpp:19:
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/src/inertial_sense_ros.cpp: In lambda function:
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/include/inertial_sense_ros.h:79:86: error: ‘struct p_data_t’ has no member named ‘buf’
79 | this->__cb_fun(DID, reinterpret_cast<__type *>(data->buf)); \
| ^~~
/home/andreu/dev/workspaces/inertialsense_ws/src/inertial-sense-sdk/ros/include/inertial_sense_ros.h:79:86: note: in definition of macro ‘SET_CALLBACK’
79 | this->__cb_fun(DID, reinterpret_cast<__type *>(data->buf)); \
...
Any idea ?
Thanks!
The text was updated successfully, but these errors were encountered:
@andreucm We have recently updated the ROS packages, including adding examples for ROS2. Can you confirm if this is still an issue? If not, I'd like to close this issue.
Hi ,
I'm in Ubuntu 20.04, ROS noetic.
I follow the steps in the ros/README to build the ROS package.
It seems that the SDK part is built ok, but an error arises
error: ‘struct p_data_t’ has no member named ‘buf’
when ROS compilation starts:Any idea ?
Thanks!
The text was updated successfully, but these errors were encountered: