Skip to content

Conversation

@k-okada
Copy link
Member

@k-okada k-okada commented Jul 30, 2025

updated version of #545

  • Ensure loop runs exactly every 150 ms for consistent timing
  • Use the same demo.launch file for both ROS and I2C modes
  • Added support for extra images (see: https://gist.github.com/k-okada/b3bea4afe08086af243bc1417d2bb3d5)
  • Added support for iris_zoom (controls iris and pupil reflex), upperlid_zoom, and extra_zoom.
  • Merge i2c-left and i2c-right into a single platform target for simplicity

Notes:

  • The script sends a reset signal to ESP32, so you need to restart roslaunch after running:
    python3 node_scripts/dual_serial_logger.py /dev/ttyACM0 /dev/ttyACM1 115200 --help
trim.141A132B-53AE-403B-A61E-656D5BD8D207.MOV

k-okada added 12 commits July 29, 2025 19:33
…setup_asset(std::string),by text, remove EyeManagerIO, which is no longer necessary
to visualize more images than outline/iris/pupil/reflex/upperlid use extra images

here is an example
```
  path_extra1: "/krmt_reflex_shine1.png"
  extra1_default_pos_x: 75
  extra1_default_pos_y: 75
  extra1_default_theta: 0
  extra1_position_x: [  0,  20, 40,  20,   0, -20, -40, -20]
  extra1_position_y: [ 40,  20,  0, -20, -40, -20,   0,  20]
  extra1_rotation_theta: [  0,  40,  80,  40,  0,  -40, -80, -40]
  path_extra2: "/krmt_reflex_heart.png"
  extra2_position_x: [  0,  20,   0, -20]
  extra2_position_y: [  0,  10,   0, -10]
  extra2_rotation_theta: [  0,  -40,  -80,  -40,  0,  40, 80, 40]
  extra2_default_pos_x: 75
  extra2_default_pos_y: 75
  extra2_default_theta: 0
```
…on oneline at a time, initialize eye with the first element of eye_asset_names
@k-okada k-okada changed the title fix to run loop exactry at 150 msec fix to run loop exactly at 150 msec Jul 30, 2025
k-okada and others added 2 commits July 31, 2025 13:51
…param_list.py` to provide a list of parameters, since rosserial_client does not support `param_list`.

- Added support for iris_zoom (controls iris and pupil reflex), upperlid_zoom, and extra_zoom.
@k-okada k-okada force-pushed the eye_display-i2c-dual branch from 23824b0 to de4a444 Compare August 3, 2025 07:50
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.

1 participant