top of page

Software

Public·141 members

滨滨 黄
滨滨 黄

Reading and writing Bittle's joint angles on a MacBook

I trained a reinforcement learning model for my Bittle using Isaaclab. It can move around in a simulated physical world. I want to communicate with Bittle via my Mac, collect the angle of each joint as input to the trained policy model, obtain the joint angle at the next time step, and then send it to Bittle for execution. My question is, does Bittle provide this functionality (reading and writing joint angles)?

61 Views
Rongzhong Li
Rongzhong Li
5 days ago

When talking about reading joint angles, it may refer to:

  1. Extracting the angle from the memory. It should be exactly the same angle you sent previously. The currentAng[] array keeps all that data.

  2. Reading the actual angle from the servos because they could be moved by external force. You can find the corresponding code in OpenCatEsp32 for reading the servo feedback.

bottom of page