Skip to content

Conversation

@santerioksanen
Copy link
Contributor

As I mentioned in #89, I couldn't build the base_controller with PlatformIO.

This PR:

  • Fixes base_controller build
  • Sets teensy40 as the default target
  • Adds a Github action to verify that base_controller is able to build
  • Adds a shell script to setup Raspberry

The change in diffbot_base/scripts/base_controller/lib/base_controller/base_controller.h I am not totally sure of, but with the change in place I am able to build and run the project.

@fjp
Copy link
Member

fjp commented Apr 2, 2024

Thanks @santerioksanen for fixing this and the new github workflow 👍

The compiler on Ubuntu 20.04 is actually warning about unsigned int:

image
https://www.youtube.com/watch?v=Mn6DY1tNUcU

The reason this might have been treated as a warning on Ubuntu 20.04 but now as an error on Ubuntu 22.04 could be due to differences in the compiler or compiler settings between the two Ubuntu versions. It's possible that the compiler in Ubuntu 22.04 is stricter about type mismatches and now treats them as errors by default, whereas the compiler in Ubuntu 20.04 may have been more lenient. Anyway it is good that your PR fixes this issue

Closes #89

@fjp fjp merged commit 8d4e432 into ros-mobile-robots:noetic-devel Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants