Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ladislas/feature/robotkit #327

Merged
merged 8 commits into from
Oct 10, 2023
Merged

ladislas/feature/robotkit #327

merged 8 commits into from
Oct 10, 2023

Conversation

ladislas
Copy link
Member

  • 🔥 (RobotKit): Example app - Start again with wire frame
  • ✨ (RobotKitExample): Add Robot Control views
  • ✨ (RobotKitExample): Implement connected robot information view + vm
  • ✨ (RobotKit): Add Magic Cards + tests
  • ✨ (RobotKit): Add first (empty) implementation of Robot class

@ladislas ladislas self-assigned this Sep 25, 2023
@ladislas ladislas force-pushed the ladislas/feature/robotkit branch from 3da15ce to 642b9ad Compare September 27, 2023 09:43
Copy link
Contributor

@HPezz HPezz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work ! LGTM except some questions to answers, especially around the Robot enums that need to be uniform with GameEngineKit.

Comment on lines 9 to 23
public enum Lights {
case full
case halfLeft
case halfRight
case quarterFrontLeft
case quarterFrontRight
case quarterBackLeft
case quarterBackRight

case range(start: Int, end: Int)
case spot(ids: [Int])

}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add leftEar and rightEar and, if needed, bothEars to the Lights enum

Modules/RobotKit/Sources/Robot+Motion.swift Show resolved Hide resolved
Modules/RobotKit/Sources/Robot.swift Show resolved Hide resolved
@ladislas ladislas force-pushed the ladislas/feature/robotkit branch 3 times, most recently from 88d865f to 0f418f2 Compare October 6, 2023 14:02
@ladislas ladislas force-pushed the ladislas/feature/robotkit branch from 0f418f2 to 44a4f9e Compare October 9, 2023 10:52
This commit defines the public interface of the Robot class

Methods don't do anything except from printing to the console. Detailed
implementation will follow
- replace by hand made
- add preview to RobotControlActionButton
- remove print from RobotControlActionButton
@ladislas ladislas force-pushed the ladislas/feature/robotkit branch from 44a4f9e to b7e3b60 Compare October 10, 2023 08:15
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 62 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ladislas ladislas merged commit e51b7ae into main Oct 10, 2023
4 of 6 checks passed
@ladislas ladislas deleted the ladislas/feature/robotkit branch October 10, 2023 09:35
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.

2 participants