-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
bugSomething isn't workingSomething isn't workingtriageNeeds to be reviewed and assignedNeeds to be reviewed and assigned
Description
Hi every one, I am using Gopro Hero 12 Black. I tried to take the photo using the code. Before taking photo, I want to set the photo output to be RAW. This is mine to initialize the gopro setting:
async def init_gopro(self):
try:
console.print("[bold green]Connecting to GoPro...[/bold green]")
self.gopro = await WiredGoPro().__aenter__()
assert (await self.gopro.http_command.load_preset_group(
group=proto.EnumPresetGroup.PRESET_GROUP_ID_PHOTO)).ok
console.print("[bold cyan]GoPro ready for capturing photos[/bold cyan]")
await self.gopro.http_setting.photo_lens.set(constants.settings.PhotoLens.LINEAR)
console.print("[bold cyan]Gopro lens set up for Linear[/bold cyan]")
await asyncio.sleep(15)
# await self.gopro.http_setting.photo_output.set(constants.settings.PhotoOutput.STANDARD)
# console.print("[bold cyan]Gopro output is set up to standard[/bold cyan]")
# await asyncio.sleep(15)
except Exception as e:
self.get_logger().error(f"Failed to connect to GoPro: {e}")
After I run the code , i got this log :
Does anyone know about this and solve this issue? Thanks !
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageNeeds to be reviewed and assignedNeeds to be reviewed and assigned