Closed elector102 closed 4 years ago
I am sure that tI am doing something wrong, if I try to make it work like original, I have this line. That when I tried to compile, it fails. it is because it is an Arduino library and the compiler can't found it(catkin)
Hey @elector102 , I believe when you clone the repo with subfolders
git clone --recurse-submodules git@github.com:alex-makarov/hoverboard-driver.git
you should get the right version of the protocol cloned with it.
Yes, I am doing that, exactly how do you say:
And when I tried to compile I have the following:
that is weird because it is asking for an Arduino library.
@elector102 You are right, the submodule was pointing to the wrong commit. Fixed it, please pull and rebuild.
Thanks, now it works!! sorry for the delay, I burned some boards in the middle, haha. Clearly, I am doing something wrong, I am loading this firmware to the board and trying to connect to any of the serial port(left sensor board and right sensor board). but I don't have any responses, Just in case, I am only downloading the firmware and flashing the hoverboard, without any modification. where is the default serial port of this board, and the speed is at 115200? sorry for this questions.
Hey @elector102 , if I remember correctly I'm using the default config with the only setting:
define CONTROL_TYPE USART2_CONTROLLED
Great! thanks, @alex-makarov ! yea, you need to upload the firmware using an environment variable during the compilation to select the serial communication. I hope in the future collaborate with your project.
First, it is a great project! and congrats! a great job!. I ham having problems while I am trying to read the serial communication, using your node, one thing that I realize is that this node has a different version of hbprotocol, I am using this repo that have the version hbprotocol @ 6f9d1bd, and your repo uses that version: bipropellant @ 38f9384. it could cause some issues? in advantage! thank you very much.