Skip to content

Fix issue when fetching collision protection levels from Piper Arm#55

Open
giocappelletti wants to merge 1 commit into
Reimagine-Robotics:mainfrom
giocappelletti:feature/add_delay
Open

Fix issue when fetching collision protection levels from Piper Arm#55
giocappelletti wants to merge 1 commit into
Reimagine-Robotics:mainfrom
giocappelletti:feature/add_delay

Conversation

@giocappelletti

Copy link
Copy Markdown

Added a small delay between self.piper.ArmParamEnquiryAndConfig(0x02,0x00, 0x00, 0x00, 0x03) and self.piper.GetCrashProtectionLevelFeedback() to let piper_sdk thread update its internal variable __feedback_crash_protection_level in time, to avoid the first query to the collision protection levels being returned as all zeros.

… 0x00, 0x00, 0x00, 0x03) and self.piper.GetCrashProtectionLevelFeedback() to let piper_sdk thread update its internal variable __feedback_crash_protection_level in time, to avoid the first query to the collision protection levels being returned as all zeros
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