Skip to content

Conversation

@paulfersi
Copy link

@paulfersi paulfersi commented Dec 9, 2025

This PR fixes a build error caused by a mismatch between the current driver code and the latest Insta360 SDK API.

The SDK now defines:
bool SyncLocalTimeToCamera(uint64_t utc_time, uint32_t offset_time);

but the driver only passed a single argument, causing a compile-time failure.

This patch:

  • Passes both required arguments
  • Uses the current UNIX UTC time
  • Sets the offset to 0 for UTC by default
  • Fully restores compatibility with the latest SDK

Tested on:

  • Ubuntu 22.04
  • ROS2 Humble
  • Latest Insta360 SDK (downloaded on 8 dec 2025)

@simbaforrest
Copy link
Member

Thank you, @paulfersi
@Abanesjo can you do a quick review and merge the pull request after you confirm everything?

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