Ask Your Question
0

std_msgs / MultiArrayDimention

asked 2016-04-25 07:27:07 -0500

Emilien gravatar image

hi, i try to convert sonor range to 2D data and i follow this tutorial to do it link text) i found this error:

/home/pi/catkin_ws/src/robot_setup_tf/src/sonarInjector.cpp:5:42: fatal error: std_msgs/MultiArrayDimention.h: No such file or directory
 #include "std_msgs/MultiArrayDimention.h"
                                          ^
compilation terminated.
robot_setup_tf/CMakeFiles/sonarInjector.dir/build.make:54: recipe for target 'robot_setup_tf/CMakeFiles/sonarInjector.dir/src/sonarInjector.cpp.o' failed
make[2]: *** [robot_setup_tf/CMakeFiles/sonarInjector.dir/src/sonarInjector.cpp.o] Error 1
CMakeFiles/Makefile2:2893: recipe for target 'robot_setup_tf/CMakeFiles/sonarInjector.dir/all' failed
make[1]: *** [robot_setup_tf/CMakeFiles/sonarInjector.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

Can you help me please to find the solution? thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-04-25 08:24:33 -0500

fsteinhardt gravatar image

There seems to be a typo in your include:
try MultiArrayDimension.h , you typed a 't' in Dimension.

edit flag offensive delete link more
1

answered 2016-04-25 08:24:43 -0500

gvdhoorn gravatar image
/home/pi/catkin_ws/src/robot_setup_tf/src/sonarInjector.cpp:5:42: fatal error: std_msgs/MultiArrayDimention.h: No such file or directory
 #include "std_msgs/MultiArrayDimention.h"

The message is called MultiArrayDimension (note the s).

edit flag offensive delete link more

Comments

thank you very much

Emilien gravatar image Emilien  ( 2016-04-25 09:40:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-25 07:27:07 -0500

Seen: 75 times

Last updated: Apr 25 '16