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

Add shudown method and revise ordering of board #3044

Merged
merged 3 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/sdk_protos_map.csv
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ board,GetPWM,get_pwm,PWM,pWM
board,SetPWM,set_pwm,SetPWM,setPWM
board,PWMFrequency,get_pwm_frequency,PWMFreq,pWMFrequency
board,SetPWMFrequency,set_pwm_frequency,SetPWMFreq,setPWMFrequency
board,AnalogReaderNames,analog_names,AnalogNames,
board,ReadAnalogReader,analog_by_name,AnalogByName,readAnalogReader
## HACK: Omitting PySDK: write_analog, currently borked: https://python.viam.dev/autoapi/viam/components/board/client/index.html#viam.components.board.client.BoardClient.write_analog
board,WriteAnalog,,Write,writeAnalog
Expand All @@ -46,7 +47,6 @@ board,GetGeometries,get_geometries,,getGeometries
## HACK: Board (python, go) provides additional helper functions, adding 5 pseudo-entries:
board,Read,read,Read,
board,Value,value,Value,getDigitalInterruptValue
board,AnalogReaderNames,analog_names,AnalogNames,
board,DigitalInterruptNames,digital_interrupt_names,DigitalInterruptNames,
board,GPIOPinByName,gpio_pin_by_name,GPIOPinByName,
## HACK: No proto for these (and/or inherited in Go SDK), manually mapping:
Expand Down Expand Up @@ -436,5 +436,6 @@ robot,Options.with_api_key,with_api_key,,
robot,AtAddress,at_address,,
robot,WithChannel,with_channel,,
robot,Refresh,refresh,,
robot,Shutdown,shutdown,,
## HACK: No proto for close, manually mapping:
robot,Close,close,Close,
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Shutdown shuts down the machine.
Loading