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

[✨FEAT✨]: Autonomous system status node #46

Open
1 task done
csprono opened this issue May 15, 2023 · 2 comments · May be fixed by #49
Open
1 task done

[✨FEAT✨]: Autonomous system status node #46

csprono opened this issue May 15, 2023 · 2 comments · May be fixed by #49
Assignees
Labels
enhancement New feature or request

Comments

@csprono
Copy link
Contributor

csprono commented May 15, 2023

Is there an existing enhancement request for this?

  • I have searched the existing feature requests

Description

A node that performs checks and provides a status indication based off the checks.

Use figure 17 from T14 2023 FSG rulebook

Additional Information

No response

@csprono csprono added the enhancement New feature or request label May 15, 2023
@csprono csprono self-assigned this May 15, 2023
@csprono csprono moved this from Todo to Planning be happening in Autonomous tasks May 15, 2023
@csprono
Copy link
Contributor Author

csprono commented May 22, 2023

State machine framework

State machine states (status code)

  • AS off (4)
    • no ebs
    • mission selected AND ASMS on AND ASB ok AND TS active
    • no r2d
    • no brakes
  • AS ready (2)
    • no ebs
    • mission selected AND ASMS on AND ASB ok AND TS active
    • r2d
    • brakes
  • AS driving (3)
    • no ebs
    • mission selected AND ASMS on AND ASB ok AND TS active
    • r2d
  • AS emergency (1)
    • EBS
    • Mission not finished AND vehicle stopped
  • AS finished (0)
    • EBS
    • mission finished AND vehicle stopped

state machine graph

TBC

Boolean Checks

  • EBS
    • active if power supply is cut after passing initial checkup sequences
  • Mission selected
  • ASMS (autonomous system master switch)
  • ASB (autonomous system brake)
    • when checking need to ensure able to build up brake pressure
  • TS (tractive system)
    • engine running & gearbox neutral
  • R2D (ready to drive)
    • engine running & in gear
  • Brakes engaged
  • Mission finished
  • Vehicle stopped

Messages Used

  • Input topics = TBC

  • Ackermann

    • to determine if car is stopped
      • zero speed & zero acceleration
  • Read from event controller

    • Mission selected
    • Mission finished
  • Read from CAN

    • ASMS
    • ASB

Output

  • status code to ASSI (autonomous system status indicator)
  • topic = as_status

@csprono csprono linked a pull request May 24, 2023 that will close this issue
15 tasks
@csprono
Copy link
Contributor Author

csprono commented May 29, 2023

send CAN msg to motec confirming transition. MOTEC will send if hardware is in drivable state

@csprono csprono moved this from Planning be happening to Coding be happening in Autonomous tasks Jun 21, 2023
@csprono csprono moved this from Coding be happening to Pull request needing approval in Autonomous tasks Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Pull request needing approval
Development

Successfully merging a pull request may close this issue.

1 participant