Closed jpiat closed 4 years ago
@jpiat did you clone it with the submodule from my fork of bipropellant API? I've removed the original Arduino dependencies in that fork.
I did but the submodule points to a tree that is using the Arduino code version when doing :
git submodule update --init --recursive
Hi Alex,
I have the same error as below:
[ 55%] Building CXX object hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/bipropellant/src/HoverboardAPI.cpp.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C In file included from /home/fmv/catkin_ws/src/hoverboard-driver/src/bipropellant/src/HoverboardAPI.cpp:5:0: /home/fmv/catkin_ws/src/hoverboard-driver/src/bipropellant/src/HoverboardAPI.h:4:10: fatal error: Stream.h: No such file or directory
^~~~~~~~~~
compilation terminated. hoverboard-driver/CMakeFiles/hoverboard_driver.dir/build.make:110: recipe for target 'hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/bipropellant/src/HoverboardAPI.cpp.o' failed make[2]: [hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/bipropellant/src/HoverboardAPI.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... In file included from /home/fmv/catkin_ws/src/hoverboard-driver/src/hoverboard.cpp:3:0: /home/fmv/catkin_ws/src/hoverboard-driver/src/bipropellant/src/HoverboardAPI.h:4:10: fatal error: Stream.h: No such file or directory
^~~~~~~~~~
compilation terminated. hoverboard-driver/CMakeFiles/hoverboard_driver.dir/build.make:62: recipe for target 'hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/hoverboard.cpp.o' failed make[2]: [hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/hoverboard.cpp.o] Error 1 CMakeFiles/Makefile2:458: recipe for target 'hoverboard-driver/CMakeFiles/hoverboard_driver.dir/all' failed make[1]: [hoverboard-driver/CMakeFiles/hoverboard_driver.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
I'm using Jetson Nano. What do you suggest?
Hey @buraksisman, have you cloned the repo with submodules?
git clone --recurse-submodules git@github.com:alex-makarov/hoverboard-driver.git
Hey @buraksisman, have you cloned the repo with submodules?
git clone --recurse-submodules git@github.com:alex-makarov/hoverboard-driver.git
Hi Alex, Thank you for your fast response.
I have this error now. Is it about compiler or what? What do you think?
[100%] Built target hoverboard_driver_gencfg
[100%] Built target odom_listener
[100%] Building CXX object hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/hoverboard.cpp.o
In file included from /opt/ros/melodic/include/ros/serialization.h:37:0,
from /opt/ros/melodic/include/ros/publisher.h:34,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/fmv/catkin_ws/src/hoverboard-driver/include/hoverboard_driver/hoverboard.h:1,
from /home/fmv/catkin_ws/src/hoverboard-driver/src/hoverboard.cpp:2:
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char ros::message_traits::MD5Sum^~~~~
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char ros::message_traits::DataType^~~
hoverboard-driver/CMakeFiles/hoverboard_driver.dir/build.make:62: recipe for target 'hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/hoverboard.cpp.o' failed
make[2]: [hoverboard-driver/CMakeFiles/hoverboard_driver.dir/src/hoverboard.cpp.o] Error 1
CMakeFiles/Makefile2:458: recipe for target 'hoverboard-driver/CMakeFiles/hoverboard_driver.dir/all' failed
make[1]: [hoverboard-driver/CMakeFiles/hoverboard_driver.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
It seems like you cannot build ROS packages with your system, as the compiler does not understand message_traits.
It seems like you cannot build ROS packages with your system, as the compiler does not understand message_traits.
Still no luck.
I'm using Jetson Nano. The operating system is Ubuntu 18.04.4 its. I installed ros-melodic-desktop-full.
I've stacked on this error.
@buraksisman I've just changed something, please try again.
@buraksisman I've just changed something, please try again.
Thank you very much.
Now it is built.
[100%] Built target hoverboard_driver
I am curious about what the problem was.
Wrong payload type for joint state messages. It shouldn’t have worked even on my machine, but for some reason worked and didn’t even produce any warnings. You can check the last commit.
On Thu 26. Mar 2020 at 23:09, buraksisman notifications@github.com wrote:
@buraksisman https://github.com/buraksisman I've just changed something, please try again.
Thank you very much.
Now is is built.
[100%] Built target hoverboard_driver
I am curious about what the problem was.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/alex-makarov/hoverboard-driver/issues/1#issuecomment-604712912, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEKATWQVNUWD42Z3LFLCA3RJPHAXANCNFSM4JF5HKUQ .
Hi,
trying to build the module and get :
fatal error: Stream.h: No such file or directory
any idea how to fix ? I played a bit with this code and this seemed to relate to Arduino code.