Skip to content

Commit

Permalink
Add shudown method and revise ordering of board (#3044)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Jun 20, 2024
1 parent a9a60b5 commit 9fc983c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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.

0 comments on commit 9fc983c

Please sign in to comment.