We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f93cff + ecc63e7 commit 221720dCopy full SHA for 221720d
eye_display/include/eye.hpp
@@ -186,6 +186,8 @@ void EyeManager::load_eye_images()
186
const char *path_jpg_reflex = current_eye_asset.path_reflex.c_str();
187
const char *path_jpg_upperlid = current_eye_asset.path_upperlid.c_str();
188
189
+ lcd.setRotation(current_eye_asset.direction);
190
+
191
if (path_jpg_outline != NULL) {
192
sprite_outline.fillScreen(TFT_WHITE);
193
if (not draw_image_file(sprite_outline, path_jpg_outline)) {
eye_display/include/ros_lib.h
@@ -57,6 +57,8 @@ void setup_asset(EyeManager& eye)
57
nh.spinOnce();
58
delay(1000);
59
}
60
+ delay(500); // wait 0.5 sec before reading asset
61
+ nh.loginfo("Setup eye asset");
62
63
bool mode_right;
64
int direction = 1;
0 commit comments