Skip to content

Instantly share code, notes, and snippets.

**Copied from MicroROS slack thread**
**My Initial question**
Hi, my MicroROS project recently started to fail after I run clean.
If I restore it from a backup it compiles fine until i run clean/compile.I am running inside a container
that is based off of espressif/idf:v4.4.6 and my host OS is Ubuntu 22.04My docker def is here
https://github.com/gentijo/ROSMicroPy/blob/main/docker/Dockerfile.rbpyMy
[micro_ros_espidf_component](https://github.com/micro-ROS/micro_ros_espidf_component) is installed as a sub component
the version is from a previous version of Humble,
[895a1f8](https://github.com/micro-ROS/micro_ros_espidf_component/tree/895a1f8858481d0b39a0d76d5ee8ab4db932293f),
@gentijo
gentijo / gist:f751eb1b524de8744581fd2efaf7414b
Created September 2, 2023 20:39
Micropython variable sharing
#
# This version works, notice where ros_event_callbasck is declasred
#
from microros import readROSMsg, publishMsg, registerEventSubscription, init_event_queue
import machine
import utime
import _thread
import gc
Your environment is not configured to handle unicode filenames outside of ASCII range. Environment variable LC_ALL is temporary set to C.UTF-8 for unicode support.
Executing action: all (aliases: build)
Running ninja in directory /opt/microros_ws/bots/maqueen-esp32-obn1/build
Executing "ninja all"...
[0/1] Re-running CMake...
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /opt/microros_ws/bots/maqueen-esp32-obn1/sdkconfig
Loading defaults file /opt/microros_ws/bots/maqueen-esp32-obn1/sdkconfig.defaults...
@gentijo
gentijo / Dremio Dockerfile
Created January 22, 2022 00:53
Dremio container definition
#
# Copyright (C) 2017 Dremio Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
package net.mcreator.dadsminecraftmod.item;
import net.minecraftforge.registries.ObjectHolder;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.item.SwordItem;
import net.minecraft.item.ItemStack;
[21Nov2021 19:15:06.633] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 36.2.0, --assetIndex, 1.16, --assetsDir, /home/gentijo/.mcreator/gradle/caches/forge_gradle/assets, --version, MOD_DEV, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[21Nov2021 19:15:06.636] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_312 by Temurin
[21Nov2021 19:15:06.843] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[21Nov2021 19:15:06.883] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/home/gentijo/.mcreator/gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.2/1cf212283d26f706fd3074318870bebd14d2a9ed/mixin-0.8.2.jar Service=ModLaun