(self, ramp_rate: float)
Send a set ramp rate command
Send a set ramp rate command
Send a set ramp rate command
async def set_ramp_rate(self, ramp_rate: float) -> None:
        """Send a set ramp rate command"""
        c = (
            CommandBuilder(terminator=TC_COMMAND_TERMINATOR)
            .add_gcode(gcode=GCODE.SET_RAMP_RATE)
            .add_float(
                prefix="S", value=ramp_rate, precision=utils.TC_GCODE_ROUNDING_PRECISION
            )
        )
        await self._connection.send_command(command=c, retries=DEFAULT_COMMAND_RETRIES)
async def set_ramp_rate ( self , ramp_rate : float ) -> None : c = ( CommandBuilder ( terminator = TC_COMMAND_TERMINATOR ) . add_gcode ( gcode = GCODE . SET_RAMP_RATE ) . add_float ( prefix = "S" , value = ramp_rate , precision = utils . TC_GCODE_ROUNDING_PRECISION ) ) await self . _connection . send_command ( command = c , retries = DEFAULT_COMMAND_RETRIES )