Closed jerabaul29 closed 2 years ago
If anyone has the same problem: for now, I just downgraded to the commit b010e7f01cdb56b1047ba073862175a922dff08d corresponding to the release 0.0.2. This allows to compile successfully - though I would of course prefer to use master and that it would work :) .
Thanks @jerabaul29, it may be a problem in our master branch, we are going to investigate, thanks!
:)
PS: if there was a possibility that you could provide a version of the software that does all memory allocation statically at the creation of the interface class instance that would be great :) .
Being curious: do you know of anybody else having had similar problems before?
- I added to my project with:
We only support for now Arduino package manager, please install the library with it, the instructions are here: https://github.com/bluerobotics/ping-arduino#arduino-library-installation
I have just installed and it's working without problems.
Ok. I am able to install, just not with the latest commit: I checked out the same commit version that was used for the Arduino release. But I wonder if this means that some fixes etc that have been applied since then are not included in the code that is used then.
Hi @patrickelectric,
I'm getting errors building the project, there are some name changes after the commit 64bdd052b02759ae5a39c505771f97103490a0df,
For example, b15875b1254e5a4b5c7371dc1d1e226c20c00aba this commit renames some functions in some source and header files, but does not rename it in pingmessage_ping1D.h autogenerated file. There might be a problem with the autogeneration script.
As an example, in the function set_gain_setting
ping_msg_ping1D_set_gain_setting
type is used, but the project does not even contain any file that contains this keyword. In the pingmessage_ping1D.h file, L525, the name is ping_msg_ping1D_set_gain_index
, which is unchanged.
The problem is not due to PlatformIO, also the Arduino IDE fails to build, also as seen the CI tool fails after that commit which the renames occured.
I solved the problem by correctly renaming the failing variables, but I cannot open a pull request since this edit will not fix your autogeneration script and will fail on the next update.
Renaming is always a trouble isn't it ? :)
Thanks.
I am trying to use this code in a platformio project but I get many compilation errors.
git submodule add git@github.com:bluerobotics/ping-arduino.git
But I get many compilation errors:
Any idea what the problem is? After inspecting the code, it does look like the code is broken. Should I use a specific commit or something like that?